[Freeswitch-svn] [commit] r13200 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN anthm at freeswitch.org
Wed Apr 29 15:56:19 PDT 2009


Author: anthm
Date: Wed Apr 29 17:56:19 2009
New Revision: 13200

Log:
add experimental NDLB-connectile-dysfunction-2.0

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	Wed Apr 29 17:56:19 2009
@@ -898,7 +898,7 @@
 
 					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);



More information about the Freeswitch-svn mailing list