Merge 504212fbc7b5ed01912c17e0fdfbec5f0f6ca3ed into 559a97ecf5835819fc44ecb144b4974c86d745f5

This commit is contained in:
Joseph 2025-01-11 04:18:45 +00:00 committed by GitHub
commit 38a9af695d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) ||