1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-03 17:30:37 +00:00

Case insenstive matching for this and stricter matching

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17112 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2010-03-26 16:23:49 +00:00
parent 8282194564
commit f66f382d5e

@ -990,7 +990,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
switch_snprintf(contact_str, sizeof(contact_str), "%s <sip:%s@%s:%d%s;fs_nat=yes>", display, contact->m_url->url_user, url_ip, switch_snprintf(contact_str, sizeof(contact_str), "%s <sip:%s@%s:%d%s;fs_nat=yes>", display, contact->m_url->url_user, url_ip,
network_port, received_data); network_port, received_data);
} }
if (strstr(v_contact_str, "tls")) { if (switch_stristr(v_contact_str, "transport=tls")) {
reg_desc = "Registered(TLSHACK)"; reg_desc = "Registered(TLSHACK)";
} else { } else {
reg_desc = "Registered(AUTO-NAT)"; reg_desc = "Registered(AUTO-NAT)";