The internal.xml also has an "ext-rtp-ip" variable and in trying to understand what this is for (my version of fs is <1) I noticed in trunks conf file it is explained. So the available options that I have given my setup is multihomed with a lan/wan setup where the wan interface is dynamic would be a fqdn for fs to lookup, or auto/auto-nat. How exactly does auto and auto-nat work so I may know of its going to work properly/reliably in my scenario. Thanks! jlc
auto-nat tries to use upnp/nat-pmp to figure it out... auto will just put your IP in there. The other values can be stun:host or an IP. The docs in trunk show this now... its really simple to understand but you should NEVER have to set that unless you have a nat scenario that requires you to lie about your IP and such to traverse the nat. /b On Nov 5, 2009, at 4:54 PM, Joseph L. Casale wrote:
The internal.xml also has an "ext-rtp-ip" variable and in trying to understand what this is for (my version of fs is <1) I noticed in trunks conf file it is explained. So the available options that I have given my setup is multihomed with a lan/wan setup where the wan interface is dynamic would be a fqdn for fs to lookup, or auto/auto-nat.
How exactly does auto and auto-nat work so I may know of its going to work properly/reliably in my scenario.
Thanks! jlc
auto-nat tries to use upnp/nat-pmp to figure it out... auto will just put your IP in there.
The other values can be stun:host or an IP.
The docs in trunk show this now... its really simple to understand but you should NEVER have to set that unless you have a nat scenario that requires you to lie about your IP and such to traverse the nat.
Thanks for the fast reply Brian, so bear with me here... I am just about to go live w/ my first fs box as I move away from a year or two with Asterisk. So I don't have upnp/nat-pmp, I guess "auto" would be my next choice, but if the box is multihomed, how does it decide which of the two (well more as I am going to use vlans) ip's to stick in there? I guess I could use a public stun server, but if there is a self contained way for me to handle it, I would rather do that so that I don't have to worry about someone else's stun server being up so my fs box functions. Thanks! jlc
If you're on a public IP you have no need for ext-rtp-ip or ext-sip-ip REMOVE them. If your multi homed then you'll need to set them.. we don't listen on 0.0.0.0 you'll have to start a profile for each IP you wish to listen on. /b On Nov 5, 2009, at 5:20 PM, Joseph L. Casale wrote:
Thanks for the fast reply Brian, so bear with me here... I am just about to go live w/ my first fs box as I move away from a year or two with Asterisk.
So I don't have upnp/nat-pmp, I guess "auto" would be my next choice, but if the box is multihomed, how does it decide which of the two (well more as I am going to use vlans) ip's to stick in there?
I guess I could use a public stun server, but if there is a self contained way for me to handle it, I would rather do that so that I don't have to worry about someone else's stun server being up so my fs box functions.
Thanks! jlc
If you're on a public IP you have no need for ext-rtp-ip or ext-sip-ip REMOVE them. If your multi homed then you'll need to set them.. we don't listen on 0.0.0.0 you'll have to start a profile for each IP you wish to listen on.
I am multihomed, and the wan nic is dynamic. Is there any way for me to control how it guesses the IP of a `specific` interface without the use of a third party (stun etc). Thanks, jlc
Just use ${local_ip_v4} then. and enable auto-restart on the sofia.conf.xml /b On Nov 5, 2009, at 5:45 PM, Joseph L. Casale wrote:
I am multihomed, and the wan nic is dynamic. Is there any way for me to control how it guesses the IP of a `specific` interface without the use of a third party (stun etc).
Thanks, jlc
Just use ${local_ip_v4} then.
and enable auto-restart on the sofia.conf.xml
Cool, it seems to always use the public ip, quite reliably. That is what I am after (why), is there something in the code that forces it to favor for example, non RFC 1918 addresses? It works, I just want to understand exactly how and why rather than be oblivious:) Thanks for all the advice! jlc
participants (2)
-
Brian West
-
Joseph L. Casale