Updates:
Status: Fixed
Comment #1 on issue 140 by [email protected]: Adding support for UCS2
and GSM8 coding for USSD
http://code.google.com/p/jss7/issues/detail?id=140
made changes:
- separate org.mobicents.protocols.ss7.map.api.datacoding package has been
created. GSMCharset, GSMCharsetDecoder, GSMCharsetDecodingData,
GSMCharsetEncoder, GSMCharsetEncodingData are moved here
- org.mobicents.protocols.ss7.map.api.datacodingCBSDataCodingScheme
interface has been introduced to present USSD-DataCodingScheme + enums
CBSNationalLanguage and CBSDataCodingGroup
- NationalLanguageIdentifier has been introduced to represent
NationalLanguageLockingShiftIdentifier and
NationalLanguageSingleShiftIdentifier (for sms tpdu)
- In ProcessUnstructuredSSRequest and other primitives that carry USSD
string
byte CBSDataCodingScheme getDataCodingScheme();
replaced with
public CBSDataCodingScheme getDataCodingScheme();
- USSDStringImpl now carries only encoded USSD string (in protected byte[]
data;).
In constructor
public USSDStringImpl(String ussdString, CBSDataCodingScheme
dataCodingScheme, Charset gsm8Charset) throws MAPException {
USSD string is made encoded
In method
public String getString(Charset gsm8Charset) throws MAPException;
USSD string is made decoded
Corresponded updates are also made in other MAP stack classes, MAP RA and a
manual