[Asterisk-Users] Asterisk SIP between two networks

Sergio Serrano sergio.serrano at avanzada7.com
Wed Sep 1 09:19:55 MST 2004


Hi,
	I have any information more, I have noticed that asterisk
receives 401 Unauthorized message but If I do a sip denbug I can read
next:

Sip read: 
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.20.10:5060;branch=z9hG4bK6a231e4d
From: <sip:3400001792 at voztele.com>;tag=as0f12fef4
To:
<sip:3400001792 at voztele.com>;tag=84448f3c7053227cca70775302748de3.a036
Call-ID: 333ab105721da3172443a8582d1d5ae9 at 192.168.20.10eq: 122 REGISTER
WWW-Authenticate: Digest realm="voztele.com",
nonce="4135f73170422e2f6d1bd01c77eca25260de8f4b"
Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux))
Content-Length: 0

If you can see next line Call-ID:
333ab105721da3172443a8582d1d5ae9 at 192.168.20.10eq: 122 REGISTER, Cseq
field is incompleted. How it is possible?. If I put asterisk in only one
localnet with bindaddr=192.168.20.10 I haven't the problem, but If I put
asterisk in two localnet with bindaddr=0.0.0.0 I obtain this command.

	Any idea? Please, I need help


Regards,

srsergio


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


Hi all, 

	I have any information more. I have configured sip.conf with
bindaddr=0.0.0.0. I have observed traffic with tethereal and I have seen
the next. First REGISTER goes out from my asterisk to my SIP Provider.
My SIP Provider respond to my with a 401 Unauthorized meesage, but
Asterisk doesn't read this message and try to resend first REGISTER.

In the second localnet(in previous message) there is a Hicom Siemens
with a HG1500 interface with Intel propietary protocol, but without SIP
protocol. I have noticed that this interface goes down when I start
asterisk.

	Has anyone had same problem? Could anyone help me with this
problem?

Best regards,
srsergio

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


Hi all,
	I have next configuration:

		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.

The problem is the next:
	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. 
	
	Any idea?

srsergio

_______________________________________________
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

_______________________________________________
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