[asterisk-bugs] [Asterisk 0005747]: * Sends 403 Unauthorized upon reception of INFO method from a Nortel MCS 5200 sip proxy

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Sep 1 08:37:04 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=5747 
====================================================================== 
Reported By:                chandi
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   5747
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             11-14-2005 12:59 CST
Last Modified:              09-01-2007 08:37 CDT
====================================================================== 
Summary:                    * Sends 403 Unauthorized upon reception of INFO
method from  a Nortel MCS 5200 sip proxy
Description: 
The Nortel sip proxy sends an INFO packet every 6-10 minutes and Asterisk
seems not to know what to do with it and replies "403 Unauthorized" instead
of "200 OK" to it. Then the sip proxy still waits 30 seconds for a "200 OK"
and then Hangup the call. 

While the sip proxy waits for it's timeout to finish, it sends again a few
INFO packets which asterisk answers by a "200 OK" but that doesn't make the
sip proxy happy.

Here is the sip logs starting from the first INFO which is instantly
answered by asterisk with a 403 Unauthorized.

http://pastebin.ca/28685
====================================================================== 

---------------------------------------------------------------------- 
 netonfire - 09-01-07 08:37  
---------------------------------------------------------------------- 
Hi All, 

I made some suggestion on the www.voip-info.com forum. (see link below)
http://www.voip-info.org/wiki/index.php?comment_page=3&page_id=2676&maxComments=10&comments_maxComments=10&comments_sort_mode=commentDate_desc&comments_style=flat#editcomments

My solution is to check the content length of the INFO packet near the end
of the handle_request_info() function. As according to RFC2976, if there is
no message body, we should just return "200 OK".

This solution has been working fine for me, and for many people using HKBN
2B service which uses Nortel MCS 5200.

I don't know how to summit the code into Asterisk SVN, maybe someone can
help and make it into the next release.

Cheers,
Alex 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-01-07 08:37  netonfire      Note Added: 0069816                          
======================================================================




More information about the asterisk-bugs mailing list