aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/callerid.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-07 15:51:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-07 15:51:11 +0000
commite86c92fb1c7622293dc5b99f54a9b3af485586fe (patch)
tree5c06a8ad3ac3c209cc2a9bb131c3bea31c6871aa /include/asterisk/callerid.h
parent3396a4b9ec887e9938c24b218c93b59d40d992de (diff)
Add application to set callerid presentation (bug #2078)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3591 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/callerid.h')
-rwxr-xr-xinclude/asterisk/callerid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index 8f8df457f..486c8100a 100755
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -168,6 +168,16 @@ static inline float callerid_getcarrier(float *cr, float *ci, int bit)
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++; \