Telephony
Errors and end reasons
What each end reason of a phone call in History means, why a call may never reach the agent and what to do in each case.
Every phone call in History has an end reason. This page explains each reason and what to do when a call fails. History shows the reason's name or its code, so the tables list both.
Normal endings
| Reason | Code | What it means |
|---|---|---|
| Cliente desligou (Caller hung up) | caller_hangup, user_hangup | The caller hung up. |
| Agente terminou a chamada (Agent ended the call) | end_call | The agent said goodbye and hung up (task done, caller's request or end of the flow). |
| Agente terminou a conversa (Agent ended the conversation) | live_end_call | The agent ended the conversation after saying goodbye. |
| Transferida para uma pessoa (Transferred to a person) | transferred | The transfer completed and the agent left the call. See Phone and SIP transfers. |
| Terminada por silêncio (Ended by silence) | silence_timeout | The caller stopped responding; the agent asked whether they were still there and said goodbye. |
| Limite de duração atingido (Duration limit reached) | max_duration | The call reached the Máximo (minutos) (Maximum, minutes) in Call settings. The line hangs up without a goodbye. |
| Cliente desligou antes de atender (Caller hung up before answer) | abandoned_before_answer | The caller hung up while the line was ringing, before the agent spoke. |
| Cancelada (Cancelled) | cancelled | The test call was cancelled in the panel before it was answered. |
Line endings
| Reason | Code | What it means | What to do |
|---|---|---|---|
| Desligada pela linha (Hung up by the line) | gateway_hangup | The phone line ended the call. | If it happens often, check whether it matches the duration limit or network drops. |
| Linha telefónica terminou (Phone line ended) | freeswitch_hangup | The phone server ended the call. | Same as above. |
| Linha sem resposta (Line not responding) | timeout_hangup | The line stopped responding during the call. | Try again; if it persists, contact support with the time of the call. |
| Chamada terminada (Call ended) | other_hangup | The call ended for a reason the line did not specify. | Nothing, if it is a one-off. |
Agent or audio failures
In these cases the caller hears a short automatic message or the call-failed tone, and the call ends.
| Reason | Code | What it means |
|---|---|---|
| Agente indisponível (Agent unavailable) | runtime_unavailable | The agent could not be reached at the start of the call. |
| Ligação ao agente perdida (Connection to the agent lost) | runtime_disconnect | The connection to the agent dropped during the call. |
| Desligada pelo motor de voz (Hung up by the voice engine) | runtime_hangup | The voice engine ended the session. |
| Falha a iniciar o áudio (Audio failed to start) | media_start_failed | The call's audio did not start. |
| Falha no áudio (Audio failure) | media_stream_failed | The call's audio failed during the conversation. |
| Falha a atender (Failed to answer) | startup_answer_or_media_failed | The call could not be answered. |
| Falha técnica (Technical failure) / Falha técnica na linha (Technical failure on the line) | exception, gateway_worker_exited | An internal Diska error. |
What to do: call again. If the failure repeats, contact DISKA with the time of the call and the number. See also Calls drop.
Calls that never reach the agent
Some calls never reach an agent, so they have no conversation in History. The caller hears the call-failed tone, or nobody answers.
| Cause | What to do |
|---|---|
| The number is not assigned to an Inbound agent, or the agent was not published after getting the number. | Assign the number and publish — see Incoming calls. |
| The organization reached its simultaneous call limit. | See Simultaneous calls. |
| On an imported number: the call came from an IP you did not declare, to the wrong port, or the trunk is not ready yet. | See the Connect over SIP troubleshooting. |
| The number is Desativado (Disabled), for example suspended by DISKA, or Sem chamadas (No calls). | See Number status and contact DISKA. |
Transfer and test call failures
- A failed transfer does not end the call: the agent carries on with the caller. The causes are in Phone and SIP transfers.
- The messages of the Testar → Chamada telefónica (Test → Phone call) panel are in Phone test call.

