FS-9726 Fix malformed PAI

This commit is contained in:
Brian West 2016-11-10 13:42:26 -06:00
parent bbee03f602
commit 832144088d
2 changed files with 1 additions and 2 deletions

View File

@ -1944,7 +1944,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
switch_stristr("cisco/spa30", ua) || switch_stristr("Grandstream GXP", ua) ||
switch_stristr("Yealink", ua) || switch_stristr("Mitel", ua) ||
switch_stristr("Panasonic", ua))) {
snprintf(message, sizeof(message), "P-Asserted-Identity: \"%s\" <sip:%s@%s>", name, number, tech_pvt->profile->printable_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,

View File

@ -610,7 +610,6 @@ struct sofia_profile {
char *sdp_username;
char *sipip;
char *printable_sipip;
char *extsipip;
char *url;
char *public_url;