Revision: c93df027894a
Author: [email protected] <[email protected]>
Date: Fri Jun 22 06:23:54 2012
Log: Issue 16: SMSC Gateway not respecting the data_coding set in
SUBMIT_SM
http://code.google.com/p/smscgateway/source/detail?r=c93df027894a
Modified:
/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtSbb.java
=======================================
---
/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtSbb.java
Sun Jun 3 04:59:18 2012
+++
/core/slee/services/mtsbb/src/main/java/org/mobicents/smsc/slee/services/mt/MtSbb.java
Fri Jun 22 06:23:54 2012
@@ -161,7 +161,7 @@
SM_RP_OA sm_RP_OA =
this.mapParameterFactory.createSM_RP_OA_ServiceCentreAddressOA(this
.getServiceCenterAddressString());
- UserDataImpl ud = new UserDataImpl(new
String(smsEvent.getShortMessage()), new DataCodingSchemeImpl(0),
+ UserDataImpl ud = new UserDataImpl(new
String(smsEvent.getShortMessage()), new
DataCodingSchemeImpl(smsEvent.getDataCoding()),
null, null);
// TODO : Should this be SubmitDate or currentDate?
@@ -172,6 +172,8 @@
// TODO : Can this be constant?
ProtocolIdentifierImpl pi = new
ProtocolIdentifierImpl(0);
+
+ //TODO : Take care of esm_class to include UDHI. See
SMPP specs
SmsDeliverTpduImpl smsDeliverTpduImpl = new SmsDeliverTpduImpl(false,
false, false, true,
this.getSmsTpduOriginatingAddress(smsEvent.getSourceAddrTon(),
smsEvent.getSourceAddrNpi(),