提交 1df48d45 authored 作者: Brian West's avatar Brian West 提交者: Mike Jerris

FS-9726 Fix malformed PAI

上级 cc83b7ec
...@@ -1858,7 +1858,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi ...@@ -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("cisco/spa30", ua) || switch_stristr("Grandstream GXP", ua) ||
switch_stristr("Yealink", ua) || switch_stristr("Mitel", ua) || switch_stristr("Yealink", ua) || switch_stristr("Mitel", ua) ||
switch_stristr("Panasonic", 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); sofia_set_flag_locked(tech_pvt, TFLAG_UPDATING_DISPLAY);
nua_update(tech_pvt->nh, nua_update(tech_pvt->nh,
......
...@@ -605,7 +605,6 @@ struct sofia_profile { ...@@ -605,7 +605,6 @@ struct sofia_profile {
char *sdp_username; char *sdp_username;
char *sipip; char *sipip;
char *printable_sipip;
char *extsipip; char *extsipip;
char *url; char *url;
char *public_url; char *public_url;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论