Hi Massilmiano, my understanding was that -ip-addr only affects the IP addresses that is displayed in SIP signaling not the actual physical bindings, but I might be wrong. Benny writes: -ip-addr=IP Use the specifed address as SIP and RTP addresses. The IP address does not have to correspond with local interface, e.g. it may be the public IP of the NAT/router I need to control which interface is used both for outgoing and incoming packets. BR/Olle _____ From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Massimiliano Montevecchi Sent: den 30 september 2008 16:49 To: pjsip at lists.pjsip.org Subject: Re: Bind PJSUA to a specific interface [Montevecchi] Hi Olle If you have multiple interfaces can you bind an instance of PJSUA to a specific interface? [Montevecchi] Yes you can, as you can read at the pjsua application help page ( <http://www.pjsip.org/pjsua.htm> http://www.pjsip.org/pjsua.htm) In my case I have a LAN conenction and a 3G modem connection and I want to bind one PJSUA to the LAN interface and another to the 3G modem. [Montevecchi] You can specify directly the IP address of the interface using the --ip-addr option, i.e.: --ip-addr=10.18.1.53 Bye Massimiliano -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080930/9603a48c/attachment.html>