Causas Q.850 (hangup cause): lista completa e mapa SIP
A causa Q.850 é o número que a rede de telefonia dá para o fim de uma chamada: 16 quando ela termina normalmente, 17 quando o número está ocupado, 34 quando não há canal livre. Ela viaja na mensagem de liberação dos troncos E1 e, nos troncos SIP, no cabeçalho Reason: Q.850;cause=N.
Onde aparece a causa Q.850?
Nos troncos E1 (SS7/ISUP ou ISDN), a causa vem na mensagem de liberação da chamada. Nos troncos SIP, a operadora ou o SBC a repete no cabeçalho Reason da resposta (RFC 6432). No Asterisk, no Issabel e no FreePBX ela é a variável HANGUPCAUSE e o campo hangupcause do CDR.
As 72 causas da ITU-T Q.850
| Causa | Nome oficial | Classe |
|---|---|---|
| Causa 1 | Unallocated (unassigned) number | Evento normal (1 a 31) |
| Causa 2 | No route to specified transit network (national use) | Evento normal (1 a 31) |
| Causa 3 | No route to destination | Evento normal (1 a 31) |
| Causa 4 | Send special information tone | Evento normal (1 a 31) |
| Causa 5 | Misdialled trunk prefix (national use) | Evento normal (1 a 31) |
| Causa 6 | Channel unacceptable | Evento normal (1 a 31) |
| Causa 7 | Call awarded and being delivered in an established channel | Evento normal (1 a 31) |
| Causa 8 | Pre-emption | Evento normal (1 a 31) |
| Causa 9 | Pre-emption – circuit reserved for reuse | Evento normal (1 a 31) |
| Causa 13 | Call completed elsewhere | Evento normal (1 a 31) |
| Causa 14 | QoR: ported number | Evento normal (1 a 31) |
| Causa 16 | Normal call clearing | Evento normal (1 a 31) |
| Causa 17 | User busy | Evento normal (1 a 31) |
| Causa 18 | No user responding | Evento normal (1 a 31) |
| Causa 19 | No answer from user (user alerted) | Evento normal (1 a 31) |
| Causa 20 | Subscriber absent | Evento normal (1 a 31) |
| Causa 21 | Call rejected | Evento normal (1 a 31) |
| Causa 22 | Number changed | Evento normal (1 a 31) |
| Causa 23 | Redirection to new destination | Evento normal (1 a 31) |
| Causa 24 | Call rejected due to feature at the destination | Evento normal (1 a 31) |
| Causa 25 | Exchange – routing error | Evento normal (1 a 31) |
| Causa 26 | Non-selected user clearing | Evento normal (1 a 31) |
| Causa 27 | Destination out of order | Evento normal (1 a 31) |
| Causa 28 | Invalid number format (address incomplete) | Evento normal (1 a 31) |
| Causa 29 | Facility rejected | Evento normal (1 a 31) |
| Causa 30 | Response to STATUS ENQUIRY | Evento normal (1 a 31) |
| Causa 31 | Normal, unspecified | Evento normal (1 a 31) |
| Causa 34 | No circuit/channel available | Recurso indisponível (34 a 47) |
| Causa 38 | Network out of order | Recurso indisponível (34 a 47) |
| Causa 39 | Permanent frame mode connection out of service | Recurso indisponível (34 a 47) |
| Causa 40 | Permanent frame mode connection operational | Recurso indisponível (34 a 47) |
| Causa 41 | Temporary failure | Recurso indisponível (34 a 47) |
| Causa 42 | Switching equipment congestion | Recurso indisponível (34 a 47) |
| Causa 43 | Access information discarded | Recurso indisponível (34 a 47) |
| Causa 44 | Requested circuit/channel not available | Recurso indisponível (34 a 47) |
| Causa 46 | Precedence call blocked | Recurso indisponível (34 a 47) |
| Causa 47 | Resource unavailable, unspecified | Recurso indisponível (34 a 47) |
| Causa 49 | Quality of service not available | Serviço ou opção indisponível (49 a 63) |
| Causa 50 | Requested facility not subscribed | Serviço ou opção indisponível (49 a 63) |
| Causa 53 | Outgoing calls barred within CUG | Serviço ou opção indisponível (49 a 63) |
| Causa 55 | Incoming calls barred within CUG | Serviço ou opção indisponível (49 a 63) |
| Causa 57 | Bearer capability not authorized | Serviço ou opção indisponível (49 a 63) |
| Causa 58 | Bearer capability not presently available | Serviço ou opção indisponível (49 a 63) |
| Causa 62 | Inconsistency in designated outgoing access information and subscriber class | Serviço ou opção indisponível (49 a 63) |
| Causa 63 | Service or option not available, unspecified | Serviço ou opção indisponível (49 a 63) |
| Causa 65 | Bearer capability not implemented | Serviço ou opção não implementado (65 a 79) |
| Causa 66 | Channel type not implemented | Serviço ou opção não implementado (65 a 79) |
| Causa 69 | Requested facility not implemented | Serviço ou opção não implementado (65 a 79) |
| Causa 70 | Only restricted digital information bearer capability is available (national use) | Serviço ou opção não implementado (65 a 79) |
| Causa 79 | Service or option not implemented, unspecified | Serviço ou opção não implementado (65 a 79) |
| Causa 81 | Invalid call reference value | Mensagem inválida (81 a 95) |
| Causa 82 | Identified channel does not exist | Mensagem inválida (81 a 95) |
| Causa 83 | A suspended call exists, but this call identity does not | Mensagem inválida (81 a 95) |
| Causa 84 | Call identity in use | Mensagem inválida (81 a 95) |
| Causa 85 | No call suspended | Mensagem inválida (81 a 95) |
| Causa 86 | Call with the requested call identity has been cleared | Mensagem inválida (81 a 95) |
| Causa 87 | User not member of CUG | Mensagem inválida (81 a 95) |
| Causa 88 | Incompatible destination | Mensagem inválida (81 a 95) |
| Causa 90 | Non-existent CUG | Mensagem inválida (81 a 95) |
| Causa 91 | Invalid transit network selection (national use) | Mensagem inválida (81 a 95) |
| Causa 95 | Invalid message, unspecified | Mensagem inválida (81 a 95) |
| Causa 96 | Mandatory information element is missing | Erro de protocolo (96 a 111) |
| Causa 97 | Message type non-existent or not implemented | Erro de protocolo (96 a 111) |
| Causa 98 | Message not compatible with call state or message type non-existent or not implemented | Erro de protocolo (96 a 111) |
| Causa 99 | Information element/parameter non-existent or not implemented | Erro de protocolo (96 a 111) |
| Causa 100 | Invalid information element contents | Erro de protocolo (96 a 111) |
| Causa 101 | Message not compatible with call state | Erro de protocolo (96 a 111) |
| Causa 102 | Recovery on timer expiry | Erro de protocolo (96 a 111) |
| Causa 103 | Parameter non-existent or not implemented – passed on (national use) | Erro de protocolo (96 a 111) |
| Causa 110 | Message with unrecognized parameter discarded | Erro de protocolo (96 a 111) |
| Causa 111 | Protocol error, unspecified | Erro de protocolo (96 a 111) |
| Causa 127 | Interworking, unspecified | Interfuncionamento (127) |
De causa Q.850 para código SIP (RFC 3398, §7.2.4.1)
| Causa Q.850 | Resposta SIP | Observação |
|---|---|---|
| 1 (unallocated number) | SIP 404 Not Found | |
| 2 (no route to network) | SIP 404 Not Found | |
| 3 (no route to destination) | SIP 404 Not Found | |
| 16 (normal call clearing) | Nenhuma | (*) usually results in a BYE or CANCEL, no status code |
| 17 (user busy) | SIP 486 Busy Here | |
| 18 (no user responding) | SIP 408 Request Timeout | |
| 19 (no answer from the user) | SIP 480 Temporarily Unavailable | |
| 20 (subscriber absent) | SIP 480 Temporarily Unavailable | |
| 21 (call rejected) | SIP 403 Forbidden | (+) if cause location is user, 603 could be given instead |
| 22 (number changed (w/o diagnostic)) | SIP 410 Gone | |
| 22 (number changed (w/ diagnostic)) | 301 Moved Permanently | new number from diagnostic SHOULD go in Contact |
| 23 (redirection to new destination) | SIP 410 Gone | |
| 26 (non-selected user clearing) | SIP 404 Not Found | (=) ANSI: misrouted ported number |
| 27 (destination out of order) | SIP 502 Bad Gateway | |
| 28 (address incomplete) | SIP 484 Address Incomplete | |
| 29 (facility rejected) | SIP 501 Not Implemented | |
| 31 (normal unspecified) | SIP 480 Temporarily Unavailable | |
| 34 (no circuit available) | SIP 503 Service Unavailable | |
| 38 (network out of order) | SIP 503 Service Unavailable | |
| 41 (temporary failure) | SIP 503 Service Unavailable | |
| 42 (switching equipment congestion) | SIP 503 Service Unavailable | |
| 47 (resource unavailable) | SIP 503 Service Unavailable | |
| 55 (incoming calls barred within CUG) | SIP 403 Forbidden | |
| 57 (bearer capability not authorized) | SIP 403 Forbidden | |
| 58 (bearer capability not presently available) | SIP 503 Service Unavailable | |
| 65 (bearer capability not implemented) | SIP 488 Not Acceptable Here | |
| 70 (only restricted digital avail) | SIP 488 Not Acceptable Here | |
| 79 (service or option not implemented) | SIP 501 Not Implemented | |
| 87 (user not member of CUG) | SIP 403 Forbidden | |
| 88 (incompatible destination) | SIP 503 Service Unavailable | |
| 102 (recovery of timer expiry) | SIP 504 Server Time-out | |
| 111 (protocol error) | SIP 500 Server Internal Error | |
| 127 (interworking unspecified) | SIP 500 Server Internal Error | |
| Qualquer outra ((not listed)) | SIP 500 Server Internal Error | default for unlisted causes (SHOULD) |
| 44 (requested circuit or channel not available) | Nenhuma | untranslatable: should not result in any SIP status; originating switch retries another CIC |
De código SIP para causa Q.850 (RFC 3398, §8.2.6.1)
| Resposta SIP | Causa Q.850 | Observação |
|---|---|---|
| SIP 400 Bad Request | 41 (Temporary Failure) | |
| SIP 401 Unauthorized | 21 (Call rejected) | (*) try to authenticate first |
| SIP 402 Payment required | 21 (Call rejected) | |
| SIP 403 Forbidden | 21 (Call rejected) | |
| SIP 404 Not found | 1 (Unallocated number) | |
| SIP 405 Method not allowed | 63 (Service or option unavailable) | |
| SIP 406 Not acceptable | 79 (Service/option not implemented) | (+) |
| SIP 407 Proxy authentication required | 21 (Call rejected) | (*) try to authenticate first |
| SIP 408 Request timeout | 102 (Recovery on timer expiry) | |
| SIP 410 Gone | 22 (Number changed (w/o diagnostic)) | |
| SIP 413 Request Entity too long | 127 (Interworking) | (+) |
| SIP 414 Request-URI too long | 127 (Interworking) | (+) |
| SIP 415 Unsupported media type | 79 (Service/option not implemented) | (+) |
| SIP 416 Unsupported URI Scheme | 127 (Interworking) | (+) |
| SIP 420 Bad extension | 127 (Interworking) | (+) |
| SIP 421 Extension Required | 127 (Interworking) | (+) |
| SIP 423 Interval Too Brief | 127 (Interworking) | (+) |
| SIP 480 Temporarily unavailable | 18 (No user responding) | |
| SIP 481 Call/Transaction Does not Exist | 41 (Temporary Failure) | |
| SIP 482 Loop Detected | 25 (Exchange - routing error) | |
| SIP 483 Too many hops | 25 (Exchange - routing error) | |
| SIP 484 Address incomplete | 28 (Invalid Number Format) | (+) |
| SIP 485 Ambiguous | 1 (Unallocated number) | |
| SIP 486 Busy here | 17 (User busy) | |
| SIP 487 Request Terminated | Pelo cabeçalho Warning | |
| SIP 488 Not Acceptable here | Pelo cabeçalho Warning | default 31; 65 if Warning is about bearer capability |
| SIP 500 Server internal error | 41 (Temporary failure) | |
| SIP 501 Not implemented | 79 (Not implemented, unspecified) | |
| SIP 502 Bad gateway | 38 (Network out of order) | |
| SIP 503 Service unavailable | 41 (Temporary failure) | |
| SIP 504 Server time-out | 102 (Recovery on timer expiry) | |
| SIP 505 Version Not Supported | 127 (Interworking) | (+) RFC text prints 504; corrected to 505 by Errata ID 2161 (Held for Document Update) |
| SIP 513 Message Too Large | 127 (Interworking) | (+) |
| SIP 600 Busy everywhere | 17 (User busy) | |
| SIP 603 Decline | 21 (Call rejected) | |
| SIP 604 Does not exist anywhere | 1 (Unallocated number) | |
| SIP 606 Not acceptable | Pelo cabeçalho Warning | default 31; 65 if Warning is about bearer capability |
| Qualquer outro (not listed) | 31 (Normal, unspecified) | default for unlisted status codes |
Fontes: ITU-T Q.850 (10/18, com a emenda 1 de 04/19), RFC 3398 (com a errata) e RFC 6432, consultadas em 7 de outubro de 2026.
Cada falha com a sua causa, pronta para a operadora
O Monitor guarda o código SIP e a causa Q.850 de cada chamada de teste e os entrega na evidência do incidente.