/
hangups.go
51 lines (50 loc) · 1.99 KB
/
hangups.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package ari
const AST_CAUSE_UNALLOCATED = 1
const AST_CAUSE_NO_ROUTE_TRANSIT_NET = 2
const AST_CAUSE_NO_ROUTE_DESTINATION = 3
const AST_CAUSE_MISDIALLED_TRUNK_PREFIX = 5
const AST_CAUSE_CHANNEL_UNACCEPTABLE = 6
const AST_CAUSE_CALL_AWARDED_DELIVERED = 7
const AST_CAUSE_PRE_EMPTED = 8
const AST_CAUSE_NUMBER_PORTED_NOT_HERE = 14
const AST_CAUSE_NORMAL_CLEARING = 16
const AST_CAUSE_USER_BUSY = 17
const AST_CAUSE_NO_USER_RESPONSE = 18
const AST_CAUSE_NO_ANSWER = 19
const AST_CAUSE_SUBSCRIBER_ABSENT = 20
const AST_CAUSE_CALL_REJECTED = 21
const AST_CAUSE_NUMBER_CHANGED = 22
const AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION = 23
const AST_CAUSE_ANSWERED_ELSEWHERE = 26
const AST_CAUSE_DESTINATION_OUT_OF_ORDER = 27
const AST_CAUSE_INVALID_NUMBER_FORMAT = 28
const AST_CAUSE_FACILITY_REJECTED = 29
const AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY = 30
const AST_CAUSE_NORMAL_UNSPECIFIED = 31
const AST_CAUSE_NORMAL_CIRCUIT_CONGESTION = 34
const AST_CAUSE_NETWORK_OUT_OF_ORDER = 38
const AST_CAUSE_NORMAL_TEMPORARY_FAILURE = 41
const AST_CAUSE_SWITCH_CONGESTION = 42
const AST_CAUSE_ACCESS_INFO_DISCARDED = 43
const AST_CAUSE_REQUESTED_CHAN_UNAVAIL = 44
const AST_CAUSE_FACILITY_NOT_SUBSCRIBED = 50
const AST_CAUSE_OUTGOING_CALL_BARRED = 52
const AST_CAUSE_INCOMING_CALL_BARRED = 54
const AST_CAUSE_BEARERCAPABILITY_NOTAUTH = 57
const AST_CAUSE_BEARERCAPABILITY_NOTAVAIL = 58
const AST_CAUSE_BEARERCAPABILITY_NOTIMPL = 65
const AST_CAUSE_CHAN_NOT_IMPLEMENTED = 66
const AST_CAUSE_FACILITY_NOT_IMPLEMENTED = 69
const AST_CAUSE_INVALID_CALL_REFERENCE = 81
const AST_CAUSE_INCOMPATIBLE_DESTINATION = 88
const AST_CAUSE_INVALID_MSG_UNSPECIFIED = 95
const AST_CAUSE_MANDATORY_IE_MISSING = 96
const AST_CAUSE_MESSAGE_TYPE_NONEXIST = 97
const AST_CAUSE_WRONG_MESSAGE = 98
const AST_CAUSE_IE_NONEXIST = 99
const AST_CAUSE_INVALID_IE_CONTENTS = 100
const AST_CAUSE_WRONG_CALL_STATE = 101
const AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE = 102
const AST_CAUSE_MANDATORY_IE_LENGTH_ERROR = 103
const AST_CAUSE_PROTOCOL_ERROR = 111
const AST_CAUSE_INTERWORKING = 127