mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
small tweak for calling party and hold events..
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6861 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b13611b1bd
commit
b3992bc3a7
@ -670,7 +670,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||||||
dft_state = "confirmed";
|
dft_state = "confirmed";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcasecmp(state, "cs_execute")) {
|
if (!strcasecmp(state, "cs_execute") && !strcasecmp(direction, "inbound") && !strcasecmp(event_status, "hold")) {
|
||||||
goto end;
|
goto end;
|
||||||
} else if (!strcasecmp(state, "cs_hangup")) {
|
} else if (!strcasecmp(state, "cs_hangup")) {
|
||||||
astate = "terminated";
|
astate = "terminated";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user