mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
add CHANNEL_HANGUP_COMPLETE event to take the place of CHANNEL_HANGUP, CHANNEL_HANGUP now fires as soon as the channel is hungup but you must wait for CHANNEL_HANGUP_COMPLETE for the CDR data
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13505 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -65,6 +65,7 @@ static const char *EVENT_NAMES[] = {
|
||||
"CHANNEL_STATE",
|
||||
"CHANNEL_ANSWER",
|
||||
"CHANNEL_HANGUP",
|
||||
"CHANNEL_HANGUP_COMPLETE",
|
||||
"CHANNEL_EXECUTE",
|
||||
"CHANNEL_EXECUTE_COMPLETE",
|
||||
"CHANNEL_BRIDGE",
|
||||
|
@@ -53,6 +53,7 @@ typedef enum {
|
||||
ESL_EVENT_CHANNEL_STATE,
|
||||
ESL_EVENT_CHANNEL_ANSWER,
|
||||
ESL_EVENT_CHANNEL_HANGUP,
|
||||
ESL_EVENT_CHANNEL_HANGUP_COMPLETE,
|
||||
ESL_EVENT_CHANNEL_EXECUTE,
|
||||
ESL_EVENT_CHANNEL_EXECUTE_COMPLETE,
|
||||
ESL_EVENT_CHANNEL_BRIDGE,
|
||||
|
Reference in New Issue
Block a user