aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/causes.h
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-12 16:52:14 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-12 16:52:14 +0000
commit631369f3da1463f7d4e70f1f459c7f2924bcd470 (patch)
treee65385da8a483c5260f68e72f4caa3db955af9da /include/asterisk/causes.h
parentda1033cad245fbad3570aab1b49ddba9eb010d6e (diff)
Add the missing file for the previous commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1500 f38db490-d61c-443f-a65b-d21fe96a405b
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);
+
+