提交 9640d2aa authored 作者: Anthony Minessale's avatar Anthony Minessale

12th time's a charm

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11584 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 09f535ab
......@@ -129,7 +129,7 @@ void sofia_sla_handle_sip_i_subscribe(nua_t *nua, const char *contact_str, sofia
if (strstr(contact_str, ";fs_nat")) {
char *p;
route_uri = strdup(contact_str);
route_uri = sofia_glue_get_url_from_contact((char *)contact_str, 1);
if ((p = strstr(contact_str, ";fs_"))) {
*p = '\0';
}
......@@ -257,7 +257,7 @@ static int sofia_sla_sub_callback(void *pArg, int argc, char **argv, char **colu
if (strstr(contact_str, ";fs_nat")) {
char *p;
route_uri = strdup(contact_str);
route_uri = sofia_glue_get_url_from_contact(contact_str, 1);
if ((p = strstr(contact_str, ";fs_"))) {
*p = '\0';
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论