Hi all,
        I'm desperate,
        if I put bindaddr=192.168.20.10, I obtain the next:

Sip read: 
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.20.10:5060;branch=z9hG4bK2174f136
From: <sip:[EMAIL PROTECTED]>;tag=as05db6abc
To:
<sip:[EMAIL PROTECTED]>;tag=84448f3c7053227cca70775302748de3.a866

Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER

WWW-Authenticate: Digest realm="voztele.com",
nonce="41365c4cf9c69cc73a429f27813652ded65fc483"
Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux))
Content-Length: 0

But If i put bindaddr=0.0.0.0, I obtain yhe next:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.20.10:5060;branch=z9hG4bK54679e05
From: <sip:[EMAIL PROTECTED]>;tag=as294baf04
To:
<sip:[EMAIL PROTECTED]>;tag=84448f3c7053227cca70775302748de3.e5c8

Call-ID: [EMAIL PROTECTED]: 103 REGISTER

WWW-Authenticate: Digest realm="voztele.com",
nonce="41365cfc1947f24b5cd03bb5bca062540243dc39"
Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux))
Content-Length: 0

It is a bug? Why if I put bindaddr=0.0.0.0 packet received by asterisk
is broken?

Could anyone help me?

Regards,
srsergio

-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Sergio
Serrano
Enviado el: jueves, 02 de septiembre de 2004 0:28
Para: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Asunto: RE: [Asterisk-Users] Asterisk SIP between two networks


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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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
 _/ _/    _/          _/ _/     _/    _/  _/_/    [EMAIL PROTECTED]
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/

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

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

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

Reply via email to