[asterisk-commits] file: branch file/audiohooks-1.4 r88508 - /team/file/audiohooks-1.4/apps/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Nov 5 07:00:17 CST 2007
Author: file
Date: Mon Nov 5 07:00:16 2007
New Revision: 88508
URL: http://svn.digium.com/view/asterisk?view=rev&rev=88508
Log:
Make startmon actually return the code from ast_audiohook_attach.
Modified:
team/file/audiohooks-1.4/apps/app_mixmonitor.c
Modified: team/file/audiohooks-1.4/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/team/file/audiohooks-1.4/apps/app_mixmonitor.c?view=diff&rev=88508&r1=88507&r2=88508
==============================================================================
--- team/file/audiohooks-1.4/apps/app_mixmonitor.c (original)
+++ team/file/audiohooks-1.4/apps/app_mixmonitor.c Mon Nov 5 07:00:16 2007
@@ -132,7 +132,7 @@
if (!chan)
return -1;
- ast_audiohook_attach(chan, audiohook);
+ res = ast_audiohook_attach(chan, audiohook);
if (!res && ast_test_flag(chan, AST_FLAG_NBRIDGE) && (peer = ast_bridged_channel(chan)))
ast_softhangup(peer, AST_SOFTHANGUP_UNBRIDGE);
More information about the asterisk-commits
mailing list