Difference between revisions of "Hangupcause Codes"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(27 intermediate revisions by 5 users not shown)
Line 5: Line 5:


* 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 ITU-T Q.850 Codes ]
* [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]
* [http://en.wikipedia.org/wiki/List_of_SIP_response_codes SIP Response Codes]


Line 15: 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>
<br><br>


= MOR specific codes =
= SIP Response Codes =


<table>
<table>
Line 30: 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 338: Line 369:
   <td> 276 </td>
   <td> 276 </td>
   <td> [[276 No Rates for DID Provider | No Rates for DID Provider]] </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>
  <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>
  </tr>
</table>
</table>

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 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

200 MOR can't determine who is calling
201 User is blocked
202 Reseller is blocked
203 No rates for User
204 No suitable providers found
205 MOR PRO not authorized to work on this computer
206 server_id is not set in mor.conf file - this error code is not used anymore
207 Not clear who should receive call
208 MOR can not make more calls
209 Test time exceeded
210 Balance more than 0, but not enough to make call 1s in length
211 Low balance for user
212 Balance too low for more simultaneous calls
213 Low balance for DID owner
214 DID owner's balance is too low to make more simultaneous calls
215 Low balance for reseller
216 Reseller's balance is too low to make more simultaneous calls
217 Callback not initiated because device not found by ANI
218 Reseller does not allow loss calls
219 DID has reached call limit. No more calls allowed to this DID
220 User call limit reached
221 Device call limit reached
222 Resellers call limit reached
223 Providers call limit reached
224 Provider skipped because his rate is higher than user's rate
225 CallerID is banned
226 DID is free
227 Calling Card PIN is not entered
228 Calling Card Destination is not entered
229 DID is reserved
230 Connection returned error code 0 instead of real code
231 Provider unreachable - this error code is not used anymore
232 Callback DID not available
233 Skype Addon Disabled
234 Internal Loop
235 Providers rate higher by percent
236 Callback initiation too early
237 DID User is blocked
238 Provider used its daily call time limit
239 Device used its daily call time limit
240 Provider belongs to the User which makes call (loop)
241 Local Caller canceled the call before call was answered
242 No Rates for Reseller
243 Provider skipped because of CPS limitation
244 Device call aborted because of CPS limitation
245 Provider skipped because of balance limitation
246 Duplicate call hangup
247 Dead Provider skipped
248 Call was terminated because FAS(False Answer Supervision) control detected an issue
249 Partner's call limit reached
250 Partner is blocked
251 Low balance for Partner
252 Partner's balance is too low to make more simultaneous calls
253 Partner does not allow loss calls
254 No Rates for Partner
255 Destination is in blacklist
256 Destination is not in whitelist
257 Calling Card expired
258 Calling Card is not sold yet
259 Calling Card is empty
260 Destination is blocked in User's Tariff
261 Destination is blocked in Provider's Tariff
262 Source number is in blacklist
263 Source number is not in whitelist
264 No Rates for DID Owner
265 Provider skipped because rate margin is lower than allowed
266 Provider skipped because AGI script returned timeout error
267 Provider skipped because AGI script rejected this provider (AGI script status 0)
268 PDD limit reached
269 User's call rate is higher than allowed
270 Reseller's call rate is higher than allowed
271 Partner's call rate is higher than allowed
272 Provider skipped because the CallerID is in a Blacklist
273 Provider skipped because the CallerID is not in a Whitelist
274 No rates for Provider
275 Incorrect DID PIN
276 No Rates for DID Provider
277 CallerID is in Global Blacklist
278 CallerID is not in Global Whitelist
279 Destination number is in Global Blacklist
280 Destination number is not in Global Whitelist
281 Provider skipped because the Destination number is in a Blacklist
282 Provider skipped because the Destination number is not in a Whitelist
283 Source number is in DID blacklist
284 DID is closed
285 Provider used its monthly call time limit
286 Device used its monthly call time limit
287 Low balance for Device
288 Reseller inbound call limit reached
289 Provider's rate is higher than max allowed rate in Flat-Rates
290 Daily Balance Limit reached



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.

See also