If only a SIP response or an ISDN cause code is provided, this is how the jtel telephony server maps the values.
See also https://tools.ietf.org/html/rfc3398 for further details.
Normal Clearing
The sending or receiving of normal clearing cause 16 in ISDN will result in a SIP BYE or CANCEL. There is no mapping provided.
SIP to ISDN
| SIP Response Code | SIP Meaning | ISDN Cause Code | ISDN Meaning |
|---|---|---|---|
400 | Bad Request | 41 | Temporary Failure |
401 | Unauthorized | 21 | Call Rejected |
| 402 | Payment Required | 21 | Call Rejected |
| 403 | Forbidden | 21 | Call Rejected |
| 404 | Not Found | 1 | Unallocated / Unassigned Number |
| 405 | Method Not Allowed | 63 | Service or Option Unavailable |
| 406 | Not Acceptable | 79 | Service / Option Not Implemented |
| 407 | Proxy Authentication Required | 21 | Call Rejected |
| 408 | Request Timeout | 102 | Recovery On Timer Expiry |
| 410 | Gone | 22 | Number Changed (no diagnostic) |
| 413 | Request Entry Too Long | 127 | Interworking Unspecified |
| 414 | Request URI Too Long | 127 | Interworking Unspecified |
| 415 | Unsupported Media Type | 79 | Service / Option Not Implemented |
| 416 | Unsupported URI Scheme | 127 | Interworking Unspecified |
| 420 | Bad Extension | 127 | Interworking Unspecified |
| 421 | Extension Required | 127 | Interworking Unspecified |
| 423 | Interval Too Brief | 127 | Interworking Unspecified |
| 480 | Temporarily Unavailable | 18 | User Not Responding |
| 481 | Call Transaction Does Not Exist | 41 | Temporary Failure |
| 482 | Loop Detected | 25 | Exchange Routing Error |
| 483 | Too Many Hops | 25 | Exchange Routing Error |
| 484 | Address Incomplete | 28 | Invalid number format (address incomplete) |
| 485 | Ambiguous | 1 | Unallocated / Unassigned Number |
| 486 | Busy Here | 17 | User Busy |
| 487 | Request Terminated | 16 | Normal Call Clearing |
| 500 | Server Internal Error | 41 | Temporary Failure |
| 501 | Not Implemented | 79 | Service / Option Not Implemented |
| 502 | Bad Gateway | 38 | Network Out of Order |
| 503 | Service Unavailable | 41 | Temporary Failure |
| 504 | Gateway Timeout | 102 | Recovery On Timer Expiry |
| 505 | Version Not Supported | 127 | Interworking Unspecified |
| 513 | Message Too Long | 127 | Interworking Unspecified |
| 600 | Busy Everywhere | 17 | User Busy |
| 603 | Decline | 21 | Decline |
| 604 | Does Not Exist Anywhere | 1 | Unallocated Number |
| All other codes | 127 | Interworking Unspecified |
ISDN to SIP
| ISDN Cause Code | ISDN Meaning | SIP Response Code | SIP Meaning |
|---|---|---|---|
1 | Unallocated / Unassigned Number | 404 | Not Found |
| 2 | No route to specified transit network | 404 | Not Found |
| 3 | No route to destination | 404 | Not Found |
| 16 | Normal call clearing | 487 | Request Terminated |
| 17 | User busy | 486 | Busy Here |
| 18 | No user responding | 408 | Request Timeout |
| 19 | No answer from user (user alerted) | 480 | Temporarily Unavailable |
| 20 | Subscriber absent | 480 | Temporarily Unavailable |
| 21 | Call rejected | 403 | Forbidden |
| 22 | Number changed | 410 | Gone |
| 26 | Non-selected user clearing | 404 | Not Found |
| 27 | Destination out of order | 502 | Bad Gateway |
| 28 | Invalid number format (address incomplete) | 484 | Address Incomplete |
| 29 | Facility rejected | 501 | Not Implemented |
| 31 | Normal, unspecified | 480 | Temporarily Unavailable |
| 34 | No circuit/channel available | 503 | Service Unavailable |
| 38 | Network out of order | 503 | Service Unavailable |
| 41 | Temporary failure | 503 | Service Unavailable |
| 42 | Switching equipment congestion | 503 | Service Unavailable |
| 47 | Resource unavailable, unspecified | 503 | Service Unavailable |
| 53 | Outgoing calls barred within CUG | 403 | Forbidden |
| 55 | Incoming calls barred within CUG | 403 | Forbidden |
| 57 | Bearer capability not authorized | 403 | Forbidden |
| 58 | Bearer capability not presently available | 503 | Service Unavailable |
| 65 | Bearer capability not implemented | 488 | Not Acceptable Here |
| 70 | Only restricted digital information bearer capability is available | 488 | Not Acceptable Here |
| 79 | Service or option not implemented, unspecified | 501 | Not Implemented |
| 87 | User not member of CUG | 403 | Forbidden |
| 88 | Incompatible destination | 503 | Service Unavailable |
| 102 | Recovery on timer expiry | 504 | Gateway Timeout |
| 111 | Protocol error, unspecified | 500 | Server Internal Error |
| 127 | Interworking, unspecified | 500 | Server Internal Error |
| All other values | 500 | Server Internal Error |