Project

General

Profile

Actions

Bug #3169

open

OsmoMSC rejects SMPP messages with empty SMS

Added by laforge about 6 years ago. Updated over 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
SMPP Interface
Target version:
-
Start date:
04/14/2018
Due date:
% Done:

0%

Resolution:
Spec Reference:

Description

From what I can tell, an empty SMS is odd, but legal as per protocol spec.

If I submit an empty SMS via SMPP, I get:

Sat Apr 14 20:23:57 2018 DSMPP <000c> smpp_smsc.c:747 [msc_tester] smpp_pdu_rx(00 00 00 35 00 00 00 04 00 00 00 00 00 00 00 02 43 4d 54 00 00 00 31 32 33 34 35 00 01 01 34 39 31 32 33 30 30 30 30 30 34 35 00 01 00 00 00 00 00 00 01 00 00 )
Sat Apr 14 20:23:57 2018 DSMPP <000c> smpp_smsc.c:729 [msc_tester] Rx SUBMIT-SM (491230000045/1/1)
Sat Apr 14 20:23:57 2018 DLSMS <0017> smpp_openbsc.c:138 SMPP neither message payload nor valid sm_length.

and on SMPP level, an submit_sm_resp with "Invalid Parameter Length (0xC2)" is returned to the ESME.

Let's double-check if empty messages are legal, and then simply accept them.

Actions #1

Updated by laforge over 4 years ago

  • Assignee deleted (4368)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)