FS-9726 Fix malformed PAI

This commit is contained in:
Brian West 2016-11-10 13:42:26 -06:00 committed by Mike Jerris
parent cc83b7ecd2
commit 1df48d4506
2 changed files with 1 additions and 2 deletions

View File

@ -1858,7 +1858,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

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