[asterisk-commits] tilghman: trunk r238795 - /trunk/res/res_musiconhold.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 8 16:55:03 CST 2010


Author: tilghman
Date: Fri Jan  8 16:54:59 2010
New Revision: 238795

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238795
Log:
Add the class actually used in the MusicOnHold start event.
(closes issue #16499)
 Reported by: syspert
 Patches: 
       mohclass.patch uploaded by syspert (license 938)

Modified:
    trunk/res/res_musiconhold.c

Modified: trunk/res/res_musiconhold.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_musiconhold.c?view=diff&rev=238795&r1=238794&r2=238795
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Fri Jan  8 16:54:59 2010
@@ -1436,8 +1436,10 @@
 	ast_manager_event(chan, EVENT_FLAG_CALL, "MusicOnHold",
 		"State: Start\r\n"
 		"Channel: %s\r\n"
-		"UniqueID: %s\r\n",
-		chan->name, chan->uniqueid);
+		"UniqueID: %s\r\n"
+		"Class: %s\r\n",
+		chan->name, chan->uniqueid,
+		mohclass->name);
 
 	ast_set_flag(chan, AST_FLAG_MOH);
 




More information about the asterisk-commits mailing list