Export the GSM MM reject causes dictionary.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5906 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2014-08-12 11:46:19 +00:00
parent c256c99a7e
commit 0b8d1925dd
2 changed files with 7 additions and 2 deletions

View File

@ -1650,7 +1650,7 @@ static const TokenDict s_pTMSIType[] = {
{0, 0},
};
static const TokenDict s_mmRejectCause[] = {
const TokenDict GSML3Codec::s_mmRejectCause[] = {
{"IMSI-unknown-in-HLR", 0x02},
{"illegal-MS", 0x03},
{"IMSI-unknown-in-VLR", 0x04},
@ -3064,7 +3064,7 @@ MAKE_IE_TYPE(Undef,0,0,0)
MAKE_IE_TYPE(Hex,0,0,0) // Use it to distinguish octet string types from undefined types
MAKE_IE_TYPE(MobileIdent,decodeMobileIdent, encodeMobileIdent,0)
MAKE_IE_TYPE(LAI,decodeLAI,encodeLAI,0)
MAKE_IE_TYPE(MMRejectCause,decodeEnum,encodeEnum,s_mmRejectCause)
MAKE_IE_TYPE(MMRejectCause,decodeEnum,encodeEnum,GSML3Codec::s_mmRejectCause)
MAKE_IE_TYPE(LocUpdType,decodeLocUpdType,encodeLocUpdType,0)
MAKE_IE_TYPE(CiphKeySN,decodeEnum,encodeEnum,s_ciphKeySN)
MAKE_IE_TYPE(MSNetFeatSupp,decodeEnum,encodeEnum,s_msNetworkFeatSupport)

View File

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