You are here

MAP SMS TAGs code

3 posts / 0 new
Last post
Ard G
MAP SMS TAGs code

Hi all, can anyone give me information what is the standard where I can find some SMS Tags like:

for MSISDN, tag is 0x80, for SM-RP-PRI, tag is 0x81, for Service Center address, tag is 0x82.

I know all this I have, but I neet all other, then I need to know what is the standard it's in. I have been looking on GSm 29.002, GSM 23.040, and GSM 24.011 and I don't find them.

Can you give me a hand please,

Thanks

Ard G.

Edited by: admin on 05/16/2010 - 04:32
Ard G
Re: MAP SMS TAGs code

To be more specific for the operation code:

sendRoutingInfoForSM OPERATION ::= { --Timer m
ARGUMENT
RoutingInfoForSM-Arg
RESULT
RoutingInfoForSM-Res
ERRORS {
systemFailure |
dataMissing |
unexpectedDataValue |
facilityNotSupported |
unknownSubscriber |
teleserviceNotProvisioned |
callBarred |
absentSubscriberSM}
CODE local:45 }

Then, here the RoutingInfoForSM-Arg are:

RoutingInfoForSM-Arg ::= SEQUENCE {
msisdn [0] ISDN-AddressString,
sm-RP-PRI [1] BOOLEAN,
serviceCentreAddress [2] AddressString,
extensionContainer [6] ExtensionContainer OPTIONAL,
... ,
gprsSupportIndicator [7] NULL OPTIONAL,
-- gprsSupportIndicator is set only if the SMS-GMSC supports
-- receiving of two numbers from the HLR
sm-RP-MTI [8] SM-RP-MTI OPTIONAL,
sm-RP-SMEA [9] SM-RP-SMEA OPTIONAL,
sm-deliveryNotIntended [10] SM-DeliveryNotIntended OPTIONAL }

And, these tags value is what I need to know where I can find. For instace, for thisca Operation code, I need:
- msisdn,
- sm-rp-pri,
- serviceCentreAddress, etc.

dineshonss7
Re: MAP SMS TAGs code

These Tags are encoded according to BER rules.
Tags can be encoded in one byte or multi byte form depends on values of the tag.

Bits No
8  ---|
7  ---|  ---- to identify the class, there are four classes

6  --- |  ---- it represents constructive or primitive (0 = P , 1 = C)

5 to 1 --- | tag value.

in MAP ASN.1 message when you see
sm-RP-PRI      [1] BOOLEAN  for any sequence
it will be encoded as
8
7  --- 10 (context specific class)
6 ---  0  (primitive)

5-1 --- 1 (value of the tag as mentioned in IE of the message)

so bit formation is 10-0-00001 = 0x81  (sm-RP-PRI      [1] BOOLEAN)

Now you can generate the TAGS for other IEs. 

serviceCentreAddress  = 10-0-00010  = 0x82

for sequence and other constructive parameter you should se the right most 3rd bit to 1