提交 4631b8ff authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #867 in FS/freeswitch from…

Merge pull request #867 in FS/freeswitch from ~JFIRLES/freeswitch:bugfix/FS-9216-add-ua-update-display to master

* commit 'b36cef73':
  FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE
......@@ -1837,6 +1837,7 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), TAG_END());
} else if (ua && ((switch_stristr("aastra", ua) && !switch_stristr("Intelligate", ua)) ||
(switch_stristr("cisco/spa50", ua) || switch_stristr("cisco/spa525", ua)) ||
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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论