Added dictionary for GPRS mobility management reject causes.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5967 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
oana 2015-04-29 08:04:46 +00:00
parent 23213233c2
commit d62c034dae
2 changed files with 55 additions and 0 deletions

View File

@ -4970,6 +4970,56 @@ const TokenDict GSML3Codec::s_errorsDict[] = {
{0, 0},
};
const TokenDict GSML3Codec::s_gmmRejectCause[] = {
{"IMSI-unknown-in-HLR", 0x02},
{"illegal-MS", 0x03},
{"IMEI-not-accepted", 0x05},
{"illegal-ME", 0x06},
{"GPRS-services-not-allowed", 0x07},
{"GPRS-services-and-non-GPRS-services-not-allowed", 0x08},
{"MS-identity-cannot-be-derived-by-the-network", 0x09},
{"implicitly-detached", 0x0a},
{"PLMN-not-allowed", 0x0b},
{"location-area-not-allowed", 0x0c},
{"roaming-not-allowed-in-this-location-area", 0x0d},
{"GPRS-services-not-allowed-in-this-PLMN", 0x0e},
{"no-suitable-cells-in-location-area", 0x0f},
{"MSC-temporarily-not-reachable", 0x10},
{"network-failure", 0x11},
{"MAC-failure", 0x14},
{"synch-failure", 0x15},
{"congestion", 0x16},
{"GSM-authentication-unacceptable", 0x17},
{"not-authorized-for-this-CSG", 0x19},
{"SMS-provided-via-GPRS-in-this-routing-area", 0x1c},
{"no-PDP-context-activated", 0x28},
{"retry-upon-entry-into-a-new-cell", 0x30},
{"retry-upon-entry-into-a-new-cell", 0x31},
{"retry-upon-entry-into-a-new-cell", 0x32},
{"retry-upon-entry-into-a-new-cell", 0x33},
{"retry-upon-entry-into-a-new-cell", 0x34},
{"retry-upon-entry-into-a-new-cell", 0x35},
{"retry-upon-entry-into-a-new-cell", 0x36},
{"retry-upon-entry-into-a-new-cell", 0x37},
{"retry-upon-entry-into-a-new-cell", 0x38},
{"retry-upon-entry-into-a-new-cell", 0x38},
{"retry-upon-entry-into-a-new-cell", 0x3a},
{"retry-upon-entry-into-a-new-cell", 0x3b},
{"retry-upon-entry-into-a-new-cell", 0x3c},
{"retry-upon-entry-into-a-new-cell", 0x3d},
{"retry-upon-entry-into-a-new-cell", 0x3e},
{"retry-upon-entry-into-a-new-cell", 0x3f},
{"semantically-incorrect-message", 0x5f},
{"invalid-mandatory-information", 0x60},
{"message-type-non-existent-or-not-implemented", 0x61},
{"message-type-not-compatible-with-the-protocol-state", 0x62},
{"information-element-non-existent-or-not-implemented", 0x63},
{"conditional-IE-error", 0x64},
{"message-not-compatible-with-the-protocol-state", 0x65},
{"protocol-error-unspecified", 0x6f},
{0, 0},
};
GSML3Codec::GSML3Codec(DebugEnabler* dbg)
: m_flags(0),
m_dbg(0),

View File

@ -274,6 +274,11 @@ public:
*/
static const TokenDict s_mmRejectCause[];
/**
* GPRS Mobility Management reject causes dictionary
*/
static const TokenDict s_gmmRejectCause[];
private:
unsigned int decodeXml(XmlElement* xml, const NamedList& params, const String& pduTag);