Fix a tiny thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
5a894711eb
commit
3bd044c236
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue