[Freeswitch-svn] [commit] r9704 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
brian at freeswitch.org
Sun Sep 28 18:32:37 EDT 2008
Author: brian
Date: Sun Sep 28 18:32:36 2008
New Revision: 9704
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
we use a semicolon for contact params instead of the ampersand.
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Sun Sep 28 18:32:36 2008
@@ -924,9 +924,9 @@
register_transport = (char *) sofia_glue_transport2str(gateway->register_transport);
if (contact_params) {
if (*contact_params == ';') {
- params = switch_core_sprintf(gateway->pool, "%s&transport=%s", contact_params, register_transport);
+ params = switch_core_sprintf(gateway->pool, "%s;transport=%s", contact_params, register_transport);
} else {
- params = switch_core_sprintf(gateway->pool, ";%s&transport=%s", contact_params, register_transport);
+ params = switch_core_sprintf(gateway->pool, ";%s;transport=%s", contact_params, register_transport);
}
} else {
params = switch_core_sprintf(gateway->pool, ";transport=%s", register_transport);
More information about the Freeswitch-svn
mailing list