make device state code more accurate

Conflicts:
	src/switch_core_state_machine.c
This commit is contained in:
Anthony Minessale
2014-05-31 00:30:59 +05:00
parent 50c27075ec
commit e3c1425b9b
5 changed files with 55 additions and 27 deletions
+3
View File
@@ -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;
+2 -1
View File
@@ -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;