mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4123 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
+7
-1
@@ -1567,8 +1567,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_outgoing_channel(switch_core
|
||||
|
||||
ecaller_id_name = switch_channel_get_variable(channel, "effective_caller_id_name");
|
||||
ecaller_id_number = switch_channel_get_variable(channel, "effective_caller_id_number");
|
||||
|
||||
|
||||
if (ecaller_id_name || ecaller_id_number) {
|
||||
if (!ecaller_id_name) {
|
||||
ecaller_id_name = caller_profile->caller_id_name;
|
||||
}
|
||||
if (!ecaller_id_number) {
|
||||
ecaller_id_number = caller_profile->caller_id_number;
|
||||
}
|
||||
outgoing_profile = switch_caller_profile_new(switch_core_session_get_pool(session),
|
||||
caller_profile->username,
|
||||
caller_profile->dialplan,
|
||||
|
||||
Reference in New Issue
Block a user