mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
add ignore_display_updates variable to block display updates on that leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15218 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -430,6 +430,10 @@ void sofia_update_callee_id(switch_core_session_t *session, sofia_profile_t *pro
|
||||
const char *val;
|
||||
int fs = 0;
|
||||
|
||||
if (switch_true(switch_channel_get_variable(channel, SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (sip->sip_to) {
|
||||
number = sip->sip_to->a_url->url_user;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user