mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
make device state code more accurate
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;
|
||||
|
||||
@@ -1184,7 +1184,7 @@ typedef enum {
|
||||
CCS_HELD,
|
||||
CCS_RING_WAIT,
|
||||
CCS_HANGUP,
|
||||
CCS_UNHOLD
|
||||
CCS_UNHELD
|
||||
} switch_channel_callstate_t;
|
||||
|
||||
typedef enum {
|
||||
@@ -1193,6 +1193,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