fix channel sig status enum to string converter

git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@887 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva
2009-11-19 21:20:19 +00:00
parent c9223883dc
commit f1eadddd31
2 changed files with 6 additions and 2 deletions

View File

@@ -195,9 +195,11 @@ typedef enum {
/* The channel signaling link is suspended (MFC-R2 bit pattern blocked, ss7 blocked?) */
ZAP_SIG_STATE_SUSPENDED,
/* The channel signaling link is ready and calls can be placed */
ZAP_SIG_STATE_UP
ZAP_SIG_STATE_UP,
/* Invalid status */
ZAP_SIG_STATE_INVALID
} zap_channel_sig_status_t;
#define SIGSTATUS_STRINGS "DOWN", "SUSPENDED", "UP"
#define SIGSTATUS_STRINGS "DOWN", "SUSPENDED", "UP", "INVALID"
ZAP_STR2ENUM_P(zap_str2zap_channel_sig_status, zap_sig_status2str, zap_channel_sig_status_t)
typedef enum {