[asterisk-commits] russell: branch group/chan_unistim r88326 - /team/group/chan_unistim/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 2 14:58:16 CDT 2007


Author: russell
Date: Fri Nov  2 14:58:16 2007
New Revision: 88326

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88326
Log:
add HOLD and UNHOLD handling to the indicate callback

Modified:
    team/group/chan_unistim/channels/chan_unistim.c

Modified: team/group/chan_unistim/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/team/group/chan_unistim/channels/chan_unistim.c?view=diff&rev=88326&r1=88325&r2=88326
==============================================================================
--- team/group/chan_unistim/channels/chan_unistim.c (original)
+++ team/group/chan_unistim/channels/chan_unistim.c Fri Nov  2 14:58:16 2007
@@ -4157,6 +4157,12 @@
 			break;
 		}
 		return -1;
+	case AST_CONTROL_HOLD:
+		ast_moh_start(ast, data, NULL);
+		break;
+	case AST_CONTROL_UNHOLD:
+		ast_moh_stop(ast);
+		break;
 	case AST_CONTROL_PROGRESS:
 		break;
 	case -1:




More information about the asterisk-commits mailing list