[asterisk-commits] crichter: branch 1.4 r51989 - /branches/1.4/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 24 05:57:23 MST 2007


Author: crichter
Date: Wed Jan 24 06:57:22 2007
New Revision: 51989

URL: http://svn.digium.com/view/asterisk?view=rev&rev=51989
Log:
added fix from #8899

Modified:
    branches/1.4/channels/chan_misdn.c

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=51989&r1=51988&r2=51989
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Wed Jan 24 06:57:22 2007
@@ -2278,9 +2278,11 @@
 		break;
 
 	case AST_CONTROL_HOLD:
+		ast_moh_start(ast,data,ast->musicclass); 
 		chan_misdn_log(1, p->bc->port, " --> *\tHOLD pid:%d\n",p->bc?p->bc->pid:-1);
 		break;
 	case AST_CONTROL_UNHOLD:
+		ast_moh_stop(ast);
 		chan_misdn_log(1, p->bc->port, " --> *\tUNHOLD pid:%d\n",p->bc?p->bc->pid:-1);
 		break;
 	default:



More information about the asterisk-commits mailing list