Jeff LaCoursiere <[email protected]> writes:

> Ah, that makes more sense.  Asterisk binding to another IP is not the 
> issue, actually, and even running another instance will not do what you 
> need.  Your problem is that the OS itself will stamp outbound packets 
> with the main source IP of the main interface.  Asterisk could be modified 
> to send packets with specific IP source, but I don't think that would be a 
> simple change.

ip route add default via 1.2.3.4 src 1.2.3.8
ip route add 9.8.7.6 via 1.2.3.4 src 1.2.3.9

If the special SIP provider is 9.8.7.6, this should make the packets
to it comes from 1.2.3.9. This only applies if the application does
not pick a source address itself, but I believe that is true for
Asterisk.


/Benny


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to