[Asterisk-cvs] asterisk/include/asterisk callerid.h,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Sat Aug 7 12:05:12 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory localhost.localdomain:/tmp/cvs-serv32513/include/asterisk
Modified Files:
callerid.h
Log Message:
Add application to set callerid presentation (bug #2078)
Index: callerid.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/callerid.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- callerid.h 29 Nov 2002 16:43:28 -0000 1.5
+++ callerid.h 7 Aug 2004 15:51:11 -0000 1.6
@@ -168,6 +168,16 @@
return *cr;
}
+#define AST_PRES_ALLOWED_USER_NUMBER_NOT_SCREENED 0x00
+#define AST_PRES_ALLOWED_USER_NUMBER_PASSED_SCREEN 0x01
+#define AST_PRES_ALLOWED_USER_NUMBER_FAILED_SCREEN 0x02
+#define AST_PRES_ALLOWED_NETWORK_NUMBER 0x03
+#define AST_PRES_PROHIB_USER_NUMBER_NOT_SCREENED 0x20
+#define AST_PRES_PROHIB_USER_NUMBER_PASSED_SCREEN 0x21
+#define AST_PRES_PROHIB_USER_NUMBER_FAILED_SCREEN 0x22
+#define AST_PRES_PROHIB_NETWORK_NUMBER 0x23
+#define AST_PRES_NUMBER_NOT_AVAILABLE 0x43
+
#define PUT_BYTE(a) do { \
*(buf++) = (a); \
bytes++; \
More information about the svn-commits
mailing list