[asterisk-commits] jpeeler: branch 1.6.2 r280669 - /branches/1.6.2/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Aug 2 16:14:26 CDT 2010
Author: jpeeler
Date: Mon Aug 2 16:14:20 2010
New Revision: 280669
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280669
Log:
Change SIP NOTIFY requests to expect a response so authentication will work.
This changes the request to be sent with the transmit type XMIT_RELIABLE so that
sip_ack doesn't return false and cause the 401 to be ignored in cases where
authentication is required.
(closes issue #14255)
Reported by: zktech
Modified:
branches/1.6.2/channels/chan_sip.c
Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=280669&r1=280668&r2=280669
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Mon Aug 2 16:14:20 2010
@@ -11464,7 +11464,7 @@
initialize_initreq(p, &req);
}
- return send_request(p, &req, XMIT_UNRELIABLE, p->ocseq);
+ return send_request(p, &req, XMIT_RELIABLE, p->ocseq);
}
static int manager_sipnotify(struct mansession *s, const struct message *m)
More information about the asterisk-commits
mailing list