[asterisk-commits] trunk r25444 - /trunk/res/res_features.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 04:22:00 MST 2006


Author: file
Date: Mon May  8 06:22:00 2006
New Revision: 25444

URL: http://svn.digium.com/view/asterisk?rev=25444&view=rev
Log:
Incorrect log statement when playing transfer sounds (issue #7008 reported and fixed by nathan)

Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=25444&r1=25443&r2=25444&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Mon May  8 06:22:00 2006
@@ -704,7 +704,7 @@
 	if (newchan->_softhangup || newchan->_state != AST_STATE_UP || !transferer->_softhangup) {
 		ast_hangup(newchan);
 		if (ast_stream_and_wait(transferer, xfersound, transferer->language, ""))
-			ast_log(LOG_WARNING, "Failed to play courtesy tone!\n");
+			ast_log(LOG_WARNING, "Failed to play transfer sound!\n");
 		finishup(transferee);
 		transferer->_softhangup = 0;
 		return FEATURE_RETURN_SUCCESS;
@@ -757,7 +757,7 @@
 	tobj->bconfig = *config;
 
 	if (ast_stream_and_wait(newchan, xfersound, newchan->language, ""))
-		ast_log(LOG_WARNING, "Failed to play courtesy tone!\n");
+		ast_log(LOG_WARNING, "Failed to play transfer sound!\n");
 	ast_bridge_call_thread_launch(tobj);
 	return -1;	/* XXX meaning the channel is bridged ? */
 }



More information about the asterisk-commits mailing list