]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add experimental NDLB-connectile-dysfunction-2.0
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Apr 2009 22:56:19 +0000 (22:56 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Apr 2009 22:56:19 +0000 (22:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13200 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 5669b5ad8cfaa0c5d06ebda649fdfb359a7caafa..fae7bf2ee86b6aa5fb1d4d326b1cd13e0f13885b 100644 (file)
@@ -898,7 +898,7 @@ uint8_t sofia_reg_handle_register(nua_t *nua, sofia_profile_t *profile, nua_hand
 
                                        switch_zmalloc(path_encoded, path_encoded_len);
                                        switch_copy_string(path_encoded, ";fs_nat=yes;fs_path=", 20);
-                                       switch_url_encode(my_contact_str, path_encoded + 22, path_encoded_len - 20);
+                                       switch_url_encode(my_contact_str, path_encoded + 20, path_encoded_len - 20);
                                        reg_desc = "Registered(AUTO-NAT-2.0)";
                                        exptime = 20;
                                        switch_snprintf(contact_str + strlen(contact_str), sizeof(contact_str) - strlen(contact_str), "%s", path_encoded);