Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

causes.h

Go to the documentation of this file.
00001 /* 00002 * Asterisk -- A telephony toolkit for Linux. 00003 * 00004 * Internal Asterisk's hangup causes 00005 * 00006 * Copyright (C) 2003, Digium 00007 * 00008 * Martin Pycko <martinp@digium.com> 00009 * 00010 * This program is free software, distributed under the terms of 00011 * the GNU General Public License 00012 */ 00013 00014 #ifndef _ASTERISK_CAUSES_H 00015 #define _ASTERISK_CAUSES_H 00016 00017 /* Causes for disconnection (from Q.931) */ 00018 #define AST_CAUSE_UNALLOCATED 1 00019 #define AST_CAUSE_NO_ROUTE_TRANSIT_NET 2 00020 #define AST_CAUSE_NO_ROUTE_DESTINATION 3 00021 #define AST_CAUSE_CHANNEL_UNACCEPTABLE 6 00022 #define AST_CAUSE_CALL_AWARDED_DELIVERED 7 00023 #define AST_CAUSE_NORMAL_CLEARING 16 00024 #define AST_CAUSE_USER_BUSY 17 00025 #define AST_CAUSE_NO_USER_RESPONSE 18 00026 #define AST_CAUSE_NO_ANSWER 19 00027 #define AST_CAUSE_CALL_REJECTED 21 00028 #define AST_CAUSE_NUMBER_CHANGED 22 00029 #define AST_CAUSE_DESTINATION_OUT_OF_ORDER 27 00030 #define AST_CAUSE_INVALID_NUMBER_FORMAT 28 00031 #define AST_CAUSE_FACILITY_REJECTED 29 00032 #define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY 30 00033 #define AST_CAUSE_NORMAL_UNSPECIFIED 31 00034 #define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION 34 00035 #define AST_CAUSE_NETWORK_OUT_OF_ORDER 38 00036 #define AST_CAUSE_NORMAL_TEMPORARY_FAILURE 41 00037 #define AST_CAUSE_SWITCH_CONGESTION 42 00038 #define AST_CAUSE_ACCESS_INFO_DISCARDED 43 00039 #define AST_CAUSE_REQUESTED_CHAN_UNAVAIL 44 00040 #define AST_CAUSE_PRE_EMPTED 45 00041 #define AST_CAUSE_FACILITY_NOT_SUBSCRIBED 50 00042 #define AST_CAUSE_OUTGOING_CALL_BARRED 52 00043 #define AST_CAUSE_INCOMING_CALL_BARRED 54 00044 #define AST_CAUSE_BEARERCAPABILITY_NOTAUTH 57 00045 #define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL 58 00046 #define AST_CAUSE_BEARERCAPABILITY_NOTIMPL 65 00047 #define AST_CAUSE_CHAN_NOT_IMPLEMENTED 66 00048 #define AST_CAUSE_FACILITY_NOT_IMPLEMENTED 69 00049 #define AST_CAUSE_INVALID_CALL_REFERENCE 81 00050 #define AST_CAUSE_INCOMPATIBLE_DESTINATION 88 00051 #define AST_CAUSE_INVALID_MSG_UNSPECIFIED 95 00052 #define AST_CAUSE_MANDATORY_IE_MISSING 96 00053 #define AST_CAUSE_MESSAGE_TYPE_NONEXIST 97 00054 #define AST_CAUSE_WRONG_MESSAGE 98 00055 #define AST_CAUSE_IE_NONEXIST 99 00056 #define AST_CAUSE_INVALID_IE_CONTENTS 100 00057 #define AST_CAUSE_WRONG_CALL_STATE 101 00058 #define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE 102 00059 #define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR 103 00060 #define AST_CAUSE_PROTOCOL_ERROR 111 00061 #define AST_CAUSE_INTERWORKING 127 00062 00063 /* Special Asterisk aliases */ 00064 #define AST_CAUSE_BUSY AST_CAUSE_USER_BUSY 00065 #define AST_CAUSE_FAILURE AST_CAUSE_NETWORK_OUT_OF_ORDER 00066 #define AST_CAUSE_NORMAL AST_CAUSE_NORMAL_CLEARING 00067 #define AST_CAUSE_NOANSWER AST_CAUSE_NO_ANSWER 00068 #define AST_CAUSE_CONGESTION AST_CAUSE_NORMAL_CIRCUIT_CONGESTION 00069 #define AST_CAUSE_NOTDEFINED 0 00070 00071 #endif

Generated on Fri Sep 24 21:03:46 2004 for Asterisk by doxygen 1.3.8