[svn-commits] oej: trunk r41433 - in /trunk: ./ channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed Aug 30 12:07:21 MST 2006
Author: oej
Date: Wed Aug 30 14:07:21 2006
New Revision: 41433
URL: http://svn.digium.com/view/asterisk?rev=41433&view=rev
Log:
Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=41433&r1=41432&r2=41433&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Aug 30 14:07:21 2006
@@ -2987,6 +2987,7 @@
case 401: /* Unauthorized */
return AST_CAUSE_CALL_REJECTED;
case 403: /* Not found */
+ case 487: /* Call cancelled */
return AST_CAUSE_CALL_REJECTED;
case 404: /* Not found */
return AST_CAUSE_UNALLOCATED;
@@ -11827,6 +11828,8 @@
break;
case 487: /* Response on INVITE that has been CANCELled */
/* channel now destroyed - dec the inUse counter */
+ if (owner)
+ ast_queue_hangup(p->owner);
update_call_counter(p, DEC_CALL_LIMIT);
break;
case 482: /*
More information about the svn-commits
mailing list