[asterisk-commits] mmichelson: branch group/CCSS r224442 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 18 16:31:48 CDT 2009


Author: mmichelson
Date: Sun Oct 18 16:31:44 2009
New Revision: 224442

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=224442
Log:
Queue a CC frame on a 181.


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=224442&r1=224441&r2=224442
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Sun Oct 18 16:31:44 2009
@@ -18118,6 +18118,9 @@
 			struct ast_party_redirecting redirecting = {{0,},};
 			change_redirecting_information(p, req, &redirecting, FALSE);
 			ast_channel_queue_redirecting_update(p->owner, &redirecting);
+			if (ast_get_cc_monitor_policy(p->cc_params) == AST_CC_MONITOR_GENERIC) {
+				ast_queue_cc_frame(p->owner, AST_CC_GENERIC_MONITOR_TYPE, AST_CC_CCNR);
+			}
 		}
 		check_pendings(p);
 		break;




More information about the asterisk-commits mailing list