MODSOFIA-85
This commit is contained in:
parent
3482f95e72
commit
ac20528816
|
@ -1761,7 +1761,14 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
||||||
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)),
|
||||||
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), TAG_END());
|
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);
|
||||||
|
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());
|
||||||
|
}
|
||||||
|
|
||||||
tech_pvt->last_sent_callee_id_name = switch_core_session_strdup(tech_pvt->session, name);
|
tech_pvt->last_sent_callee_id_name = switch_core_session_strdup(tech_pvt->session, name);
|
||||||
tech_pvt->last_sent_callee_id_number = switch_core_session_strdup(tech_pvt->session, number);
|
tech_pvt->last_sent_callee_id_number = switch_core_session_strdup(tech_pvt->session, number);
|
||||||
|
|
Loading…
Reference in New Issue