http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause
/* Causes for disconnection (from Q.931) */
- define AST_CAUSE_UNALLOCATED 1
- define AST_CAUSE_NO_ROUTE_TRANSIT_NET 2
- define AST_CAUSE_NO_ROUTE_DESTINATION 3
- define AST_CAUSE_CHANNEL_UNACCEPTABLE 6
- define AST_CAUSE_CALL_AWARDED_DELIVERED 7
- define AST_CAUSE_NORMAL_CLEARING 16
- define AST_CAUSE_USER_BUSY 17
- define AST_CAUSE_NO_USER_RESPONSE 18
- define AST_CAUSE_NO_ANSWER 19
- define AST_CAUSE_CALL_REJECTED 21
- define AST_CAUSE_NUMBER_CHANGED 22
- define AST_CAUSE_DESTINATION_OUT_OF_ORDER 27
- define AST_CAUSE_INVALID_NUMBER_FORMAT 28
- define AST_CAUSE_FACILITY_REJECTED 29
- define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY 30
- define AST_CAUSE_NORMAL_UNSPECIFIED 31
- define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION 34
- define AST_CAUSE_NETWORK_OUT_OF_ORDER 38
- define AST_CAUSE_NORMAL_TEMPORARY_FAILURE 41
- define AST_CAUSE_SWITCH_CONGESTION 42
- define AST_CAUSE_ACCESS_INFO_DISCARDED 43
- define AST_CAUSE_REQUESTED_CHAN_UNAVAIL 44
- define AST_CAUSE_PRE_EMPTED 45
- define AST_CAUSE_FACILITY_NOT_SUBSCRIBED 50
- define AST_CAUSE_OUTGOING_CALL_BARRED 52
- define AST_CAUSE_INCOMING_CALL_BARRED 54
- define AST_CAUSE_BEARERCAPABILITY_NOTAUTH 57
- define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL 58
- define AST_CAUSE_BEARERCAPABILITY_NOTIMPL 65
- define AST_CAUSE_CHAN_NOT_IMPLEMENTED 66
- define AST_CAUSE_FACILITY_NOT_IMPLEMENTED 69
- define AST_CAUSE_INVALID_CALL_REFERENCE 81
- define AST_CAUSE_INCOMPATIBLE_DESTINATION 88
- define AST_CAUSE_INVALID_MSG_UNSPECIFIED 95
- define AST_CAUSE_MANDATORY_IE_MISSING 96
- define AST_CAUSE_MESSAGE_TYPE_NONEXIST 97
- define AST_CAUSE_WRONG_MESSAGE 98
- define AST_CAUSE_IE_NONEXIST 99
- define AST_CAUSE_INVALID_IE_CONTENTS 100
- define AST_CAUSE_WRONG_CALL_STATE 101
- define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE 102
- define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR 103
- define AST_CAUSE_PROTOCOL_ERROR 111
- define AST_CAUSE_INTERWORKING 127
- define AST_CAUSE_BUSY AST_CAUSE_USER_BUSY
- define AST_CAUSE_FAILURE AST_CAUSE_NETWORK_OUT_OF_ORDER
- define AST_CAUSE_NORMAL AST_CAUSE_NORMAL_CLEARING
- define AST_CAUSE_NOANSWER AST_CAUSE_NO_ANSWER
- define AST_CAUSE_CONGESTION AST_CAUSE_NORMAL_CIRCUIT_CONGESTION
- define AST_CAUSE_NOTDEFINED 0
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Protocol Discriminator: Q.931 (8) len=13
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Call Ref: len= 2 (reference 337/0x151) (Terminator)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Message type: DISCONNECT (69)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < [08 02 82 a6]
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the local user (2)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Ext: 1 Cause: Network out of order (38), class = Network Congestion (resource unavailable) (2) ]
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < [1e 02 82 88]
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
[Jan 13 14:49:25] VERBOSE[13266] logger.c: -- Processing IE 8 (cs0, Cause)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: -- Processing IE 30 (cs0, Progress Indicator)
[Jan 13 14:49:25] VERBOSE[13266] logger.c: q931.c:3826 q931_receive: call 33105 on channel 4 enters state 12 (Disconnect Indication)
最后
以上就是朴实飞机最近收集整理的关于asterisk E1线路挂断电话的原因的全部内容,更多相关asterisk内容请搜索靠谱客的其他文章。
发表评论 取消回复