Jasmin client with smppc connector MO message routing from SMSC

265 views
Skip to first unread message

Dulguun G

unread,
Jun 21, 2023, 11:32:37 PM6/21/23
to Jasmin SMS Gateway

Jasmin connected to SMSC with ESME account as client. SMSC can send/receive sms from/to Jasmin.

1.From Jasmin using connector smppc to SMSC for MT submit_sm message working fine.

2.Jasmin receiving MO message deliver_sm same smppc connector from SMSC, but can’t route incoming message to other MT smppc route.

How can I solve this issue?


Regards,


spear a sea

unread,
Jun 22, 2023, 12:20:15 AM6/22/23
to Dulguun G, Jasmin SMS Gateway
I found you can route MO to clients connected to jasmin.
Maybe you'd need to intercept to change to MT in order to send somewhere else.


--
Jasmin SMS Gateway -- http://jasminsms.com
Commercial support: https://jasminsms.atlassian.net/servicedesk/customer/portal/1
---
You received this message because you are subscribed to the Google Groups "Jasmin SMS Gateway" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmin-sms-gate...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jasmin-sms-gateway/c71d28c8-ee60-4ca5-9f20-33c84be7be5bn%40googlegroups.com.

Dulguun G

unread,
Jun 22, 2023, 12:37:21 AM6/22/23
to Jasmin SMS Gateway
connection topology:

1.UE <----> SMSC <---- esme smppc<-----Jasmin as smpps <----International inbound gateway for sms - working fine
2.UE<----->SMSC------>esme smppc---->Jasmin as smppc---->International outbound gateway for sms - doesn't work

because MO message receive on smppc from SMSC, Jasmin automatically want to route MO. I guess Jasmin figure out MO as MT due to smppc connector used for it.

2023-06-21 18:49:09 DEBUG    3830571 Got one message (msgid:1e8cbb02-d17d-4813-8692-a01369b5ce53)
 to throw: PDU [command: CommandId.deliver_sm, sequence_number: 14, command_status: CommandStatus
.ESME_ROK
service_type: b''
source_addr_ton: <AddrTon.INTERNATIONAL: 2>
source_addr_npi: <AddrNpi.ISDN: 2>
source_addr: b'97660001811'
dest_addr_ton: <AddrTon.INTERNATIONAL: 2>
dest_addr_npi: <AddrNpi.ISDN: 2>
destination_addr: b'32473902103'
esm_class: EsmClass[mode: EsmClassMode.STORE_AND_FORWARD, type: EsmClassType.DEFAULT, gsmFeatures
: set()]
protocol_id: 0
priority_flag: <PriorityFlag.LEVEL_0: 1>
schedule_delivery_time: None
validity_period: None
registered_delivery: RegisteredDelivery[receipt: RegisteredDeliveryReceipt.SMSC_DELIVERY_RECEIPT_
REQUESTED, smeOriginatedAcks: set(), intermediateNotification: False]
replace_if_present_flag: <ReplaceIfPresentFlag.DO_NOT_REPLACE: 1>
data_coding: DataCoding[scheme: DataCodingScheme.DEFAULT, schemeData: DataCodingDefault.SMSC_DEFA
ULT_ALPHABET]
sm_default_msg_id: 0
short_message: b'Fffffgg'
]
2023-06-21 18:49:09 DEBUG    3830571 DCS Iteration 1/1 taking [cid:to35bics] (smpps Connector)
2023-06-21 18:49:09 ERROR    3830571 Throwing SMPP/DELIVER_SM [msgid:1e8cbb02-d17d-4813-8692-a013
69b5ce53] to (simple 1/1)[cid:to35bics], <class 'jasmin.routing.throwers.SystemIdNotBound'>: to35
bics.
2023-06-21 18:49:09 WARNING  3830571 Message [msgid:1e8cbb02-d17d-4813-8692-a01369b5ce53] is no m
ore processed after receiving "to35bics" error
2023-06-21 18:51:28 DEBUG    3830571 Got one message (msgid:0f657b34-077c-452c-946e-838283e8a33a)
 to throw: PDU [command: CommandId.deliver_sm, sequence_number: 15, command_status: CommandStatus
.ESME_ROK
service_type: b''
source_addr_ton: <AddrTon.INTERNATIONAL: 2>
source_addr_npi: <AddrNpi.ISDN: 2>
source_addr: b'97660001811'
dest_addr_ton: <AddrTon.INTERNATIONAL: 2>
dest_addr_npi: <AddrNpi.ISDN: 2>
destination_addr: b'32473902103'
esm_class: EsmClass[mode: EsmClassMode.STORE_AND_FORWARD, type: EsmClassType.DEFAULT, gsmFeatures
: set()]
protocol_id: 0
priority_flag: <PriorityFlag.LEVEL_0: 1>
schedule_delivery_time: None
validity_period: None
registered_delivery: RegisteredDelivery[receipt: RegisteredDeliveryReceipt.SMSC_DELIVERY_RECEIPT_
REQUESTED, smeOriginatedAcks: set(), intermediateNotification: False]
replace_if_present_flag: <ReplaceIfPresentFlag.DO_NOT_REPLACE: 1>
data_coding: DataCoding[scheme: DataCodingScheme.DEFAULT, schemeData: DataCodingDefault.SMSC_DEFA
ULT_ALPHABET]
sm_default_msg_id: 0
short_message: b'Hhrdawfgghh'
]
2023-06-21 18:51:28 DEBUG    3830571 DCS Iteration 1/1 taking [cid:tegshee] (smpps Connector)
2023-06-21 18:51:28 INFO     3830571 Throwed message [msgid:0f657b34-077c-452c-946e-838283e8a33a]
 to connector (simple 1/1)[cid:tegshee] using smpp.
dulgoon@smsgw-local:/var/log/jasmin$

10.30.3.36 - router.log
2023-06-21 18:51:28 DEBUG    1955931 Callbacked a deliver_sm with a DeliverSmPDU[f6626803-d8e5-4671-81
5a-a299c22433e6] (?): PDU [command: CommandId.deliver_sm, sequence_number: 20, command_status: Command
Status.ESME_ROK
service_type: b''
source_addr_ton: <AddrTon.INTERNATIONAL: 2>
source_addr_npi: <AddrNpi.ISDN: 2>
source_addr: b'97697660001811'
dest_addr_ton: <AddrTon.INTERNATIONAL: 2>
dest_addr_npi: <AddrNpi.ISDN: 2>
destination_addr: b'32473902103'
esm_class: EsmClass[mode: EsmClassMode.STORE_AND_FORWARD, type: EsmClassType.DEFAULT, gsmFeatures: set
()]
protocol_id: 0
priority_flag: <PriorityFlag.LEVEL_0: 1>
schedule_delivery_time: None
validity_period: None
registered_delivery: RegisteredDelivery[receipt: RegisteredDeliveryReceipt.SMSC_DELIVERY_RECEIPT_REQUE
STED, smeOriginatedAcks: set(), intermediateNotification: False]
replace_if_present_flag: <ReplaceIfPresentFlag.DO_NOT_REPLACE: 1>
data_coding: DataCoding[scheme: DataCodingScheme.DEFAULT, schemeData: DataCodingDefault.SMSC_DEFAULT_A
LPHABET]
sm_default_msg_id: 0
short_message: b'Hhrdawfgghh'
]
2023-06-21 18:51:28 INFO     1955931 No route matched this DeliverSmPDU with scid:to35bics and msgid:f
6626803-d8e5-4671-815a-a299c22433e6

Is it possible deliversm to submitsm or reverse direction?

spear a sea

unread,
Jun 22, 2023, 12:49:13 AM6/22/23
to Dulguun G, Jasmin SMS Gateway
If your provider could connect to your jasmin as client, i think you could route to them.
Otherwise -ya, maybe can send to http client, and then loop it back in as MT via http.  
or maybe interceptor can change pdu, u can set other options

Dulguun G

unread,
Jun 22, 2023, 12:53:09 AM6/22/23
to Jasmin SMS Gateway
a.Provider only has Jasmin as client.
b.route via http can be worst case option
c.any bit more explanation for interceptor change pdu and set other options?

spear a sea

unread,
Jun 22, 2023, 12:34:53 PM6/22/23
to Dulguun G, Jasmin SMS Gateway

There are example scripts listed.  and at githhub some.
I am not certain a MO can be converted to MT, probably you can't ( but is good to understand how interceptor works )

Reply all
Reply to author
Forward
0 new messages