From 70c8c1d7a979c4c6d6c384ce550c1d3fcec98436 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 22 Aug 2007 03:10:08 +0000 Subject: [PATCH] pass new caller profile vars across the bridge. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5657 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_session.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index ffc9b2e4ed..fdca0a4349 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -218,6 +218,11 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_ caller_profile->rdnis, caller_profile->source, caller_profile->context, caller_profile->destination_number); outgoing_profile->flags = caller_profile->flags; + outgoing_profile->caller_ton = caller_profile->caller_ton; + outgoing_profile->caller_numplan = caller_profile->caller_numplan; + outgoing_profile->destination_number_ton = caller_profile->destination_number_ton; + outgoing_profile->destination_number_numplan = caller_profile->destination_number_numplan; + } } if (!outgoing_profile) {