提交 f68a0016 authored 作者: Brian West's avatar Brian West

mod_sofia: do not set route_uri unless there is actually one to go to.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13952 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ceb78031
......@@ -4162,13 +4162,8 @@ sofia_destination_t* sofia_glue_get_destination(char *data)
*p = '\0';
} while ((--p > route_uri) && *p == ' ');
}
}
else {
if(!(route_uri = strdup(contact))) {
goto mem_fail;
}
}
}
if (!(to = strdup(data))) {
goto mem_fail;
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论