Difference between revisions of "Hangupcause Codes"
From Kolmisoft Wiki
Jump to navigationJump to search
(126 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
MOR application saves hangupcause codes to | <mkmeta>Disconnect Codes for MOR Class 5 Softswitch</mkmeta> | ||
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 | 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 [http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+hangupcause here]. | * Standard hangup codes can be found [http://www.voip-info.org/wiki/index.php?page=Asterisk+variable+hangupcause here]. | ||
* [http://networking.ringofsaturn.com/RemoteAccess/isdncausecodes.php ISDN | * [http://networking.ringofsaturn.com/RemoteAccess/isdncausecodes.php ITU-T Q.850 Codes ] [https://downloads.avaya.com/elmodocs2/ip_office/DOCS3_0/DATA/Additional/mergedProjects/monitor/cause_codes_(isdn).htm Link2] [https://support.digium.com/community/s/article/Detailed-ISDN-Cause-Code-List Link3] | ||
* [http://en.wikipedia.org/wiki/List_of_SIP_response_codes SIP Response Codes] | |||
<br><br> | <br><br> | ||
Line 13: | Line 15: | ||
<td> <b>Code</b> </td> | <td> <b>Code</b> </td> | ||
<td> <b>Cause</b> </td> | <td> <b>Cause</b> </td> | ||
</tr> | |||
<tr> | |||
<td> 18 </td> | |||
<td> [[Cause No. 18 - no user responding | no user responding]]</td> | |||
</tr> | |||
<tr> | |||
<td> 20 </td> | |||
<td> [[Cause No. 20 - subscriber absent | subscriber absent]]</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> 34 </td> | <td> 34 </td> | ||
<td> [[34 no circuit/channel available | no circuit/channel available]]</td> | <td> [[34 no circuit/channel available | no circuit/channel available]]</td> | ||
</tr> | |||
<tr> | |||
<td> 41 </td> | |||
<td> [[41 temporary failure | temporary failure]]</td> | |||
</tr> | |||
<tr> | |||
<td> 58 </td> | |||
<td> [[58 - Bearer capability not presently available | Bearer capability not presently available]]</td> | |||
</tr> | |||
<tr> | |||
<td> 102 </td> | |||
<td> [[102 - Recovery on timer expiry | Recovery on timer expiry]]</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
<br><br> | |||
= SIP Response Codes = | |||
= | |||
<table> | <table> | ||
Line 28: | Line 50: | ||
<td> <b>Cause</b> </td> | <td> <b>Cause</b> </td> | ||
</tr> | </tr> | ||
<tr> | |||
<td> 487 </td> | |||
<td> [[487 Request Terminated by bye or cancel | Request Terminated by bye or cancel]]</td> | |||
</tr> | |||
</table> | |||
<br><br> | |||
<br><br> | |||
= MOR specific codes = | |||
<table> | |||
<tr> | <tr> | ||
<td> 200 </td> | <td> 200 </td> | ||
Line 42: | Line 75: | ||
<tr> | <tr> | ||
<td> 203 </td> | <td> 203 </td> | ||
<td> [[203 No rates for user|No rates for | <td> [[203 No rates for user|No rates for User]] </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 70: | Line 103: | ||
<tr> | <tr> | ||
<td> 210 </td> | <td> 210 </td> | ||
<td> [[210 Balance more then 0, but not enough to make call 1s in length | Balance more | <td> [[210 Balance more then 0, but not enough to make call 1s in length | Balance more than 0, but not enough to make call 1s in length]] </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 78: | Line 111: | ||
<tr> | <tr> | ||
<td> 212 </td> | <td> 212 </td> | ||
<td> [[mor_authorize: Too low balance for more simultaneus calls!!!| | <td> [[mor_authorize: Too low balance for more simultaneus calls!!!| Balance too low for more simultaneous calls]] </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 86: | Line 119: | ||
<tr> | <tr> | ||
<td> 214 </td> | <td> 214 </td> | ||
<td> [[214 Too low balance for DID owner for more simultaneous calls | | <td> [[214 Too low balance for DID owner for more simultaneous calls | DID owner's balance is too low to make more simultaneous calls]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 94: | Line 127: | ||
<tr> | <tr> | ||
<td> 216 </td> | <td> 216 </td> | ||
<td> [[216 Too low balance for reseller for more simultaneous calls | | <td> [[216 Too low balance for reseller for more simultaneous calls | Reseller's balance is too low to make more simultaneous calls]]</td> | ||
</tr> | </tr> | ||
Line 103: | Line 136: | ||
<tr> | <tr> | ||
<td> 218 </td> | <td> 218 </td> | ||
<td> [[218 Reseller does now allow loss calls | Reseller does | <td> [[218 Reseller does now allow loss calls | Reseller does not allow loss calls]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 127: | Line 160: | ||
<tr> | <tr> | ||
<td> 224 </td> | <td> 224 </td> | ||
<td> [[224 Provider skipped because his rate is higher then users rate | Provider skipped because his rate is higher | <td> [[224 Provider skipped because his rate is higher then users rate | Provider skipped because his rate is higher than user's rate]] </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 136: | Line 169: | ||
<td> 226 </td> | <td> 226 </td> | ||
<td> [[226 DID is free | DID is free]] </td> | <td> [[226 DID is free | DID is free]] </td> | ||
</tr> | |||
<tr> | |||
<td> 227 </td> | |||
<td> [[227 Calling Card PIN is not entered | Calling Card PIN is not entered]] </td> | |||
</tr> | |||
<tr> | |||
<td> 228 </td> | |||
<td> [[228 Calling Card Destination is not entered | Calling Card Destination is not entered]] </td> | |||
</tr> | |||
<tr> | |||
<td> 229 </td> | |||
<td> [[229 DID is reserved | DID is reserved]] </td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 143: | Line 188: | ||
<tr> | <tr> | ||
<td> 231 </td> | <td> 231 </td> | ||
<td> [[231 Provider unreachable | Provider unreachable]] </td> | <td> [[231 Provider unreachable | Provider unreachable]] - ''this error code is not used anymore'' </td> | ||
</tr> | |||
<tr> | |||
<td> 232 </td> | |||
<td> [[232 Callback DID not available | Callback DID not available]] </td> | |||
</tr> | |||
<tr> | |||
<td> 233 </td> | |||
<td> [[233 Skype Addon Disabled | Skype Addon Disabled]] </td> | |||
</tr> | |||
<tr> | |||
<td> 234 </td> | |||
<td> [[234 Internal Loop | Internal Loop]] </td> | |||
</tr> | |||
<tr> | |||
<td> 235 </td> | |||
<td> [[235 Providers rate higher by percent | Providers rate higher by percent]] </td> | |||
</tr> | |||
<tr> | |||
<td> 236 </td> | |||
<td> [[236 Callback initiation too early| Callback initiation too early]] </td> | |||
</tr> | |||
<tr> | |||
<td> 237 </td> | |||
<td> [[237 DID User is blocked| DID User is blocked]] </td> | |||
</tr> | |||
<tr> | |||
<td> 238 </td> | |||
<td> [[238 Provider used its daily call time limit| Provider used its daily call time limit]] </td> | |||
</tr> | |||
<tr> | |||
<td> 239 </td> | |||
<td> [[239 Device used its daily call time limit| Device used its daily call time limit]] </td> | |||
</tr> | |||
<tr> | |||
<td> 240 </td> | |||
<td> [[240 Provider belongs to the User which makes call| Provider belongs to the User which makes call (loop)]] </td> | |||
</tr> | |||
<tr> | |||
<td> 241 </td> | |||
<td> [[241 Local Caller canceled the call before call was answered|Local Caller canceled the call before call was answered]] </td> | |||
</tr> | |||
<tr> | |||
<td> 242 </td> | |||
<td> [[242 No Rates for Reseller|No Rates for Reseller]] </td> | |||
</tr> | |||
<tr> | |||
<td> 243 </td> | |||
<td> [[243 Provider skipped because of CPS limitation|Provider skipped because of CPS limitation]] </td> | |||
</tr> | |||
<tr> | |||
<td> 244 </td> | |||
<td> [[244 Device call aborted because of CPS limitation|Device call aborted because of CPS limitation]] </td> | |||
</tr> | |||
<tr> | |||
<td> 245 </td> | |||
<td> [[245 Provider skipped because of balance limitation|Provider skipped because of balance limitation]] </td> | |||
</tr> | |||
<tr> | |||
<td> 246 </td> | |||
<td> [[246 Duplicate call hangup|Duplicate call hangup]] </td> | |||
</tr> | |||
<tr> | |||
<td> 247 </td> | |||
<td> [[247 Dead Provider skipped|Dead Provider skipped]] </td> | |||
</tr> | |||
<tr> | |||
<td> 248 </td> | |||
<td> [[248 Call was terminated because FAS(False Answer Supervision) control detected an issue. | Call was terminated because FAS(False Answer Supervision) control detected an issue]] </td> | |||
</tr> | |||
<tr> | |||
<td> 249 </td> | |||
<td> [[249 Partner's call limit reached | Partner's call limit reached]] </td> | |||
</tr> | |||
<tr> | |||
<td> 250 </td> | |||
<td> [[250 Partner is blocked | Partner is blocked]] </td> | |||
</tr> | |||
<tr> | |||
<td> 251 </td> | |||
<td> [[251 Low balance for Partner | Low balance for Partner]] </td> | |||
</tr> | |||
<tr> | |||
<td> 252 </td> | |||
<td> [[252 Partner's balance is too low to make more simultaneous calls | Partner's balance is too low to make more simultaneous calls]] </td> | |||
</tr> | |||
<tr> | |||
<td> 253 </td> | |||
<td> [[253 Partner does not allow loss calls | Partner does not allow loss calls]] </td> | |||
</tr> | |||
<tr> | |||
<td> 254 </td> | |||
<td> [[254 No Rates for Partner | No Rates for Partner]] </td> | |||
</tr> | |||
<tr> | |||
<td> 255 </td> | |||
<td> [[255 Destination is in blacklist | Destination is in blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 256 </td> | |||
<td> [[256 Destination is not in whitelist | Destination is not in whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 257 </td> | |||
<td> [[257 Calling Card expired | Calling Card expired]] </td> | |||
</tr> | |||
<tr> | |||
<td> 258 </td> | |||
<td> [[258 Calling Card is not sold yet | Calling Card is not sold yet]] </td> | |||
</tr> | |||
<tr> | |||
<td> 259 </td> | |||
<td> [[259 Calling Card is empty | Calling Card is empty]] </td> | |||
</tr> | |||
<tr> | |||
<td> 260 </td> | |||
<td> [[260 Destination is blocked in User Tariff | Destination is blocked in User's Tariff]] </td> | |||
</tr> | |||
<tr> | |||
<td> 261 </td> | |||
<td> [[261 Destination is blocked in Provider Tariff | Destination is blocked in Provider's Tariff]] </td> | |||
</tr> | |||
<tr> | |||
<td> 262 </td> | |||
<td> [[262 Source number is in blacklist | Source number is in blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 263 </td> | |||
<td> [[263 Source number is not in whitelist | Source number is not in whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 264 </td> | |||
<td> [[264 No Rates for DID Owner | No Rates for DID Owner]] </td> | |||
</tr> | |||
<tr> | |||
<td> 265 </td> | |||
<td> [[265 Provider skipped because rate margin is lower than allowed | Provider skipped because rate margin is lower than allowed]] </td> | |||
</tr> | |||
<tr> | |||
<td> 266 </td> | |||
<td> [[266 Provider skipped because AGI script returned timeout error | Provider skipped because AGI script returned timeout error]] </td> | |||
</tr> | |||
<tr> | |||
<td> 267 </td> | |||
<td> [[267 Provider skipped because AGI script rejected this provider (AGI script status 0) | Provider skipped because AGI script rejected this provider (AGI script status 0)]] </td> | |||
</tr> | |||
<tr> | |||
<td> 268 </td> | |||
<td> [[268 PDD limit reached | PDD limit reached]] </td> | |||
</tr> | |||
<tr> | |||
<td> 269 </td> | |||
<td> [[269 User call rate is higher than allowed | User's call rate is higher than allowed]] </td> | |||
</tr> | |||
<tr> | |||
<td> 270 </td> | |||
<td> [[270 Reseller call rate is higher than allowed | Reseller's call rate is higher than allowed]] </td> | |||
</tr> | |||
<tr> | |||
<td> 271 </td> | |||
<td> [[271 Partner call rate is higher than allowed | Partner's call rate is higher than allowed]] </td> | |||
</tr> | |||
<tr> | |||
<td> 272 </td> | |||
<td> [[272 Provider skipped because the CallerID is in a Blacklist | Provider skipped because the CallerID is in a Blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 273 </td> | |||
<td> [[273 Provider skipped because the CallerID is not in a Whitelist | Provider skipped because the CallerID is not in a Whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 274 </td> | |||
<td> [[274 No rates for Provider | No rates for Provider]] </td> | |||
</tr> | |||
<tr> | |||
<td> 275 </td> | |||
<td> [[275 Incorrect DID PIN | Incorrect DID PIN]] </td> | |||
</tr> | |||
<tr> | |||
<td> 276 </td> | |||
<td> [[276 No Rates for DID Provider | No Rates for DID Provider]] </td> | |||
</tr> | |||
<tr> | |||
<td> 277 </td> | |||
<td> [[277 CallerID is in Global Blacklist| CallerID is in Global Blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 278 </td> | |||
<td> [[278 CallerID is not in Global Whitelist| CallerID is not in Global Whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 279 </td> | |||
<td> [[279 Destination number is in Global Blacklist| Destination number is in Global Blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 280 </td> | |||
<td> [[280 Destination number is not in Global Whitelist| Destination number is not in Global Whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 281 </td> | |||
<td> [[281 Provider skipped because the Destination number is in a Blacklist | Provider skipped because the Destination number is in a Blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 282 </td> | |||
<td> [[282 Provider skipped because the Destination number is not in a Whitelist | Provider skipped because the Destination number is not in a Whitelist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 283 </td> | |||
<td> [[283 Source number is in DID blacklist | Source number is in DID blacklist]] </td> | |||
</tr> | |||
<tr> | |||
<td> 284 </td> | |||
<td> [[284 DID is closed | DID is closed]] </td> | |||
</tr> | </tr> | ||
<tr> | |||
<td> 285</td> | |||
<td> [[285 Provider used its monthly call time limit | Provider used its monthly call time limit]] </td> | |||
</tr> | |||
<tr> | |||
<td> 286</td> | |||
<td> [[286 Device used its monthly call time limit | Device used its monthly call time limit]] </td> | |||
</tr> | |||
<tr> | |||
<td> 287</td> | |||
<td> [[287 Low balance for Device | Low balance for Device]] </td> | |||
</tr> | |||
<tr> | |||
<td> 288</td> | |||
<td> [[288 Reseller inbound call limit reached | Reseller inbound call limit reached]] </td> | |||
</tr> | |||
<tr> | |||
<td> 289</td> | |||
<td> [[289 Provider's rate is higher than max allowed rate in Flat-Rates | Provider's rate is higher than max allowed rate in Flat-Rates]] </td> | |||
</tr> | |||
<tr> | |||
<td> 290</td> | |||
<td> [[290 Daily Balance Limit reached | Daily Balance Limit reached]] </td> | |||
</tr> | |||
</table> | |||
</ | <br><br> | ||
= 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. | |||
{| border="1" cellpadding="5" cellspacing="0" | |||
| '''MOR code''' || '''ISDN code''' || '''SIP code''' | |||
|- | |||
| [[208 MOR can not make more calls | 208]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[210_Balance_more_then_0,_but_not_enough_to_make_call_1s_in_length | 210]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[211_Low_balance_for_user | 211]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[Mor_authorize:_Too_low_balance_for_more_simultaneus_calls!!! | 212]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[213_Low_balance_for_DID_owner | 213]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[214 Too low balance for DID owner for more simultaneous calls | 214]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[215_Low_balance_for_reseller | 215]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[216 Too low balance for reseller for more simultaneous calls | 216]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[219 DID has reached call limit. No more calls allowed to this DID | 219]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[220 User call limit reached | 220]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[221 Device call limit reached | 221]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[222 Resellers call limit reached | 222]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[223 Providers call limit reached | 223]] || [[34 no circuit/channel available | 34]] || 503 Service unavailable | |||
|- | |||
| [[226 DID is free | 226]] || 1 || 404 Not found | |||
|- | |||
| [[229 DID is reserved | 229]] || 1 || 404 Not found | |||
|- | |||
| [[233 Skype Addon Disabled | 233]] || 66 || 500 Internal server error | |||
|- | |||
| All others not listed above and greater than 199 ( >=200 ) || 21 || 403 Forbidden | |||
|} | |||
<br><br> | |||
Starting from [[MOR 12]], it is possible to change relation between MOR code and ISDN code. Relation can be defined in [[Mor.conf|mor.conf]]. | |||
<br><br> | |||
= See also = | |||
* [[Hangupcause Sounds]] | |||
* [[H323 hangupcause codes]] | |||
* [[SIP Error Codes]] | |||
* [[Change HGC for a User]] | |||
* [[M2 Hangupcause Codes]] |
Latest revision as of 07:00, 8 July 2024
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 |
18 | no user responding |
20 | subscriber absent |
34 | no circuit/channel available |
41 | temporary failure |
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.