more stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6908 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-12-20 02:55:36 +00:00
1 parent 427fbdb369
commit ef3fde4ddf
16 files changed
+5575 -6031

No files matched your search

+4 -2
View File
@@ -670,9 +670,11 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
dft_state = "confirmed";
}
if (!strcasecmp(state, "cs_execute") && !strcasecmp(direction, "inbound") && !strcasecmp(event_status, "hold")) {
if (!strcasecmp(state, "cs_execute") && !strstr(event_status, "hold")) {
goto end;
} else if (!strcasecmp(state, "cs_hangup")) {
}
if (!strcasecmp(state, "cs_hangup")) {
astate = "terminated";
} else if (switch_strlen_zero(astate)) {
astate = switch_str_nil(switch_event_get_header(helper->event, "answer-state"));