dect
/
asterisk
Archived
13
0
Fork 0

Fix a tiny thing

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1501 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-09-12 17:09:44 +00:00
parent 631369f3da
commit 77dab1ff4f
2 changed files with 15 additions and 4 deletions

View File

@ -500,7 +500,7 @@ static int cidrings[] = {
#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

View File

@ -1,9 +1,20 @@
/*
* 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);