mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
make device state code more accurate
Conflicts: src/switch_core_state_machine.c
This commit is contained in:
@@ -100,6 +100,9 @@ typedef struct switch_device_stats_s {
|
||||
uint32_t held;
|
||||
uint32_t held_in;
|
||||
uint32_t held_out;
|
||||
uint32_t unheld;
|
||||
uint32_t unheld_in;
|
||||
uint32_t unheld_out;
|
||||
uint32_t hup;
|
||||
uint32_t hup_in;
|
||||
uint32_t hup_out;
|
||||
|
||||
@@ -1120,7 +1120,7 @@ typedef enum {
|
||||
CCS_HELD,
|
||||
CCS_RING_WAIT,
|
||||
CCS_HANGUP,
|
||||
CCS_UNHOLD
|
||||
CCS_UNHELD
|
||||
} switch_channel_callstate_t;
|
||||
|
||||
typedef enum {
|
||||
@@ -1129,6 +1129,7 @@ typedef enum {
|
||||
SDS_ACTIVE,
|
||||
SDS_ACTIVE_MULTI,
|
||||
SDS_HELD,
|
||||
SDS_UNHELD,
|
||||
SDS_HANGUP
|
||||
} switch_device_state_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user