mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
MODSOFIA-85
This commit is contained in:
parent
3482f95e72
commit
ac20528816
@ -1757,6 +1757,13 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||||||
} else if ((ua && (switch_stristr("aastra", ua)))) {
|
} else if ((ua && (switch_stristr("aastra", ua)))) {
|
||||||
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <sip:%s@%s>", name, number, tech_pvt->profile->sipip);
|
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <sip:%s@%s>", name, number, tech_pvt->profile->sipip);
|
||||||
|
|
||||||
|
sofia_set_flag_locked(tech_pvt, TFLAG_UPDATING_DISPLAY);
|
||||||
|
nua_update(tech_pvt->nh,
|
||||||
|
TAG_IF(!zstr_buf(message), SIPTAG_HEADER_STR(message)),
|
||||||
|
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), TAG_END());
|
||||||
|
} else if ((ua && (switch_stristr("cisco", ua)))) {
|
||||||
|
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <sip:%s@%s>", name, number, tech_pvt->profile->sipip);
|
||||||
|
|
||||||
sofia_set_flag_locked(tech_pvt, TFLAG_UPDATING_DISPLAY);
|
sofia_set_flag_locked(tech_pvt, TFLAG_UPDATING_DISPLAY);
|
||||||
nua_update(tech_pvt->nh,
|
nua_update(tech_pvt->nh,
|
||||||
TAG_IF(!zstr_buf(message), SIPTAG_HEADER_STR(message)),
|
TAG_IF(!zstr_buf(message), SIPTAG_HEADER_STR(message)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user