[Asterisk-Users] Asterisk SIP between two networks

Sergio Serrano sergio.serrano at avanzada7.com
Wed Sep 1 15:27:34 MST 2004


I just use localnet parameter in next way:
localnet=192.168.20.0/255.255.255.0
localnet=172.28.240.0/255.255.240.0

Any idea more?

Regards,
srsergio

-----Mensaje original-----
De: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] En nombre de Kevin
Walsh
Enviado el: miércoles, 01 de septiembre de 2004 19:16
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: RE: [Asterisk-Users] Asterisk SIP between two networks


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
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

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




More information about the asterisk-users mailing list