Asterisk with tow network card

Discussion in 'General' started by orfeox, Jan 20, 2010.

  1. orfeox

    Joined:
    Jan 29, 2009
    Messages:
    7
    Likes Received:
    0
    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
     
  2. garfield81

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

Share This Page