cid logic changes for calle[re]

This commit is contained in:
Anthony Minessale committed 2010-12-17 14:35:53 -06:00
1 parent bad1eb1183
commit 8f452bc519
6 files changed
+46 -35

No files matched your search

+2
View File
@@ -4065,6 +4065,8 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
switch_channel_set_variable(nchannel, "sip_invite_params", "intercom=true");
}
DUMP_EVENT(var_event);
if (((hval = switch_event_get_header(var_event, "effective_callee_id_name")) ||
(hval = switch_event_get_header(var_event, "sip_callee_id_name"))) && !zstr(hval)) {
caller_profile->callee_id_name = switch_core_strdup(caller_profile->pool, hval);