Asterisk with tow network card

orfeox

Joined
Jan 29, 2009
Messages
7
Likes
0
Points
0
#1
Hi partners,

I just want to know, if I can to make a peer go to specific device, ex:
[peer1]
type=peer
insecure=very
host=64.233.169.103
fromhost=64.233.169.103
disallow=all
allow=g729
nat=yes
quality=yes

[peer2]
type=peer
insecure=very
host=209.131.36.159
fromhost=209.131.36.159
disallow=all
allow=g729
nat=yes
quality=yes

All traffic from the peer1 incoming/outgoing go through eth0, and All traffic from the peer2 incoming/outgoing go through eth1
 

garfield81

Joined
Jan 22, 2010
Messages
49
Likes
0
Points
0
#2
You might want to try creating a route for 209.131.36.159 through eth1 using the route command in centos.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,594
Latest member
knethardsolutions
Top