Nella pagina “SMS->RAPPORTO INVII” non viene visualizzata alcuna descrizione per i messaggi con uno dei seguenti stati : “consegnato al dispositivo” e "spedito all'operatore".
I messaggi corrispondenti ad una consegna fallita hanno invece una descrizione con il seguente formato:
Status_RoutingCode_ErrorCode
Un messaggio può risultare “spedito all'operatore” per i seguenti motivi:
› Il messaggio è stato inviato all’operatore telefonico ed è in attesa di essere consegnato
- spedizione in corso da parte dell’operatore telefonico
- il terminale del destinatario potrebbe essere spento o irraggiungibile e l’operatore telefonico sta provvedendo a tentativi ripetuti di invio
› Il messaggio è stato inviato ad un numero di un operatore telefonico per il quale non sono disponibili le ricevute di ritorno. In questo caso il messaggio risulterà sempre accodato anche dopo l’effettiva consegna
Di seguito si riportano le descrizioni dei codici restituiti in caso di errore.
Status
I possibili valori sono i seguenti
SMPP 3.4 definition | Descrizione | Esempi | |
---|---|---|---|
NACK | Submit to SMSC failed | Richiesta rifiutata immediatamente dall’operatore SMSC | La richiesta ha un formato sbagliato |
UNDELIV | Message is undeliverable | Il messaggio non può essere consegnato | Non esiste una rotta per consegnare il messaggio al numero specificato |
EXPIRED | Message validity period has expired | non è stato possibile consegnare il messaggio e il periodo di validità è scaduto | Il destinatario ha il telefono spento o non raggiungibile |
UNKNOWN | Message is in invalid state | Messaggio generico, dettagli non specificati | |
REJECTD | Message is in a rejected state | La richiesta non è stata accettata dal server | Richiesta rifiutata |
FAILED | Submit to SMSC failed |
Nota: per il protocollo utilizzato esistono anche lo stato DELIVRD (consegnato al dispositivo) e lo stato ACCEPTED (spedito all'operatore) ma questi non saranno mai visualizzati perché non rientrano nelle casistiche di errore
Routing Code
A seconda della rotta (SMSC) su cui è instradato un SMS il codice di errore può essere diverso. I codici dei possibili percorsi sono:
- IB
- AT
- AG
- CM
- SA
Error Code
Codice di errore, dipende dallo status e, in alcuni casi, anche dal RoutingCode
Errori immediati ( Status=NACK )
Per le risposte con "Status = NACK” ci sono alcuni codici di errore che dipendono dalla rotta (SMSC).
Status diverso da "NACK"
Di seguito si riportano i valori di ErrorCode specifici per la rotta. Le righe evidenziate in verde si riferiscono al messaggio restituito in caso di messaggio inviato con successo.
Routing-code:4 (AT)
Error-Code | Status | Permanent | Descrizione |
00 | DELIVRD | Y | Message is delivered to destination |
01 | REJECTD | Y | SMPP Gateway cannot accept the message for delivery ( i.e. you run out of credit if your account is a prepaid one ) |
02 | UNDELIV | Y | Mobile network attemtps to deliver the message have been failed |
03 | ACCEPTED | N | Mobile network has accepted message for delivery |
04 | FAILED | Y | Mobile network is unable to accept message for delivery |
05 | EXPIRED | Y | Message validity period has expired |
99 | UNKNOWN | Y | AT cannot determine the status of your message |
Routing-code:3 (IB)
Error code | Error description | Permanent | Status |
0000 | EC_DELIVRD | Yes | DELIVERED |
1 | EC_UNKNOWN_SUBSCRIBER | Yes | UNDELIV |
5 | EC_UNIDENTIFIED_SUBSCRIBER | No | EXPIRED |
6 | EC_ABSENT_SUBSCRIBER_SM | No | EXPIRED |
9 | EC_ILLEGAL_SUBSCRIBER | Yes | UNDELIV |
11 | EC_TELESERVICE_NOT_PROVISIONED | Yes | UNDELIV |
12 | EC_ILLEGAL_EQUIPMENT | Yes | UNDELIV |
13 | EC_CALL_BARRED | No | EXPIRED |
21 | EC_FACILITY_NOT_SUPPORTED | No | EXPIRED |
27 | EC_ABSENT_SUBSCRIBER | No | EXPIRED |
31 | EC_SUBSCRIBER_BUSY_FOR_MT_SMS | No | EXPIRED |
32 | EC_SM_DELIVERY_FAILURE | No | EXPIRED |
33 | EC_MESSAGE_WAITING_LIST_FULL | No | EXPIRED |
34 | EC_SYSTEM_FAILURE | No | EXPIRED |
35 | EC_DATA_MISSING | Yes | UNDELIV |
36 | EC_UNEXPECTED_DATA_VALUE | Yes | UNDELIV |
256 | EC_SM_DF_memoryCapacityExceeded | No | EXPIRED |
257 | EC_SM_DF_equipmentProtocolError | No | EXPIRED |
258 | EC_SM_DF_equipmentNotSM_Equipped | No | EXPIRED |
259 | EC_SM_DF_unknownServiceCentre | No | EXPIRED |
260 | EC_SM_DF_sc_Congestion | No | EXPIRED |
261 | EC_SM_DF_invalidSME_Address | No | EXPIRED |
262 | EC_SM_DF_subscriberNotSC_Subscriber | No | EXPIRED |
500 | EC_PROVIDER_GENERAL_ERROR | No | EXPIRED |
502 | EC_NO_RESPONSE | No | EXPIRED |
503 | EC_SERVICE_COMPLETION_FAILURE | No | EXPIRED |
504 | EC_UNEXPECTED_RESPONSE_FROM_PEER | No | EXPIRED |
507 | EC_MISTYPED_PARAMETER | No | EXPIRED |
508 | EC_NOT_SUPPORTED_SERVICE | No | EXPIRED |
509 | EC_DUPLICATED_INVOKE_ID | No | EXPIRED |
511 | EC_INITIATING_RELEASE | No | EXPIRED |
1024 | EC_OR_appContextNotSupported | No | EXPIRED |
1025 | EC_OR_invalidDestinationReference | No | EXPIRED |
1026 | EC_OR_invalidOriginatingReference | No | EXPIRED |
1027 | EC_OR_encapsulatedAC_NotSupported | No | EXPIRED |
1028 | EC_OR_transportProtectionNotAdequate | No | EXPIRED |
1030 | EC_OR_potentialVersionIncompatibility | No | EXPIRED |
1031 | EC_OR_remoteNodeNotReachable | No | EXPIRED |
1152 | EC_NNR_noTranslationForAnAddressOfSuchNatur | No | EXPIRED |
1153 | EC_NNR_noTranslationForThisSpecificAddress | No | EXPIRED |
1154 | EC_NNR_subsystemCongestion | No | EXPIRED |
1155 | EC_NNR_subsystemFailure | No | EXPIRED |
1156 | EC_NNR_unequippedUser | No | EXPIRED |
1157 | EC_NNR_MTPfailure | No | EXPIRED |
1158 | EC_NNR_networkCongestion | No | EXPIRED |
1159 | EC_NNR_unqualified | No | EXPIRED |
1160 | EC_NNR_errorInMessageTransportXUDT | No | EXPIRED |
1161 | EC_NNR_errorInLocalProcessingXUDT | No | EXPIRED |
1162 | EC_NNR_destinationCannotPerformReassemblyXUDT | No | EXPIRED |
1163 | EC_NNR_SCCPfailure | No | EXPIRED |
1164 | EC_NNR_hopCounterViolation | No | EXPIRED |
1165 | EC_NNR_segmentationNotSupported | No | EXPIRED |
1166 | EC_NNR_segmentationFailure | No | EXPIRED |
1281 | EC_UA_userSpecificReason | No | EXPIRED |
1282 | EC_UA_userResourceLimitation | No | EXPIRED |
1283 | EC_UA_resourceUnavailable | No | EXPIRED |
1284 | EC_UA_applicationProcedureCancellation | No | EXPIRED |
1536 | EC_PA_providerMalfunction | No | EXPIRED |
1537 | EC_PA_supportingDialogOrTransactionRealeased | No | EXPIRED |
1538 | EC_PA_ressourceLimitation | No | EXPIRED |
1539 | EC_PA_maintenanceActivity | No | EXPIRED |
1540 | EC_PA_versionIncompatibility | No | EXPIRED |
1541 | EC_PA_abnormalMapDialog | No | EXPIRED |
1793 | EC_NC_responseRejectedByPeer | No | EXPIRED |
1794 | EC_NC_abnormalEventReceivedFromPeer | No | EXPIRED |
1795 | EC_NC_messageCannotBeDeliveredToPeer | No | EXPIRED |
1796 | EC_NC_providerOutOfInvoke | No | EXPIRED |
2048 | EC_TIME_OUT | No | EXPIRED |
2049 | EC_IMSI_BLACKLISTED | Yes | UNDELIV |
2050 | EC_DEST_ADDRESS_BLACKLISTED | Yes | UNDELIV |
2051 | EC_InvalidMscAddress | No | EXPIRED |
4096 | EC_InvalidPduFormat | Yes | UNDELIV |
4100 | EC_Cancelled | Yes | EXPIRED |
4101 | EC_ValidityExpired | Yes | UNDELIV |
Routing-code:6 (AG)
Error-Code | Description | Permanent | Status |
0 | Successfully delivered. | Y | DELIVERED |
3 | SMSC did not return a status for this delivery | UNKNOWN | |
4 | SMSC refused the message. | Y | REJECTED |
Message delivery expired. | Y | EXPIRED | |
SMSC was not able to deliver the message. | Y | UNDELIVERABLE |