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

Freeswitch SVN mikej at freeswitch.org
Tue Aug 21 22:55:19 EDT 2007


Author: mikej
Date: Tue Aug 21 22:55:19 2007
New Revision: 5656

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Log:
pass new caller profile vars across the bridge.

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Tue Aug 21 22:55:19 2007
@@ -489,6 +489,10 @@
 															caller_caller_profile->rdnis,
 															caller_caller_profile->source, caller_caller_profile->context, chan_data);
 					new_profile->flags = caller_caller_profile->flags;
+					new_profile->caller_ton = caller_caller_profile->caller_ton;
+					new_profile->caller_numplan = caller_caller_profile->caller_numplan;
+					new_profile->destination_number_ton = caller_caller_profile->destination_number_ton;
+					new_profile->destination_number_numplan = caller_caller_profile->destination_number_numplan;
 					pool = NULL;
 				} else {
 					if (!cid_name_override) {
@@ -515,6 +519,10 @@
 																 caller_profile_override->aniii,
 																 caller_profile_override->rdnis,
 																 caller_profile_override->source, caller_profile_override->context, chan_data);
+						new_profile->caller_ton = caller_profile_override->caller_ton;
+						new_profile->caller_numplan = caller_profile_override->caller_numplan;
+						new_profile->destination_number_ton = caller_profile_override->destination_number_ton;
+						new_profile->destination_number_numplan = caller_profile_override->destination_number_numplan;
 					} else {
 						new_profile = switch_caller_profile_new(pool,
 																 NULL,



More information about the Freeswitch-svn mailing list