Additional parameters from pull request #2666
Match old and new Poly/Polycom handsets
This commit is contained in:
parent
ec25d5df77
commit
47ad34d887
|
@ -10476,7 +10476,7 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
|
||||||
(!is_tcp && !is_tls && (zstr(network_ip) || !switch_check_network_list_ip(network_ip, profile->local_network)) &&
|
(!is_tcp && !is_tls && (zstr(network_ip) || !switch_check_network_list_ip(network_ip, profile->local_network)) &&
|
||||||
profile->server_rport_level >= 2 && sip->sip_user_agent &&
|
profile->server_rport_level >= 2 && sip->sip_user_agent &&
|
||||||
sip->sip_user_agent->g_string &&
|
sip->sip_user_agent->g_string &&
|
||||||
(!strncasecmp(sip->sip_user_agent->g_string, "Polycom", 7) || !strncasecmp(sip->sip_user_agent->g_string, "KIRK Wireless Server", 20)))
|
(!strncasecmp(sip->sip_user_agent->g_string, "Poly", 4) || !strncasecmp(sip->sip_user_agent->g_string, "KIRK Wireless Server", 20)))
|
||||||
) {
|
) {
|
||||||
if (sip->sip_via) {
|
if (sip->sip_via) {
|
||||||
const char *port = sip->sip_via->v_port;
|
const char *port = sip->sip_via->v_port;
|
||||||
|
|
Loading…
Reference in New Issue