Success Response Parameters

When the DNS query is successfully executed and the status indicates NOERROR, the following parameters will be available within the response's ANSWER section. The parameters listed vary depending on the account configuration, product used, and country/network coverage.

Response Parameters:

PropertyTypeDescriptionOptional
sipStringMSISDN with a + prefixfalse
mccStringMobile country code (3 digits)false
mncStringMobile network code (2 or 3 digits)false
omncStringMNC of the original network (for ported numbers)true
portedIntegerIndicates if the number is ported (1 for ported, 0 for not ported)true
roamingIntegerIndicates if the number is roaming (1 for roaming, 0 for not roaming)true
rmccStringMobile country code of the roaming countrytrue
mscStringGlobal title of the mobile switching center (MSC)true
imsiStringInternational Mobile Subscriber Identitytrue
gsm_error_codeIntegerThe GSM error code returned (see the GSM error code list below)true

GSM Error Codes:

CodeError DescriptionPermanent/TemporaryStatus
0DELIVEREDPermanentDELIVERED
1UNKNOWN_SUBSCRIBERPermanentUNDELIVERED
5UNIDENTIFIED_SUBSCRIBERTemporaryEXPIRED
9ILLEGAL_SUBSCRIBERPermanentUNDELIVERED
11TELESERVICE_NOT_PROVISIONEDPermanentUNDELIVERED
13CALL_BARREDTemporaryEXPIRED
21FACILITY_NOT_SUPPORTEDTemporaryEXPIRED
27ABSENT_SUBSCRIBERTemporaryEXPIRED
31SUBSCRIBER_BUSY_FOR_MT_SMSTemporaryEXPIRED
32DELIVERY_FAILURETemporaryEXPIRED
34SYSTEM_FAILURETemporaryEXPIRED
36UNEXPECTED_DATA_VALUEPermanentUNDELIVERED
37MEMORY_CAPACITY_EXCEEDEDTemporaryEXPIRED
38PREFIX_NOT_RESOLVEDTemporaryEXPIRED
39IMSI_BLACKLISTEDPermanentUNDELIVERED
40DEST_ADDRESS_BLACKLISTEDPermanentUNDELIVERED
41TIME_OUTTemporaryEXPIRED
43INVALID_ORIGINATOR_ADDRESSTemporaryEXPIRED
100GENERAL_ERRORTemporaryEXPIRED
200EQUIPMENT_PROTOCOL_ERRORTemporaryEXPIRED
201UNKNOWN_MSCTemporaryEXPIRED
202CONGESTION_ERRORTemporaryEXPIRED
203PARAMETER_MISMATCHTemporaryEXPIRED
204INITIATING_RELEASETemporaryEXPIRED
205POTENTIAL_VERSION_INCOMPATIBILITYTemporaryEXPIRED
206REMOTE_NODE_NOT_REACHABLETemporaryEXPIRED
207MTP_FAILURETemporaryEXPIRED
208NETWORK_CONGESTIONTemporaryEXPIRED
209SIGNALLING_FAILURETemporaryEXPIRED
210ABNORMAL_MAP_DIALOGTemporaryEXPIRED
211INVALID_PDU_FORMATPermanentUNDELIVERED
300ABORTED_RETRYPermanentEXPIRED
301VALIDITY_PERIOD_EXPIREDPermanentEXPIRED

A permanent status indicates the results of any additional queries to the same number are going to return the same result. For Example, when the subscriber turns their mobile phone off a temporary error code will be returned, at any point subscriber can turn the mobile phone back on meaning it is not a permanent error.