提交 3de98850 authored 作者: Brian West's avatar Brian West

we use a semicolon for contact params instead of the ampersand.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9704 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 98fefef5
......@@ -924,9 +924,9 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论