git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7017 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-12-29 17:51:26 +00:00
parent f52c9e5285
commit 95453dfb09

View File

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