[asterisk-commits] oej: branch group/rana-moh-sip-transfer-1.8 r389841 - /team/group/rana-moh-si...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 27 02:40:51 CDT 2013
Author: oej
Date: Mon May 27 02:40:46 2013
New Revision: 389841
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=389841
Log:
Slow start, adding a few debug messages
Modified:
team/group/rana-moh-sip-transfer-1.8/channels/chan_sip.c
Modified: team/group/rana-moh-sip-transfer-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/rana-moh-sip-transfer-1.8/channels/chan_sip.c?view=diff&rev=389841&r1=389840&r2=389841
==============================================================================
--- team/group/rana-moh-sip-transfer-1.8/channels/chan_sip.c (original)
+++ team/group/rana-moh-sip-transfer-1.8/channels/chan_sip.c Mon May 27 02:40:46 2013
@@ -7358,11 +7358,13 @@
case AST_CONTROL_HOLD:
ast_set_flag(&p->flags[2], SIP_PAGE3_ONHOLD_BY_BRIDGEPEER);
ast_rtp_instance_update_source(p->rtp);
+ ast_debug(3, "Starting music on hold - received AST_CONTROL_HOLD - channel %s\n", ast->name);
ast_moh_start(ast, data, p->mohinterpret);
break;
case AST_CONTROL_UNHOLD:
ast_clear_flag(&p->flags[2], SIP_PAGE3_ONHOLD_BY_BRIDGEPEER);
ast_rtp_instance_update_source(p->rtp);
+ ast_debug(3, "Stopping music on hold - received AST_CONTROL_UNHOLD - channel %s\n", ast->name);
ast_moh_stop(ast);
break;
case AST_CONTROL_VIDUPDATE: /* Request a video frame update */
More information about the asterisk-commits
mailing list