Merge pull request #867 in FS/freeswitch from ~JFIRLES/freeswitch:bugfix/FS-9216-add-ua-update-display to master
* commit 'b36cef731c14eb73730b9e86b5dd533c20180eb4': FS-9216: [mod_sofia] Add Cisco SPA30X and Grandstream GXP user agents to send UPDATE
This commit is contained in:
commit
4631b8ff88
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue