mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 04:04:16 +00:00
cid tweak
This commit is contained in:
1 parent
ad51c7917a
commit
f527ed686f
1 file changed
+5
-1
@@ -665,7 +665,11 @@ void sofia_update_callee_id(switch_core_session_t *session, sofia_profile_t *pro
|
||||
return;
|
||||
}
|
||||
|
||||
if (sip->sip_to) {
|
||||
number = (char *) switch_channel_get_variable(channel, "callee_id_number");
|
||||
name = (char *) switch_channel_get_variable(channel, "callee_id_name");
|
||||
|
||||
|
||||
if (zstr(number) && sip->sip_to) {
|
||||
number = sip->sip_to->a_url->url_user;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user