diff options
author | Martin Pycko <martinp@digium.com> | 2003-09-12 17:09:44 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2003-09-12 17:09:44 +0000 |
commit | 3bd044c236b8d1b8fb61f91070b3f9b435ddc52e (patch) | |
tree | 857f1d39b940a0ad73aae912a956c81eaca46873 | |
parent | 5a894711ebadb78077ddd32338bc418db6873e23 (diff) |
Fix a tiny thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channels/chan_zap.c | 2 | ||||
-rwxr-xr-x | include/asterisk/causes.h | 17 |
2 files changed, 15 insertions, 4 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 284f70f43..834f9b2bf 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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 diff --git a/include/asterisk/causes.h b/include/asterisk/causes.h index 470510981..851362882 100755 --- a/include/asterisk/causes.h +++ b/include/asterisk/causes.h @@ -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); - |