mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-07 21:32:56 +00:00
add some more var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15351 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
72a8ae5c52
commit
31b8037517
@ -467,11 +467,15 @@ void sofia_update_callee_id(switch_core_session_t *session, sofia_profile_t *pro
|
||||
}
|
||||
}
|
||||
|
||||
if ((tmp = switch_channel_get_variable(channel, "sip_callee_id_name"))) {
|
||||
if ((tmp = switch_channel_get_variable(channel, "effective_callee_id_name")) ||
|
||||
(tmp = switch_channel_get_variable(channel, "sip_callee_id_name")) ||
|
||||
(tmp = switch_channel_get_variable(channel, "callee_id_name"))) {
|
||||
name = (char *)tmp;
|
||||
}
|
||||
|
||||
if ((tmp = switch_channel_get_variable(channel, "sip_callee_id_number"))) {
|
||||
if ((tmp = switch_channel_get_variable(channel, "effective_callee_id_number")) ||
|
||||
(tmp = switch_channel_get_variable(channel, "sip_callee_id_number")) ||
|
||||
(tmp = switch_channel_get_variable(channel, "callee_id_number"))) {
|
||||
number = tmp;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user