[asterisk-users] NAT and externip problem or bug
Julian J. M.
julianjm at gmail.com
Sun Jul 23 02:53:37 MST 2006
Why don't you use the syntax that I mentioned in my first reply?
According to http://www.voip-info.org/wiki/index.php?page=Asterisk+SIP+localnet
The correct syntax is:
localnet=192.168.0.0/255.255.255.0
Keyword localmask is deprecated in asterisk 1.2... And btw, you should
have seen it in the logs. According to chan_sip.c, around line 12508:
} else if (!strcasecmp(v->name, "localmask")) {
ast_log(LOG_WARNING, "Use of localmask is no
long supported -- use localnet with mask syntax\n");
}
Julian J. M.
On 7/22/06, Robert Jenkins <raj at jrw.co.uk> wrote:
> The simple thing is that if I have 'externip' set, I can see on a soft phone
> (running on a PC on the same local subnet as asterisk) that it's seeing a
> call from another local device as coming from 2001 at 212.xx.xx.xx - which is
> the external IP and as everything is inside the firewall there is no audio
> from the soft phone when the call answered.
>
> If I comment out the 'externip' line & restart asterisk, the soft phone then
> correctly sees the local call as being from 2001 at 192.168.0.xx and I get
> two-way speech.
More information about the asterisk-users
mailing list