Deliver_sm message on Jasmin

145 views
Skip to first unread message

Carlos

unread,
Aug 21, 2024, 9:18:21 AM8/21/24
to Jasmin SMS Gateway
Hi!:

I have installed the jasmin server to interact with an SMSC who need to send me SMSs with deliver_sm, I've created a user, so, the SMSC can connect and sed the messages but every time a message is sent and unbind is generated from jasmin and I get this error.

21-08-2024 07:25:$S CRITICAL 3928854 Received unsupported pdu type: CommandId.deliver_sm
21-08-2024 07:25:$S WARNING  3928854 Shutdown requested...unbinding
21-08-2024 07:25:$S INFO     3928854 Waiting for in-progress transactions to finish...
21-08-2024 07:25:$S WARNING  3928854 Issuing unbind request
21-08-2024 07:25:$S INFO     3928854 Dropped CommandId.bind_transmitter bind for '<user>'. Active binds: CommandId.bind_transceiver: 0, CommandId.bind_transmitter: 0, CommandId.bind_receiver: 0.

I was looking into the documentation and I found that I need this property in the user profile to allow the SMPP client send deliver_sm, but doesn't work.
smpps_cred authorization bind True

This is the user configuration.

uid <user>
gid <group>
username <username>
mt_messaging_cred authorization http_send False
mt_messaging_cred authorization http_balance False
mt_messaging_cred authorization http_rate False
mt_messaging_cred authorization http_bulk False
mt_messaging_cred authorization smpps_send True
mt_messaging_cred authorization http_long_content True
mt_messaging_cred authorization dlr_level False
mt_messaging_cred authorization http_dlr_method False
mt_messaging_cred authorization src_addr True
mt_messaging_cred authorization priority True
mt_messaging_cred authorization validity_period False
mt_messaging_cred authorization schedule_delivery_time True
mt_messaging_cred authorization hex_content True
mt_messaging_cred valuefilter dst_addr .*
mt_messaging_cred valuefilter src_addr .*
mt_messaging_cred valuefilter priority ^[0-3]$
mt_messaging_cred valuefilter validity_period ^\d+$
mt_messaging_cred valuefilter content .*
mt_messaging_cred defaultvalue src_addr None
mt_messaging_cred quota balance ND
mt_messaging_cred quota early_percent ND
mt_messaging_cred quota sms_count ND
mt_messaging_cred quota http_throughput ND
mt_messaging_cred quota smpps_throughput ND
smpps_cred authorization bind True
smpps_cred quota max_bindings 4

Has anyone managed to successfully perform this configuration?

Thanks a lot!


alamin sheikh

unread,
Aug 22, 2024, 10:44:20 AM8/22/24
to Jasmin SMS Gateway
Can you please provide the sms flow diagram like this way:
Smsc-->?--->?--->?

alamin sheikh

unread,
Aug 23, 2024, 9:49:16 AM8/23/24
to Jasmin SMS Gateway
Hi,

I am not sure how you are connected to SMSC. You need to connect with SMSC using smpp client connector(smppcc).

Whatever user you are creating on Jasmin, those should be used for ESME clients.

Then to send SMS, need to create a MT route where Where SMS from ESME clents will be routed to SMSC. 
MT SMS Flow will be:
ESME-->Jasmin-->SMSC-->Handset

And to receive MO sms from SMSC and route them to ESME back, need to create a MO route as well.
MO SMS Flow will be:
Handset-->SMSC-->Jasmin-->ESME

You can check this video if it helps:
Reply all
Reply to author
Forward
0 new messages