FS-5316 --resolve
This commit is contained in:
parent
d5ec949142
commit
88a13a7580
|
@ -1665,7 +1665,11 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
||||||
nua_info(tech_pvt->nh, SIPTAG_CONTENT_TYPE_STR("message/sipfrag"),
|
nua_info(tech_pvt->nh, SIPTAG_CONTENT_TYPE_STR("message/sipfrag"),
|
||||||
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), SIPTAG_PAYLOAD_STR(message), TAG_END());
|
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), SIPTAG_PAYLOAD_STR(message), TAG_END());
|
||||||
} else if ((ua && (switch_stristr("polycom", ua)))) {
|
} else if ((ua && (switch_stristr("polycom", ua)))) {
|
||||||
|
if ( switch_stristr("UA/4", ua) ) {
|
||||||
|
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <sip:%s@%s>", name, number, tech_pvt->profile->sipip);
|
||||||
|
} else {
|
||||||
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <%s>", name, number);
|
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <%s>", name, number);
|
||||||
|
}
|
||||||
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,
|
||||||
NUTAG_SESSION_TIMER(tech_pvt->session_timeout),
|
NUTAG_SESSION_TIMER(tech_pvt->session_timeout),
|
||||||
|
|
Loading…
Reference in New Issue