[asterisk-commits] mmichelson: trunk r127857 - /trunk/apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 3 15:59:52 CDT 2008


Author: mmichelson
Date: Thu Jul  3 15:59:51 2008
New Revision: 127857

URL: http://svn.digium.com/view/asterisk?view=rev&rev=127857
Log:
Make change proposed by andrew53 on bugtracker


Modified:
    trunk/apps/app_chanspy.c

Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=127857&r1=127856&r2=127857
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Thu Jul  3 15:59:51 2008
@@ -366,7 +366,7 @@
 	}
 	if ((spyee_bridge = ast_bridged_channel(spyee))) {
 		ast_channel_lock(spyee_bridge);
-		if (start_spying(ast_bridged_channel(spyee), spyer_name, &csth.bridge_whisper_audiohook)) {
+		if (start_spying(spyee_bridge, spyer_name, &csth.bridge_whisper_audiohook)) {
 			ast_log(LOG_WARNING, "Unable to attach barge audiohook on spyee %s. Barge mode disabled!\n", spyee->name);
 		}
 		ast_channel_unlock(spyee_bridge);




More information about the asterisk-commits mailing list