提交 95453dfb authored 作者: Brian West's avatar Brian West

woops

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7017 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f52c9e52
......@@ -683,7 +683,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
if (!strcasecmp(state, "cs_execute") && !strstr(event_status, "hold")) {
goto end;
}
printf("WTF %s, %s, %s, %s\n", state, event_status, answer_state, astate);
if (!strcasecmp(event_status, "Registered")) {
answer_state = "resubscribe";
......@@ -758,7 +757,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
pl = stream.data;
ct = "application/dialog-info+xml";
printf("%s\n", pl);
if (astate && uuid && helper->stream.data) {
stream.write_function(&helper->stream, "update sip_dialogs set state='%s' where uuid='%s';\n", astate, uuid);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论