Asterisk - The Open Source Telephony Project GIT-master-d856a3e
causes.h File Reference

Internal Asterisk hangup causes. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Causes for disconnection (from Q.850/Q.931)

These are the internal cause codes used in Asterisk. Hangup Causes for Asterisk

#define AST_CAUSE_ACCESS_INFO_DISCARDED   43
 
#define AST_CAUSE_ANSWERED_ELSEWHERE   26
 
#define AST_CAUSE_BEARERCAPABILITY_NOTAUTH   57
 
#define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL   58
 
#define AST_CAUSE_BEARERCAPABILITY_NOTIMPL   65
 
#define AST_CAUSE_BUSY   AST_CAUSE_USER_BUSY
 
#define AST_CAUSE_CALL_AWARDED_DELIVERED   7
 
#define AST_CAUSE_CALL_REJECTED   21
 
#define AST_CAUSE_CHAN_NOT_IMPLEMENTED   66
 
#define AST_CAUSE_CHANNEL_UNACCEPTABLE   6
 
#define AST_CAUSE_CONGESTION   AST_CAUSE_NORMAL_CIRCUIT_CONGESTION
 
#define AST_CAUSE_DESTINATION_OUT_OF_ORDER   27
 
#define AST_CAUSE_FACILITY_NOT_IMPLEMENTED   69
 
#define AST_CAUSE_FACILITY_NOT_SUBSCRIBED   50
 
#define AST_CAUSE_FACILITY_REJECTED   29
 
#define AST_CAUSE_FAILURE   AST_CAUSE_NETWORK_OUT_OF_ORDER
 
#define AST_CAUSE_IE_NONEXIST   99
 
#define AST_CAUSE_INCOMING_CALL_BARRED   54
 
#define AST_CAUSE_INCOMPATIBLE_DESTINATION   88
 
#define AST_CAUSE_INTERWORKING   127
 
#define AST_CAUSE_INVALID_CALL_REFERENCE   81
 
#define AST_CAUSE_INVALID_IE_CONTENTS   100
 
#define AST_CAUSE_INVALID_MSG_UNSPECIFIED   95
 
#define AST_CAUSE_INVALID_NUMBER_FORMAT   28
 
#define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR   103
 
#define AST_CAUSE_MANDATORY_IE_MISSING   96
 
#define AST_CAUSE_MESSAGE_TYPE_NONEXIST   97
 
#define AST_CAUSE_MISDIALLED_TRUNK_PREFIX   5
 
#define AST_CAUSE_NETWORK_OUT_OF_ORDER   38
 
#define AST_CAUSE_NO_ANSWER   19
 
#define AST_CAUSE_NO_ROUTE_DESTINATION   3
 
#define AST_CAUSE_NO_ROUTE_TRANSIT_NET   2
 
#define AST_CAUSE_NO_USER_RESPONSE   18
 
#define AST_CAUSE_NOANSWER   AST_CAUSE_NO_ANSWER
 
#define AST_CAUSE_NORMAL   AST_CAUSE_NORMAL_CLEARING
 
#define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION   34
 
#define AST_CAUSE_NORMAL_CLEARING   16
 
#define AST_CAUSE_NORMAL_TEMPORARY_FAILURE   41
 
#define AST_CAUSE_NORMAL_UNSPECIFIED   31
 
#define AST_CAUSE_NOSUCHDRIVER   AST_CAUSE_CHAN_NOT_IMPLEMENTED
 
#define AST_CAUSE_NOTDEFINED   0
 
#define AST_CAUSE_NUMBER_CHANGED   22
 
#define AST_CAUSE_NUMBER_PORTED_NOT_HERE   14
 
#define AST_CAUSE_OUTGOING_CALL_BARRED   52
 
#define AST_CAUSE_PRE_EMPTED   8
 
#define AST_CAUSE_PROTOCOL_ERROR   111
 
#define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE   102
 
#define AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION   23
 
#define AST_CAUSE_REQUESTED_CHAN_UNAVAIL   44
 
#define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY   30
 
#define AST_CAUSE_SUBSCRIBER_ABSENT   20
 
#define AST_CAUSE_SWITCH_CONGESTION   42
 
#define AST_CAUSE_UNALLOCATED   1
 
#define AST_CAUSE_UNREGISTERED   AST_CAUSE_SUBSCRIBER_ABSENT
 
#define AST_CAUSE_USER_BUSY   17
 
#define AST_CAUSE_WRONG_CALL_STATE   101
 
#define AST_CAUSE_WRONG_MESSAGE   98
 

Detailed Description

Internal Asterisk hangup causes.

Definition in file causes.h.

Macro Definition Documentation

◆ AST_CAUSE_ACCESS_INFO_DISCARDED

#define AST_CAUSE_ACCESS_INFO_DISCARDED   43

Definition at line 124 of file causes.h.

◆ AST_CAUSE_ANSWERED_ELSEWHERE

#define AST_CAUSE_ANSWERED_ELSEWHERE   26

Definition at line 114 of file causes.h.

◆ AST_CAUSE_BEARERCAPABILITY_NOTAUTH

#define AST_CAUSE_BEARERCAPABILITY_NOTAUTH   57

Definition at line 129 of file causes.h.

◆ AST_CAUSE_BEARERCAPABILITY_NOTAVAIL

#define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL   58

Definition at line 130 of file causes.h.

◆ AST_CAUSE_BEARERCAPABILITY_NOTIMPL

#define AST_CAUSE_BEARERCAPABILITY_NOTIMPL   65

Definition at line 131 of file causes.h.

◆ AST_CAUSE_BUSY

#define AST_CAUSE_BUSY   AST_CAUSE_USER_BUSY

Definition at line 149 of file causes.h.

◆ AST_CAUSE_CALL_AWARDED_DELIVERED

#define AST_CAUSE_CALL_AWARDED_DELIVERED   7

Definition at line 103 of file causes.h.

◆ AST_CAUSE_CALL_REJECTED

#define AST_CAUSE_CALL_REJECTED   21

Definition at line 111 of file causes.h.

◆ AST_CAUSE_CHAN_NOT_IMPLEMENTED

#define AST_CAUSE_CHAN_NOT_IMPLEMENTED   66

Definition at line 132 of file causes.h.

◆ AST_CAUSE_CHANNEL_UNACCEPTABLE

#define AST_CAUSE_CHANNEL_UNACCEPTABLE   6

Definition at line 102 of file causes.h.

◆ AST_CAUSE_CONGESTION

#define AST_CAUSE_CONGESTION   AST_CAUSE_NORMAL_CIRCUIT_CONGESTION

Definition at line 153 of file causes.h.

◆ AST_CAUSE_DESTINATION_OUT_OF_ORDER

#define AST_CAUSE_DESTINATION_OUT_OF_ORDER   27

Definition at line 115 of file causes.h.

◆ AST_CAUSE_FACILITY_NOT_IMPLEMENTED

#define AST_CAUSE_FACILITY_NOT_IMPLEMENTED   69

Definition at line 133 of file causes.h.

◆ AST_CAUSE_FACILITY_NOT_SUBSCRIBED

#define AST_CAUSE_FACILITY_NOT_SUBSCRIBED   50

Definition at line 126 of file causes.h.

◆ AST_CAUSE_FACILITY_REJECTED

#define AST_CAUSE_FACILITY_REJECTED   29

Definition at line 117 of file causes.h.

◆ AST_CAUSE_FAILURE

#define AST_CAUSE_FAILURE   AST_CAUSE_NETWORK_OUT_OF_ORDER

Definition at line 150 of file causes.h.

◆ AST_CAUSE_IE_NONEXIST

#define AST_CAUSE_IE_NONEXIST   99

Definition at line 140 of file causes.h.

◆ AST_CAUSE_INCOMING_CALL_BARRED

#define AST_CAUSE_INCOMING_CALL_BARRED   54

Definition at line 128 of file causes.h.

◆ AST_CAUSE_INCOMPATIBLE_DESTINATION

#define AST_CAUSE_INCOMPATIBLE_DESTINATION   88

Definition at line 135 of file causes.h.

◆ AST_CAUSE_INTERWORKING

#define AST_CAUSE_INTERWORKING   127

Definition at line 146 of file causes.h.

◆ AST_CAUSE_INVALID_CALL_REFERENCE

#define AST_CAUSE_INVALID_CALL_REFERENCE   81

Definition at line 134 of file causes.h.

◆ AST_CAUSE_INVALID_IE_CONTENTS

#define AST_CAUSE_INVALID_IE_CONTENTS   100

Definition at line 141 of file causes.h.

◆ AST_CAUSE_INVALID_MSG_UNSPECIFIED

#define AST_CAUSE_INVALID_MSG_UNSPECIFIED   95

Definition at line 136 of file causes.h.

◆ AST_CAUSE_INVALID_NUMBER_FORMAT

#define AST_CAUSE_INVALID_NUMBER_FORMAT   28

Definition at line 116 of file causes.h.

◆ AST_CAUSE_MANDATORY_IE_LENGTH_ERROR

#define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR   103

Definition at line 144 of file causes.h.

◆ AST_CAUSE_MANDATORY_IE_MISSING

#define AST_CAUSE_MANDATORY_IE_MISSING   96

Definition at line 137 of file causes.h.

◆ AST_CAUSE_MESSAGE_TYPE_NONEXIST

#define AST_CAUSE_MESSAGE_TYPE_NONEXIST   97

Definition at line 138 of file causes.h.

◆ AST_CAUSE_MISDIALLED_TRUNK_PREFIX

#define AST_CAUSE_MISDIALLED_TRUNK_PREFIX   5

Definition at line 101 of file causes.h.

◆ AST_CAUSE_NETWORK_OUT_OF_ORDER

#define AST_CAUSE_NETWORK_OUT_OF_ORDER   38

Definition at line 121 of file causes.h.

◆ AST_CAUSE_NO_ANSWER

#define AST_CAUSE_NO_ANSWER   19

Definition at line 109 of file causes.h.

◆ AST_CAUSE_NO_ROUTE_DESTINATION

#define AST_CAUSE_NO_ROUTE_DESTINATION   3

Definition at line 100 of file causes.h.

◆ AST_CAUSE_NO_ROUTE_TRANSIT_NET

#define AST_CAUSE_NO_ROUTE_TRANSIT_NET   2

Definition at line 99 of file causes.h.

◆ AST_CAUSE_NO_USER_RESPONSE

#define AST_CAUSE_NO_USER_RESPONSE   18

Definition at line 108 of file causes.h.

◆ AST_CAUSE_NOANSWER

#define AST_CAUSE_NOANSWER   AST_CAUSE_NO_ANSWER

Definition at line 152 of file causes.h.

◆ AST_CAUSE_NORMAL

#define AST_CAUSE_NORMAL   AST_CAUSE_NORMAL_CLEARING

Definition at line 151 of file causes.h.

◆ AST_CAUSE_NORMAL_CIRCUIT_CONGESTION

#define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION   34

Definition at line 120 of file causes.h.

◆ AST_CAUSE_NORMAL_CLEARING

#define AST_CAUSE_NORMAL_CLEARING   16

Definition at line 106 of file causes.h.

◆ AST_CAUSE_NORMAL_TEMPORARY_FAILURE

#define AST_CAUSE_NORMAL_TEMPORARY_FAILURE   41

Definition at line 122 of file causes.h.

◆ AST_CAUSE_NORMAL_UNSPECIFIED

#define AST_CAUSE_NORMAL_UNSPECIFIED   31

Definition at line 119 of file causes.h.

◆ AST_CAUSE_NOSUCHDRIVER

#define AST_CAUSE_NOSUCHDRIVER   AST_CAUSE_CHAN_NOT_IMPLEMENTED

Definition at line 156 of file causes.h.

◆ AST_CAUSE_NOTDEFINED

#define AST_CAUSE_NOTDEFINED   0

Definition at line 155 of file causes.h.

◆ AST_CAUSE_NUMBER_CHANGED

#define AST_CAUSE_NUMBER_CHANGED   22

Definition at line 112 of file causes.h.

◆ AST_CAUSE_NUMBER_PORTED_NOT_HERE

#define AST_CAUSE_NUMBER_PORTED_NOT_HERE   14

Definition at line 105 of file causes.h.

◆ AST_CAUSE_OUTGOING_CALL_BARRED

#define AST_CAUSE_OUTGOING_CALL_BARRED   52

Definition at line 127 of file causes.h.

◆ AST_CAUSE_PRE_EMPTED

#define AST_CAUSE_PRE_EMPTED   8

Definition at line 104 of file causes.h.

◆ AST_CAUSE_PROTOCOL_ERROR

#define AST_CAUSE_PROTOCOL_ERROR   111

Definition at line 145 of file causes.h.

◆ AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE

#define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE   102

Definition at line 143 of file causes.h.

◆ AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION

#define AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION   23

Definition at line 113 of file causes.h.

◆ AST_CAUSE_REQUESTED_CHAN_UNAVAIL

#define AST_CAUSE_REQUESTED_CHAN_UNAVAIL   44

Definition at line 125 of file causes.h.

◆ AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY

#define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY   30

Definition at line 118 of file causes.h.

◆ AST_CAUSE_SUBSCRIBER_ABSENT

#define AST_CAUSE_SUBSCRIBER_ABSENT   20

Definition at line 110 of file causes.h.

◆ AST_CAUSE_SWITCH_CONGESTION

#define AST_CAUSE_SWITCH_CONGESTION   42

Definition at line 123 of file causes.h.

◆ AST_CAUSE_UNALLOCATED

#define AST_CAUSE_UNALLOCATED   1

Definition at line 98 of file causes.h.

◆ AST_CAUSE_UNREGISTERED

#define AST_CAUSE_UNREGISTERED   AST_CAUSE_SUBSCRIBER_ABSENT

Definition at line 154 of file causes.h.

◆ AST_CAUSE_USER_BUSY

#define AST_CAUSE_USER_BUSY   17

Definition at line 107 of file causes.h.

◆ AST_CAUSE_WRONG_CALL_STATE

#define AST_CAUSE_WRONG_CALL_STATE   101

Definition at line 142 of file causes.h.

◆ AST_CAUSE_WRONG_MESSAGE

#define AST_CAUSE_WRONG_MESSAGE   98

Definition at line 139 of file causes.h.