[Asterisk-Users] Segmentation fault due to SIP registration NUMBER 2

Senad Jordanovic senad at cwcom.net
Sun Sep 14 00:40:14 MST 2003


what did the trick for me is:

1.
Use codec statements: allow=SOMECODEC)
2.
bind * to an IP instead of "bind=0.0.0.0" (bind=IP_OF_YOUR_*_BOX)


Ta


Senad

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of mattf
Sent: 11 September 2003 21:30
To: 'asterisk-users at lists.digium.com'
Subject: RE: [Asterisk-Users] Segmentation fault due to SIP registration
NUMBER 2


Hello,

Don't know if this is related but I just got a segmentation fault today
while trying to register my new SNOM200 phone:


*CLI>
*CLI> NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '<sip:mattf2 at 10.10.10.15>' failed for '10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4651 (handle_request): Failed to
authenticate user <sip:mattf2 at 10.10.10.15>;tag=3g5l65mbnk for SUBSCRIBE
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'
NOTICE[1125329600]: File chan_sip.c, Line 4651 (handle_request): Failed to
authenticate user <sip:mattf2 at 10.10.10.15>;tag=3g5l65mbnk for SUBSCRIBE
Segmentation fault


then I started asterisk back up and it registered and then gave me another
error:

*CLI>
*CLI>     -- Registered SIP 'mattf2' at 10.10.10.14 port 5060 expires 3600
*CLI> NOTICE[1125329600]: File chan_sip.c, Line 4713 (handle_request):
Registration from '"Matt Florell" <sip:mattf2 at 10.10.10.15>' failed for
'10.10.10.14'


Any idea what causes this? could I have possibly just configured the Snom
incorrectly to cause this?

Thanks,

MATT---




-----Original Message-----
From: tim.mcqueen at qualisys.biz [mailto:tim.mcqueen at qualisys.biz]
Sent: Thursday, September 11, 2003 4:01 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Segmentation fault due to SIP registration
NUMBER 2


Is there any chance that you could send a tcpdump of the system tying to
make a connection?  

Open up two terminal sessions to your server.  In one, type "tcpdump -w
foo".  In the other session, start asterisk and let it sit there hanging
for a few minutes.  Stop Ctrl-C in the terminal session running tcpdump
and send me the file "foo" that was created by tcpdump.  You might want
to gzip it if it's large and send it to me off list.

-----Original Message-----
From: Senad Jordanovic [mailto:senad at cwcom.net] 
Sent: Thursday, September 11, 2003 2:48 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Segmentation fault due to SIP registration
NUMBER 2


Tim, thanks for your answer.

I tried, all of the options you suggested, and still the same... *
hangs. It is interesting that it does the same think, when it tries to
register my FWD account and there are no problems with registering IAX
account with NuFone.

I can make iconnect/fwd/iax calls with no major problems.

Any other suggestions?

Senad



-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of
tim.mcqueen at qualisys.biz
Sent: 11 September 2003 20:14
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Segmentation fault due to SIP registration
NUMBER 2


I assume that from your previous post that you are using iconnect

Is your register line in the format:

Register => 18005551212:1234 at 213.137.73.178/18005551212

I've had good luck using the IP address vs. the fully qualified
hostname.  Remember that the register line goes in the [general] section
of sip.conf.  Also, are you using the latest CVS release of *?

-----Original Message-----
From: Senad Jordanovic [mailto:senad at cwcom.net]
Sent: Thursday, September 11, 2003 1:52 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Segmentation fault due to SIP registration
NUMBER 2



I am really desperate to have any help on this problem below
as it prevents us from making any further progress.

Is there anyone out there who can help?


Thanks

Senad

------------------------------------------------------------------------
----
-
Hi,

Allowing registration to iconnect by using
"register => XXXXXXXXXXXXXXXXXXXXXXX" in sip.conf file does not start *,
but instead produces "segmentation fault" and * hangs.

Commenting out "register => XXXXXXXXXXXXXXXXXXXX" allows * to start with
no problems.

Anyone know why is this happening?

------------------------------------------------------------------------
--

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
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

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list