Производит отбой канала с дополнительным кодом причины.
<action application="hangup" data="USER_BUSY"/>
<action application="hangup" data="NORMAL_CLEARING"/>
Если вы используете hangup после bridge, то код причины будет подменен кодом причины завершения bridge. Вы можете исправить это используя директиву: sip_ignore_remote_cause=true
ITU-T Q.850 standard | SIP Protocol Messages | Итоговый вывод |
0 | UNSPECIFIED | |
1 | 404 | UNALLOCATED_NUMBER |
2 | 404 | NO_ROUTE_TRANSIT_NET |
3 | 404 | NO_ROUTE_DESTINATION |
6 | CHANNEL_UNACCEPTABLE | |
7 | CALL_AWARDED_DELIVERED | |
16 | NORMAL_CLEARING | |
17 | 486 | USER_BUSY |
18 | 408 | NO_USER_RESPONSE |
19 | 480 | NO_ANSWER |
20 | 480 | SUBSCRIBER_ABSENT |
21 | 603 | CALL_REJECTED |
22 | 410 | NUMBER_CHANGED |
23 | 410 | REDIRECTION_TO_NEW_DESTINATION |
25 | 483 | EXCHANGE_ROUTING_ERROR |
27 | 502 | DESTINATION_OUT_OF_ORDER |
28 | 484 | INVALID_NUMBER_FORMAT |
29 | 501 | FACILITY_REJECTED |
30 | RESPONSE_TO_STATUS_ENQUIRY | |
31 | 480 | NORMAL_UNSPECIFIED |
34 | 503 | NORMAL_CIRCUIT_CONGESTION |
38 | 503 | NETWORK_OUT_OF_ORDER |
41 | 503 | NORMAL_TEMPORARY_FAILURE |
42 | 503 | SWITCH_CONGESTION |
43 | ACCESS_INFO_DISCARDED | |
44 | 503 | REQUESTED_CHAN_UNAVAIL |
45 | PRE_EMPTED | |
47 | ||
50 | FACILITY_NOT_SUBSCRIBED | |
52 | 403 | OUTGOING_CALL_BARRED |
54 | 403 | INCOMING_CALL_BARRED |
57 | 403 | BEARERCAPABILITY_NOTAUTH |
58 | 503 | BEARERCAPABILITY_NOTAVAIL |
63 | SERVICE_UNAVAILABLE | |
65 | 488 | BEARERCAPABILITY_NOTIMPL |
66 | CHAN_NOT_IMPLEMENTED | |
69 | 501 | FACILITY_NOT_IMPLEMENTED |
79 | 501 | SERVICE_NOT_IMPLEMENTED |
81 | INVALID_CALL_REFERENCE | |
88 | 488 | INCOMPATIBLE_DESTINATION |
95 | INVALID_MSG_UNSPECIFIED | |
96 | MANDATORY_IE_MISSING | |
97 | MESSAGE_TYPE_NONEXIST | |
98 | WRONG_MESSAGE | |
99 | IE_NONEXIST | |
100 | INVALID_IE_CONTENTS | |
101 | WRONG_CALL_STATE | |
102 | 504 | RECOVERY_ON_TIMER_EXPIRE |
103 | MANDATORY_IE_LENGTH_ERROR | |
111 | PROTOCOL_ERROR | |
127 | INTERWORKING | |
487 | 487 | ORIGINATOR_CANCEL |
500 | CRASH | |
501 | SYSTEM_SHUTDOWN | |
502 | LOSE_RACE | |
503 | MANAGER_REQUEST | |
600 | BLIND_TRANSFER | |
601 | ATTENDED_TRANSFER | |
602 | ALLOTTED_TIMEOUT | |
603 | USER_CHALLENGE | |
604 | MEDIA_TIMEOUT | |
605 | PICKED_OFF | |
606 | USER_NOT_REGISTERED | |
607 | PROGRESS_TIMEOUT | |
609 | GATEWAY_DOWN |