|
|
@ -513,9 +513,9 @@ struct chan_iax2_pvt {
|
|
|
|
/*! timeval that we base our delivery on */
|
|
|
|
/*! timeval that we base our delivery on */
|
|
|
|
struct timeval rxcore;
|
|
|
|
struct timeval rxcore;
|
|
|
|
/*! The jitterbuffer */
|
|
|
|
/*! The jitterbuffer */
|
|
|
|
jitterbuf *jb;
|
|
|
|
jitterbuf *jb;
|
|
|
|
/*! active jb read scheduler id */
|
|
|
|
/*! active jb read scheduler id */
|
|
|
|
int jbid;
|
|
|
|
int jbid;
|
|
|
|
/*! LAG */
|
|
|
|
/*! LAG */
|
|
|
|
int lag;
|
|
|
|
int lag;
|
|
|
|
/*! Error, as discovered by the manager */
|
|
|
|
/*! Error, as discovered by the manager */
|
|
|
@ -637,22 +637,24 @@ static AST_LIST_HEAD_STATIC(peers, iax2_peer);
|
|
|
|
|
|
|
|
|
|
|
|
static AST_LIST_HEAD_STATIC(firmwares, iax_firmware);
|
|
|
|
static AST_LIST_HEAD_STATIC(firmwares, iax_firmware);
|
|
|
|
|
|
|
|
|
|
|
|
/*! Extension exists */
|
|
|
|
enum {
|
|
|
|
#define CACHE_FLAG_EXISTS (1 << 0)
|
|
|
|
/*! Extension exists */
|
|
|
|
/*! Extension is nonexistent */
|
|
|
|
CACHE_FLAG_EXISTS = (1 << 0),
|
|
|
|
#define CACHE_FLAG_NONEXISTENT (1 << 1)
|
|
|
|
/*! Extension is nonexistent */
|
|
|
|
/*! Extension can exist */
|
|
|
|
CACHE_FLAG_NONEXISTENT = (1 << 1),
|
|
|
|
#define CACHE_FLAG_CANEXIST (1 << 2)
|
|
|
|
/*! Extension can exist */
|
|
|
|
/*! Waiting to hear back response */
|
|
|
|
CACHE_FLAG_CANEXIST = (1 << 2),
|
|
|
|
#define CACHE_FLAG_PENDING (1 << 3)
|
|
|
|
/*! Waiting to hear back response */
|
|
|
|
/*! Timed out */
|
|
|
|
CACHE_FLAG_PENDING = (1 << 3),
|
|
|
|
#define CACHE_FLAG_TIMEOUT (1 << 4)
|
|
|
|
/*! Timed out */
|
|
|
|
/*! Request transmitted */
|
|
|
|
CACHE_FLAG_TIMEOUT = (1 << 4),
|
|
|
|
#define CACHE_FLAG_TRANSMITTED (1 << 5)
|
|
|
|
/*! Request transmitted */
|
|
|
|
/*! Timeout */
|
|
|
|
CACHE_FLAG_TRANSMITTED = (1 << 5),
|
|
|
|
#define CACHE_FLAG_UNKNOWN (1 << 6)
|
|
|
|
/*! Timeout */
|
|
|
|
/*! Matchmore */
|
|
|
|
CACHE_FLAG_UNKNOWN = (1 << 6),
|
|
|
|
#define CACHE_FLAG_MATCHMORE (1 << 7)
|
|
|
|
/*! Matchmore */
|
|
|
|
|
|
|
|
CACHE_FLAG_MATCHMORE = (1 << 7),
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct iax2_dpcache {
|
|
|
|
struct iax2_dpcache {
|
|
|
|
char peercontext[AST_MAX_CONTEXT];
|
|
|
|
char peercontext[AST_MAX_CONTEXT];
|
|
|
|