summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-11-09 21:19:35 +0000
committerMark Spencer <markster@digium.com>2004-11-09 21:19:35 +0000
commit168d706b03d3d887497bf36555b2b290893932b2 (patch)
treeca7199e853972d8d2b8a3b3e8c8956f685f4fd29 /channels
parent369d4bfae2268e3cca74b32dc7d13ea83f1657ce (diff)
Make features programable (will require iaxy binary firmware 20 to be released soon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/iax2-provision.c4
-rwxr-xr-xchannels/iax2-provision.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/channels/iax2-provision.c b/channels/iax2-provision.c
index 7f7189af7..44000d59b 100755
--- a/channels/iax2-provision.c
+++ b/channels/iax2-provision.c
@@ -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)
diff --git a/channels/iax2-provision.h b/channels/iax2-provision.h
index 3caaa5d31..efd775d63 100755
--- a/channels/iax2-provision.h
+++ b/channels/iax2-provision.h
@@ -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);