[asterisk-commits] oej: branch 1.6.2 r297186 - in /branches/1.6.2: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 2 02:55:13 CST 2010
Author: oej
Date: Thu Dec 2 02:55:09 2010
New Revision: 297186
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=297186
Log:
Merged revisions 297185 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r297185 | oej | 2010-12-02 09:37:17 +0100 (Tor, 02 Dec 2010) | 5 lines
If we get a NOTIFY from a non-existing subscription we should answer with 481, not bad event.
If we answer 481 the subscription that we don't want will be cancelled.
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/channels/chan_sip.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
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=297186&r1=297185&r2=297186
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Thu Dec 2 02:55:09 2010
@@ -7541,7 +7541,7 @@
} else if (intended_method == SIP_NOTIFY) {
/* We do not support out-of-dialog NOTIFY either,
like voicemail notification, so cancel that early */
- transmit_response_using_temp(callid, sin, 1, intended_method, req, "489 Bad event");
+ transmit_response_using_temp(callid, sin, 1, intended_method, req, "481 No subscription");
} else {
/* Ok, time to create a new SIP dialog object, a pvt */
if ((p = sip_alloc(callid, sin, 1, intended_method, req))) {
More information about the asterisk-commits
mailing list