mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7049 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1c0c5a7704
commit
3d3a92bb03
@ -760,9 +760,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
stream.write_function(&stream, "</remote>\n");
|
stream.write_function(&stream, "</remote>\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.write_function(&stream, "</dialog>\n");
|
stream.write_function(&stream, "</dialog>\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.write_function(&stream, "</dialog-info>\n");
|
stream.write_function(&stream, "</dialog-info>\n");
|
||||||
@ -773,7 +771,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
if (astate && uuid && helper->stream.data) {
|
if (astate && uuid && helper->stream.data) {
|
||||||
stream.write_function(&helper->stream, "update sip_dialogs set state='%s' where uuid='%s';\n", astate, uuid);
|
stream.write_function(&helper->stream, "update sip_dialogs set state='%s' where uuid='%s';\n", astate, uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
pl = switch_mprintf("<?xml version='1.0' encoding='UTF-8'?>\r\n"
|
pl = switch_mprintf("<?xml version='1.0' encoding='UTF-8'?>\r\n"
|
||||||
"<presence xmlns='urn:ietf:params:xml:ns:pidf'\r\n"
|
"<presence xmlns='urn:ietf:params:xml:ns:pidf'\r\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user