Comment #8 on issue 159 by [email protected]: Implementing CAP phase 3 operations for SMS
http://code.google.com/p/jss7/issues/detail?id=159

Now this issues are still unfixed:

6. SMSAddressString needs extra implementing when alphanumeric character string cause. Here ias specification:
SMS-AddressString ::= AddressString (SIZE (1 .. maxSMS-AddressStringLength))
-- This data type is used to transport CallingPartyNumber for MT-SMS.
-- If this data type is used for MO-SMS, then the maximum number of digits shall be 16. -- An SMS-AddressString may contain an alphanumeric character string. In this
-- case, a nature of address indicator '101'B is used, in accordance with
-- 3GPP TS 23.040 [6]. The address is coded in accordance with the GSM 7-bit
-- default alphabet definition and the SMS packing rules as specified in
-- 3GPP TS 23.038 [15] in this case.

So if AddressString.getAddressNature()==AddressNature.reserved (=='101'B) we have to make another implementation of encoding / decoding. We have to override AddressString._decode() and encodeData(). For "AddressNature!=reserved" we will invoke corresponded super.*() methods and
for reserved - implement our code.
We have already implemented such encoding in org.mobicents.protocols.ss7.map.smstpdu.AddressFieldImpl (map stack) - look please there for details

8. TPValidityPeriodImpl: we have to implement an extra funtionality here:
- extra getter: org.mobicents.protocols.ss7.map.api.smstpdu.ValidityPeriod getValidityPeriod();
- extra constructor with a parameter "ValidityPeriod"
New methods must contain encoding/decoding functionality.
org.mobicents.protocols.ss7.map.smstpdu.SmsSubmitTpduImpl contains decoding (in SmsSubmitTpduImpl(byte[] data, Charset gsm8Charset))
and encoding (in encodeData()) templates


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to