Hi,

Thanks to Julian, my internal/external Nat problem is solved.

For anyone else working from outdated example files, the format with
localnet and localmask on separate lines is no longer supported.
The localnet line must also have the netmask included as per Julian's
example below or it will be ignored (or at least not work as expected).

Robert.


> -----Original Message-----
> From: Julian J. M. 
> Sent: 23 July 2006 10:54
> Subject: Re: [asterisk-users] NAT and externip problem or bug
> 
> 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 <[EMAIL PROTECTED]> 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 
> > [EMAIL PROTECTED] - 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 
> > [EMAIL PROTECTED] and I get two-way speech.
> 

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to