EasyUC
4.8.7

Diagnostics & monitoring

Understand cause codes: Q.850 and SIP

The Q.850 causes and SIP responses that EasyUC translates, with their meaning and the usual remedy.

EasyUC · Version 4.8.7

In EasyUC: EasyUC Cisco → Logs → Call Analysis → run → call → Overview → Causes

What it is for

Every finished call carries two cause values in the CDRs of the CUCM: one for the calling side and one for the called side. They state why the respective side ended the call. The values follow ITU recommendation Q.850 and are numbers from 1 to 127. EasyUC translates them into plain text in call analysis and in the itemized bill.

For SIP calls the CUCM additionally packs the SIP response code into the same numeric value. EasyUC splits this value and shows the Q.850 cause, the SIP status and always the raw value. In addition there are three Cisco special values for conference and transfer. Unknown values remain visible as "Code n".

The remedy given in this chapter describes the usual procedure. Which cause a provider or a gateway reports in a particular case depends on its configuration.

Prerequisites

  • Cause values exist only for calls with a CDR. The CDR import of the CUCM connection must be enabled.
  • For calls without a CDR, call analysis shows the last SIP status and, if present, the Q.850 cause from the SIP header Reason.
  • Role ROLE_APP_CALL_DIAGNOSTICS for call analysis.

Step by step: how to proceed

  1. Open the call in call analysis and, on the Overview tab under Causes, read the rows Calling side and Called side.
  2. Determine the side that counts. EasyUC uses the cause of the called side if it is not 0, otherwise that of the calling side.
  3. Under Ended by, read which side hung up.
  4. Look up the Q.850 cause in the following tables.
  5. If the text also names a SIP status, look it up in the table of SIP responses and find it on the Call flow tab as a red arrow.
  6. Check which lane the response comes from. That is the place where you continue looking.

Fields and options: how EasyUC derives cause and result

Fields and options: how EasyUC derives cause and result
Field / actionMeaning and use
Value 1 to 127Plain Q.850 cause.
Large numeric valuePacked form: the top byte stands for the SIP status, the lowest byte for the Q.850 cause. Example: 1459617833 means SIP 503 and Q.850 41.
262144, 393216, 458752Cisco special values: Conference full, Call split (transfer or conference), Conference participant dropped.
Result AnsweredA CDR row has a connect time. The cause then describes the end of the conversation.
Result BusyQ.850 17. Without a CDR: SIP 486 or 600.
Result No answerQ.850 18 or 19. Without a CDR: SIP 408 or 480.
Result RejectedQ.850 21, and also 16 or 31 on the called side. Without a CDR: SIP 403 or 603.
Result UnreachableQ.850 1, 2, 3, 20, 22, 27 or 28. Without a CDR: SIP 404, 410, 484, 485 or 604.
Result Abandoned by callerQ.850 16 or 31 on the calling side without a connection. Without a CDR: SIP 487 or a CANCEL.
Result FailedAny other cause without a connection. Without a CDR: any other status from 300.
Result In progress / UnknownFrom SIP only: no final response yet. Unknown if neither a cause nor a status is available.

Q.850: normal clearing and subscriber

Q.850: normal clearing and subscriber
Field / actionMeaning and use
16 Normal call clearingOne side hung up. Without a connection on the calling side: the caller hung up before the call was answered. No remedy needed.
31 Normal, unspecifiedEnded without a more specific reason. Read it like 16. If it accumulates on one trunk, check that trunk's cause mapping.
17 User busyThe destination is already in a call, or the busy trigger of the line is reached. Check busy trigger, call waiting and call forward busy.
18 No user respondingThe destination did not react to the call setup. Check the registration of the device and the network path.
19 No answerThe destination rang and nobody picked up. Check call forward no answer and its timer.
20 Subscriber absentThe destination is not signed in, for example a softphone that is not running. Check the registration status.
21 Call rejectedThe destination or a rule actively declined the call. Check the block list, the CURRI rules and "Decline" on the phone.
26 Non-selected user clearingOn a shared line another device picked up. Normal.
126 Call splitCisco value for transfer or conference. The call continues in another leg. Normal.

Q.850: number and route

Q.850: number and route
Field / actionMeaning and use
1 Unallocated numberThe dialled number does not exist. Check the numbering plan, the partition and the calling search space of the caller.
2 No route to transit networkThe provider does not know the route to the dialled network. Check the number format on the trunk and contact the provider.
3 No route to destinationNo routing pattern matches, or the provider cannot reach the destination. Check route pattern and route list.
22 Number changedThe subscriber has a new number. Correct the destination number.
25 Exchange routing errorError in the exchange of the far end, often a loop. Check the forwardings on both sides.
27 Destination out of orderThe destination device or the line is faulty or not registered. Check registration, gateway port and line.
28 Invalid number formatThe number is incomplete or wrongly formatted. Check the transformation patterns and prefixes on the trunk.
88 Incompatible destinationThe destination does not support the requested type of connection, such as fax or video. Check device profile and region.
91 Invalid transit network selectionThe network selection in the request is invalid. Clarify with the provider.

Q.850: network and resources

Q.850: network and resources
Field / actionMeaning and use
34 No circuit availableAll channels of the trunk or gateway are in use. Check the number of channels, the concurrent calls and call admission control.
38 Network out of orderThe far end reports a fault in the network. Check the status of the trunk and contact the provider.
41 Temporary failureShort-lived error. Together with SIP 503 usually an unreachable trunk or a destination that does not respond. Check the reachability of the trunk and the OPTIONS ping.
42 Switching equipment congestionThe far end is overloaded. Try again later. If it accumulates, contact the provider.
43 Access information discardedAdditional information in the request was not passed on. Usually without consequences.
44 Requested channel not availableThe requested channel is in use. Check the channel usage on the gateway.
47 Resource unavailableA required resource is missing, in the CUCM often a transcoder, an MTP or the bandwidth of the location. Check the media resource group and the regions.
57 Bearer capability not authorizedThe type of connection is not enabled for the line. Clarify with the provider.
58 Bearer capability not presently availableThe type of connection is not possible at the moment. Check codec and region.
63 Service not availableThe requested service is not available. Check the configuration of the destination.
65 Bearer capability not implementedThe far end does not support the type of connection, for example a codec. Check the codec selection of the region.
79 Service or option not implementedA requested feature is missing at the far end. Switch off the feature or clarify with the provider.

Q.850: protocol and interworking

Q.850: protocol and interworking
Field / actionMeaning and use
29 Facility rejected / 50 Requested facility not subscribed / 69 Requested facility not implementedThe far end does not carry out a supplementary service. Clarify with the provider whether the service is subscribed.
81 Invalid call referenceThe far end no longer knows the call. Usually the consequence of an earlier error. Read the flow before it in the call flow.
95 Invalid message / 96 Mandatory information element missingA signalling message was faulty or incomplete. Open the affected message in the call flow and check the software version of the peer.
97, 98, 99, 100, 101Message type or information element not implemented, invalid or not compatible with the call state. Proceed as for 95.
102 Recovery on timer expiryA protocol timer expired because a response did not arrive. Find the long pause in the call flow and check the network path to that peer.
111 Protocol errorGeneral protocol error. Open the error response in the call flow and read its text.
127 Interworking, unspecifiedThe cause comes from another network and could not be mapped more precisely. Continue looking at the gateway or CUBE; the original cause is there.
6, 7, 30, 70, 87Channel unacceptable, Call awarded in established channel, Response to STATUS ENQUIRY, Only restricted digital bearer capability available, User not member of CUG. Rare, mostly on ISDN gateways.

SIP responses

SIP responses
Field / actionMeaning and use
401 Unauthorized / 407 Proxy Authentication RequiredRequest to authenticate. If a second INVITE with credentials follows, this is normal. If the error remains, the credentials of the device or trunk are wrong.
403 ForbiddenThe peer refuses: not authorised, blocked or sender not permitted. Check the calling number and the permission on the trunk.
404 Not FoundNumber unknown. If the response comes from the CUCM, check the numbering plan, otherwise the number format towards the trunk.
408 Request TimeoutNo response within the expected time. Check the reachability of the peer.
480 Temporarily UnavailableDestination not registered, not reachable or does not pick up.
481 Call/Transaction Does Not ExistThe peer no longer knows the dialog, often after a restart or a timeout.
484 Address IncompleteThe number is too short. Check the dial plan and the interdigit timeout.
486 Busy Here / 600 Busy EverywhereBusy.
487 Request TerminatedResponse to a CANCEL. The caller hung up, or a forwarding ended the first attempt.
488 Not Acceptable Here / 606 Not AcceptableNo common codec or unacceptable media parameters. Compare the SDP of both sides and check region and transcoder.
500 Server Internal ErrorInternal error of the peer. Check its log.
502 Bad Gateway / 504 Server Time-outA downstream system responds wrongly or not at all. Continue looking at the gateway or CUBE.
503 Service UnavailableService not available: trunk out of service, all channels in use or overload. Check the status of the trunk.
603 DeclineThe called party declined.
604 Does Not Exist AnywhereThe number does not exist anywhere.

Check the result and narrow down errors

  • A finding is conclusive when result, Q.850 cause and the last response code in the call flow tell the same story, for example Busy, cause 17 and 486 Busy Here.
  • Calling side 0, called side set: the called side ended the call. In the opposite case the caller hung up.
  • Cause 16 on a call without a connection is not a system error. The caller did not wait long enough. The Ring time in the overview shows how long.
  • If only "Code n" is shown, the catalogue does not know the value. The raw value is next to it. Find the corresponding response code in the call flow.
  • For packed values, only the mapping for SIP 503 has been confirmed on a real CUCM. The other mappings follow the Cisco documentation. If in doubt, compare with the call flow.
  • Causes from the provider network arrive as the provider reports them. One and the same error can appear as 31, 41 or 127 depending on the provider.

Related chapters