[Freeswitch-svn] [commit] r5556 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Fri Aug 3 00:29:58 EDT 2007


Author: mikej
Date: Fri Aug  3 00:29:57 2007
New Revision: 5556

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
fix for MODAPP-23

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Fri Aug  3 00:29:57 2007
@@ -123,7 +123,7 @@
 	}
 
 	switch_url_encode(data, enc_hint, sizeof(enc_hint));
-	snprintf(hint_data, sizeof(hint_data), "macro_name=%s&lang=%s&data=%s", macro_name, chan_lang, enc_hint);
+	snprintf(hint_data, sizeof(hint_data), "macro_name=%s&lang=%s&data=%s&destination_number=%s", macro_name, chan_lang, enc_hint, switch_channel_get_variable(channel,"destination_number"));
 
 	if (switch_xml_locate("phrases", NULL, NULL, NULL, &xml, &cfg, hint_data) != SWITCH_STATUS_SUCCESS) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "open of phrases failed.\n");



More information about the Freeswitch-svn mailing list