[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
Wed Aug 22 23:36:32 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: 08-22-2007 23:36 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
======================================================================
----------------------------------------------------------------------
oslec - 08-22-07 23:36
----------------------------------------------------------------------
Hi People,
My Provider have an Nortel MCS 5200 sip proxy, and yes the call dropped
after 6-11 minutes.
I apply the patch by HWT in Asterisk Version SVN-branch-1.2-r69258M in the
chan_sip.c => Module (static void handle_request_info(struct sip_pvt *p,
struct sip_request *req)
I take off the code for Snom and put the patch for Nortel . Sorry i dont
use Snom.
Im able to make calls to more of 11 Minutes. Then when the asterisk
receive the Info Packet for Nortel, asterisk response with a 200 OK.
Now, the system its fine.
Question, this patch apply to all 1.2 Head and 1.4 Head ?
Regards,
Sergio
The Packet Info by Nortel MCS
INFO sip:5530289500 at 172.18.60.10 SIP/2.0.
t: "Costumer "
<sip:5530289500 at 192.167.93.71>;tag=as39d30f5f.
f: <sip:3000445554083549 at 192.167.93.71>;tag=4455084331571741576.
i: 418e1f8b319d61f94650258337158ba6 at 192.167.93.71.
CSeq: 81724 INFO.
v: SIP/2.0/UDP
192.167.93.71:5060;branch=z9hG4bK9bb4ffae274492b5baa1aecfb6c316bc.
Max-Forwards: 20.
x-nt-corr-id: 1148122ec991a52386781ea32d5637d1cc98e89260 at 192.167.93.71.
k: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec.
l: 0.
The Answer of Asterisk
U 172.18.60.10:5060 -> 192.167.93.71:5060
SIP/2.0 403 Unauthorized.
Via: SIP/2.0/UDP
192.167.93.71:5060;branch=z9hG4bK9bb4ffae274492b5baa1aecfb6c316bc;received=192.167.93.71.
From: <sip:3000445554083549 at 192.167.93.71>;tag=4455084331571741576.
To: "Bill Bus Activos Publicitarios"
<sip:5530289500 at 192.167.93.71>;tag=as39d30f5f.
Call-ID: 418e1f8b319d61f94650258337158ba6 at 192.167.93.71.
CSeq: 81724 INFO.
User-Agent: rm-ip-pbx.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Content-Length: 0.
X-Asterisk-HangupCause: Normal Clearing.
.
Issue History
Date Modified Username Field Change
======================================================================
08-22-07 23:36 oslec Note Added: 0069288
======================================================================
More information about the asterisk-bugs
mailing list