mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Add ZAP_TON_* (taken from Q931.h, drop Q921.h and Q931.h include from openzap.h and fixup all users of the old Q931_TON_ enum values)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@707 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -167,8 +167,6 @@
|
||||
#include "libteletone.h"
|
||||
#include "zap_buffer.h"
|
||||
#include "zap_threadmutex.h"
|
||||
#include "Q921.h"
|
||||
#include "Q931.h"
|
||||
|
||||
#define XX if (0)
|
||||
|
||||
@@ -410,6 +408,19 @@ struct zap_fsk_modulator {
|
||||
int16_t sample_buffer[64];
|
||||
};
|
||||
|
||||
/**
|
||||
* Type Of Number (TON)
|
||||
*/
|
||||
typedef enum {
|
||||
ZAP_TON_UNKNOWN = 0,
|
||||
ZAP_TON_INTERNATIONAL,
|
||||
ZAP_TON_NATIONAL,
|
||||
ZAP_TON_NETWORK_SPECIFIC,
|
||||
ZAP_TON_SUBSCRIBER_NUMBER,
|
||||
ZAP_TON_ABBREVIATED_NUMBER,
|
||||
ZAP_TON_RESERVED
|
||||
} zap_ton_t;
|
||||
|
||||
typedef struct {
|
||||
char digits[25];
|
||||
uint8_t type;
|
||||
|
Reference in New Issue
Block a user