mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
freetdm: fix boost glare invalid state transition
show physical status in ftdm list command update list of events
This commit is contained in:
@@ -292,9 +292,9 @@ typedef enum {
|
||||
FTDM_SIGEVENT_SIGSTATUS_CHANGED, /*!< Signaling protocol status changed (ie: D-chan up), see new status in raw_data ftdm_sigmsg_t member */
|
||||
FTDM_SIGEVENT_INVALID
|
||||
} ftdm_signal_event_t;
|
||||
#define SIGNAL_STRINGS "START", "STOP", "TRANSFER", "ANSWER", "UP", "FLASH", "PROGRESS", \
|
||||
"PROGRESS_MEDIA", "NOTIFY", "TONE_DETECTED", "ALARM_TRAP", "ALARM_CLEAR", "MISC", \
|
||||
"COLLECTED_DIGIT", "ADD_CALL", "RESTART", "SIGLINK_CHANGED", "INVALID"
|
||||
#define SIGNAL_STRINGS "START", "STOP", "ANSWER", "UP", "FLASH", "PROGRESS", \
|
||||
"PROGRESS_MEDIA", "TONE_DETECTED", "ALARM_TRAP", "ALARM_CLEAR", \
|
||||
"COLLECTED_DIGIT", "ADD_CALL", "RESTART", "SIGSTATUS_CHANGED", "INVALID"
|
||||
|
||||
/*! \brief Move from string to ftdm_signal_event_t and viceversa */
|
||||
FTDM_STR2ENUM_P(ftdm_str2ftdm_signal_event, ftdm_signal_event2str, ftdm_signal_event_t)
|
||||
|
@@ -119,8 +119,21 @@ typedef int ftdm_socket_t;
|
||||
#include <stdarg.h>
|
||||
#endif
|
||||
|
||||
/*!
|
||||
* \brief FreeTDM channel.
|
||||
* This is the basic data structure used to place calls and I/O operations
|
||||
*/
|
||||
typedef struct ftdm_channel ftdm_channel_t;
|
||||
|
||||
/*!
|
||||
* \brief FreeTDM span.
|
||||
* Channel and signaling configuration container.
|
||||
* This is a logical span structure, a span may ( or may note ) contain channels
|
||||
* of other physical spans, depending on configuration (freetdm.conf) or if you
|
||||
* are not using configuration depends on how you call ftdm_span_add_channel
|
||||
*/
|
||||
typedef struct ftdm_span ftdm_span_t;
|
||||
|
||||
typedef struct ftdm_event ftdm_event_t;
|
||||
typedef struct ftdm_conf_node ftdm_conf_node_t;
|
||||
typedef struct ftdm_group ftdm_group_t;
|
||||
|
@@ -136,8 +136,8 @@ typedef __int16 int16_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <libteletone_generate.h>
|
||||
#include <libteletone_detect.h>
|
||||
#include "libteletone_generate.h"
|
||||
#include "libteletone_detect.h"
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
|
@@ -63,7 +63,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <libteletone.h>
|
||||
#include "libteletone.h"
|
||||
|
||||
/*! \file libteletone_detect.h
|
||||
\brief Tone Detection Routines
|
||||
|
@@ -81,7 +81,7 @@ extern float powf (float, float);
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#include <stdarg.h>
|
||||
#include <libteletone.h>
|
||||
#include "libteletone.h"
|
||||
|
||||
#define TELETONE_VOL_DB_MAX 0
|
||||
#define TELETONE_VOL_DB_MIN -63
|
||||
|
Reference in New Issue
Block a user