Hangupcause Codes
From Kolmisoft Wiki
MOR application saves hangupcause codes (HGC in MOR terminology) to the database, so it is easy to check what the error was and why the call failed.
These codes can be seen in the Calls window (Hangup Cause column) when selected to show 'All', 'Busy', 'No Answer', 'Failed' or 'Missed' calls.
- Standard hangup codes can be found here.
- ITU-T Q.850 Codes Link2 Link3
- SIP Response Codes
Standard codes
Code | Cause |
20 | subscriber absent |
34 | no circuit/channel available |
58 | Bearer capability not presently available |
102 | Recovery on timer expiry |
SIP Response Codes
Code | Cause |
487 | Request Terminated by bye or cancel |
MOR specific codes
Relation between MOR hangupcause codes and Standard codes
This table describes which standard ISDN code is MOR giving when one or another hangupcause is given.
MOR code | ISDN code | SIP code |
208 | 34 | 503 Service unavailable |
210 | 34 | 503 Service unavailable |
211 | 34 | 503 Service unavailable |
212 | 34 | 503 Service unavailable |
213 | 34 | 503 Service unavailable |
214 | 34 | 503 Service unavailable |
215 | 34 | 503 Service unavailable |
216 | 34 | 503 Service unavailable |
219 | 34 | 503 Service unavailable |
220 | 34 | 503 Service unavailable |
221 | 34 | 503 Service unavailable |
222 | 34 | 503 Service unavailable |
223 | 34 | 503 Service unavailable |
226 | 1 | 404 Not found |
229 | 1 | 404 Not found |
233 | 66 | 500 Internal server error |
All others not listed above and greater than 199 ( >=200 ) | 21 | 403 Forbidden |
Starting from MOR 12, it is possible to change relation between MOR code and ISDN code. Relation can be defined in mor.conf.