summaryrefslogtreecommitdiff
path: root/include/asterisk/causes.h
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-09-12 16:52:14 +0000
committerMartin Pycko <martinp@digium.com>2003-09-12 16:52:14 +0000
commit5a894711ebadb78077ddd32338bc418db6873e23 (patch)
treee65385da8a483c5260f68e72f4caa3db955af9da /include/asterisk/causes.h
parent4828759ab85a1b9198a4d8dc7eff3da99d0a86c5 (diff)
Add the missing file for the previous commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/causes.h')
-rwxr-xr-xinclude/asterisk/causes.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/causes.h b/include/asterisk/causes.h
new file mode 100755
index 000000000..470510981
--- /dev/null
+++ b/include/asterisk/causes.h
@@ -0,0 +1,9 @@
+#define AST_CAUSE_NOTDEFINED 0
+#define AST_CAUSE_NORMAL 1
+#define AST_CAUSE_BUSY 2
+#define AST_CAUSE_FAILURE 3
+
+/* Translate the pri's cause number to asterisk's */
+int hangup_pri2cause(int cause);
+
+