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);