pass new caller profile vars across the bridge.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5657 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-08-22 03:10:08 +00:00
parent 406e0d6bcf
commit 70c8c1d7a9
1 changed files with 5 additions and 0 deletions

View File

@ -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) {