[Asterisk-Users] Asterisk SIP between two networks

Kevin Walsh kevin at cursor.biz
Wed Sep 1 10:16:28 MST 2004


Sergio Serrano [sergio.serrano at avanzada7.com] wrote:
> SIP Provider<--------------->ADSL router<---localnet 192.168.20.0--->ASTERISK<---localnet 172.24.240.0--->softphones
> 
> first localnet 192.168.20.0
> second localnet 172.28.240.0
> in second localnet we have softphone and the first localnet is
> connected to ADSL router to connect to our SIP provider.
> 
> if I put in [general] section in sip.conf, bindaddr=0.0.0.0, I
> can't register in my SIP provider. If I put 192.168.20.10 in bindaddr I
> can register in my SIP provider but softphones can't register into
> asterisk. I 'm using asterisk RC1.
> 
You probably need to use the "localnet" setting in sip.conf.  See here
for more sip.conf-related information:

    http://www.voip-info.org/wiki-Asterisk+config+sip.conf

On the other hand, you could use an IAX2 provider and side-step the
issue altogether.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/




More information about the asterisk-users mailing list