#define CANPROGRESSDETECT(p) (ISTRUNK(p) || (p->sig & (SIG_EM | SIG_SF)) /* || (p->sig & __ZT_SIG_FXO) */)
/* translate between PRI causes and asterisk's */
-int hangup_pri2cause(int cause)
+static int hangup_pri2cause(int cause)
{
switch(cause) {
#ifdef ZAPATA_PRI
+/*
+ * Asterisk -- A telephony toolkit for Linux.
+ *
+ * Internal Asterisk's hangup causes
+ *
+ * Copyright (C) 2003, Digium
+ *
+ * Martin Pycko <martinp@digium.com>
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License
+ */
+
+
#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);
-