[Asterisk-cvs] asterisk/channels iax2-provision.c, 1.6,
1.7 iax2-provision.h, 1.2, 1.3
markster at lists.digium.com
markster at lists.digium.com
Tue Nov 9 16:18:05 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv23796/channels
Modified Files:
iax2-provision.c iax2-provision.h
Log Message:
Make features programable (will require iaxy binary firmware 20 to be released soon)
Index: iax2-provision.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-provision.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- iax2-provision.c 17 Aug 2004 23:57:36 -0000 1.6
+++ iax2-provision.c 9 Nov 2004 21:19:35 -0000 1.7
@@ -65,6 +65,10 @@
{ "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)
Index: iax2-provision.h
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-provision.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- iax2-provision.h 9 Jul 2004 07:37:44 -0000 1.2
+++ iax2-provision.h 9 Nov 2004 21:19:35 -0000 1.3
@@ -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);
More information about the svn-commits
mailing list