mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
add reset state (make sure you do full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5493 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -53,7 +53,8 @@ typedef enum {
|
||||
SWITCH_SHN_ON_LOOPBACK,
|
||||
SWITCH_SHN_ON_TRANSMIT,
|
||||
SWITCH_SHN_ON_HOLD,
|
||||
SWITCH_SHN_ON_HIBERNATE
|
||||
SWITCH_SHN_ON_HIBERNATE,
|
||||
SWITCH_SHN_ON_RESET,
|
||||
} switch_state_handler_name_t;
|
||||
|
||||
struct switch_state_handler_table {
|
||||
@@ -73,6 +74,8 @@ struct switch_state_handler_table {
|
||||
switch_state_handler_t on_hold;
|
||||
/*! executed when the state changes to hibernate */
|
||||
switch_state_handler_t on_hibernate;
|
||||
/*! executed when the state changes to reset */
|
||||
switch_state_handler_t on_reset;
|
||||
void *padding[10];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user