Make features programable (will require iaxy binary firmware 20 to be released soon)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4197 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
52a812d4e2
commit
03e851531a
|
@ -65,6 +65,10 @@ static struct iax_flag {
|
|||
{ "secure", PROV_FLAG_SECURE },
|
||||
{ "heartbeat", PROV_FLAG_HEARTBEAT },
|
||||
{ "debug", PROV_FLAG_DEBUG },
|
||||
{ "disablecid", PROV_FLAG_DIS_CALLERID },
|
||||
{ "disablecw", PROV_FLAG_DIS_CALLWAIT },
|
||||
{ "disablecidcw", PROV_FLAG_DIS_CIDCW },
|
||||
{ "disable3way", PROV_FLAG_DIS_THREEWAY },
|
||||
};
|
||||
|
||||
char *iax_provflags2str(char *buf, int buflen, unsigned int flags)
|
||||
|
|
|
@ -36,6 +36,11 @@
|
|||
#define PROV_FLAG_HEARTBEAT (1 << 2)
|
||||
#define PROV_FLAG_DEBUG (1 << 3)
|
||||
|
||||
#define PROV_FLAG_DIS_CALLERID (1 << 4) /* Caller-ID Disabled */
|
||||
#define PROV_FLAG_DIS_CALLWAIT (1 << 5) /* Caller-ID / Call Waiting Disable */
|
||||
#define PROV_FLAG_DIS_CIDCW (1 << 6) /* CID/CW Disabled */
|
||||
#define PROV_FLAG_DIS_THREEWAY (1 << 7) /* Three-way calling, transfer disabled */
|
||||
|
||||
extern char *iax_provflags2str(char *buf, int buflen, unsigned int flags);
|
||||
extern int iax_provision_reload(void);
|
||||
extern int iax_provision_unload(void);
|
||||
|
|
Reference in New Issue