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:
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,
|
||||
network_port, received_data);
|
||||
}
|
||||
if (strstr(v_contact_str, "tls")) {
|
||||
if (switch_stristr(v_contact_str, "transport=tls")) {
|
||||
reg_desc = "Registered(TLSHACK)";
|
||||
} else {
|
||||
reg_desc = "Registered(AUTO-NAT)";
|
||||
|
|
Loading…
Reference in New Issue