User`s manual

Table Of Contents
SIP User's Manual H. Release Reason Mapping
Version 5.0 379 October 2006
H Release Reason Mapping
This appendix describes the available mapping mechanisms of SIP Responses to Q.850
Release Causes and vice versa.
Table
H-1 and Table H-2 describe the existing mapping of ISDN Release Causes to SIP
Responses. To override this hard-coded mapping and flexibly map SIP Responses to ISDN
Release Causes use the parameters CauseMapISDN2SIP and CauseMapSIP2ISDN
(described in Section
6.14 on page 172), or via the Embedded Web Server (refer to
Section
5.5.5.6 on page 77).
It is also possible to map the less commonly-used SIP Responses to a single default ISDN
Release Cause. Use the parameter DefaultCauseMapISDN2IP (described in Section
6.14
on page 172) to define a default ISDN Cause that is always used except when the
following Release Causes are received: Normal Call Clearing (16), User Busy (17), No
User Responding (18) or No Answer from User (19). This mechanism is only available for
Tel to IP calls.
H.1 Reason Header
The gateway supports the Reason header according to RFC 3326. The Reason header is
used to convey information describing the disconnection cause of a call:
Sending Reason header: If a call is disconnected from the Tel side (ISDN), the
Reason header is set to the received Q.850 cause in the appropriate message (BYE /
CANCEL / final failure response) and sent to the SIP side. If the call is disconnected
because of a SIP reason, the Reason header is set to the appropriate SIP response.
Receiving Reason header: If a call is disconnected from the IP side and the SIP
message includes the Reason header, it is sent to the Tel side according to the
following logic:
If the Reason header includes a Q.850 cause, it is sent as is.
If the Reason header includes a SIP response: (1) If the message is a final
response, the response status code is translated to Q.850 format and passed to
ISDN. (2) If the message isn’t a final response, it is translated to a Q.850 cause.
When the Reason header is received twice (i.e., SIP Reason and Q.850), the
Q.850 takes precedence over the SIP reason and is sent to the Tel side.