[asterisk-commits] mmichelson: branch group/issue8824 r157854 - /team/group/issue8824/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 19 14:35:16 CST 2008
Author: mmichelson
Date: Wed Nov 19 14:35:15 2008
New Revision: 157854
URL: http://svn.digium.com/view/asterisk?view=rev&rev=157854
Log:
Commit missing support for handling 181 responses.
Modified:
team/group/issue8824/channels/chan_sip.c
Modified: team/group/issue8824/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/issue8824/channels/chan_sip.c?view=diff&rev=157854&r1=157853&r2=157854
==============================================================================
--- team/group/issue8824/channels/chan_sip.c (original)
+++ team/group/issue8824/channels/chan_sip.c Wed Nov 19 14:35:15 2008
@@ -16556,6 +16556,16 @@
/* Queue a progress frame only if we have SDP in 180 or 182 */
ast_queue_control(p->owner, AST_CONTROL_PROGRESS);
}
+ }
+ check_pendings(p);
+ break;
+
+ case 181: /* Call Is Being Forwarded */
+ if (!req->ignore && (p->invitestate != INV_CANCELLED) && sip_cancel_destroy(p))
+ ast_log(LOG_WARNING, "Unable to cancel SIP destruction. Expect bad things.\n");
+ if (!req->ignore && p->owner) {
+ change_redirecting_information(p, req);
+ ast_queue_redirecting_update(p->owner, &p->owner->redirecting);
}
check_pendings(p);
break;
More information about the asterisk-commits
mailing list