Sending Non-binary SMS Failed with Exception SMS-000005 GSM Message Format Incorrect

(Doc ID 1580942.1)

Last updated on DECEMBER 18, 2016

Applies to:

Oracle Communications Services Gatekeeper - Version 5.0.0.1 and later
Information in this document applies to any platform.

Symptoms

When sending SMS MT messages through ParlayX interface, A service exception is thrown at app tier with error message "SMS-000005 GSM message format incorrect".
The Message format not supported message only happens with Android phones. But it is able to send to iPhone successfully.

The following message is seen in default.log when DEBUG level is configured:

21 Aug 2013 10:44:49,746 [[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessageUtils -  [Plugin_px21_short_messaging_smpp_NONCUS#wlng_nt_sms_px21#5.0.0.1] exception-thrown byte[] oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessageUtils.hexStrToByteArray(String)( This is a test message )
java.lang.NumberFormatException: For input string: "Th"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:449)
    at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessageUtils.hexStrToByteArray(GsmShortMessageUtils.java:182)
    at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessageUtils.encodeMessage(GsmShortMessageUtils.java:490)
    at oracle.ocsg.plugin.sms.smpp.proxy.util.GsmShortMessage.createUdhAndSegments(GsmShortMessage.java:192)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms