]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Case insenstive matching for this and stricter matching
authorBrian West <brian@freeswitch.org>
Fri, 26 Mar 2010 16:23:49 +0000 (16:23 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 26 Mar 2010 16:23:49 +0000 (16:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17112 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 2f903d14b40370e830abf7e3a589260601a2bc51..676998c106ba720faf96c756d4fe23ee4c3d2056 100644 (file)
@@ -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)";