Get up to date with user agents for update_allowed method
We observed that the new Poly phones (formerly known as Polycom) were not getting sent a SIP UPDATE in certain circumstances (example: retrieving a parked call, and therefore, Caller ID would not show the parked caller). I renamed Polycom to Poly which will catch all Poly AND Polycom UA's. I also added Bria, Acrobits, and Ringotel to extend such functionality to those UA's.
This commit is contained in:
parent
05310dae07
commit
504212fbc7
|
@ -2075,12 +2075,15 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
|||
nua_info(tech_pvt->nh, SIPTAG_CONTENT_TYPE_STR("message/sipfrag"),
|
||||
TAG_IF(!zstr(tech_pvt->user_via), SIPTAG_VIA_STR(tech_pvt->user_via)), SIPTAG_PAYLOAD_STR(message), TAG_END());
|
||||
} else if (update_allowed && ua && (switch_channel_var_true(tech_pvt->channel, "update_ignore_ua") ||
|
||||
switch_stristr("polycom", ua) ||
|
||||
switch_stristr("poly", 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("Fanvil", ua) ||
|
||||
switch_stristr("Acrobits", ua) ||
|
||||
switch_stristr("Bria", ua) ||
|
||||
switch_stristr("Ringotel", ua) ||
|
||||
switch_stristr("Grandstream", ua) ||
|
||||
switch_stristr("Yealink", ua) ||
|
||||
switch_stristr("Mitel", ua) ||
|
||||
|
|
Loading…
Reference in New Issue