JSMPP MO messages

259 views
Skip to first unread message

Umoh Bassey-Duke

unread,
Aug 13, 2015, 10:41:31 AM8/13/15
to Jasmin SMS Gateway
Hi,

I'm trying to build a custom SMS center for simulating sending and receiving of SMS. I'm using a JSMPP implementation called cloudhopper/smpp https://github.com/twitter/cloudhopper-smpp.
Note that I can send MO messages using SMPPSim, However it doesn't provide any useful support for MT messages, aside from displaying it on the console. I need this because a bunch of non technical testers will be simulating sms's for the app. And I need to create a web interface for them.

However, I keep getting the following error when I try to send a sample message.

2015-08-13 17:25:30 DEBUG    18396 QoS: submit_sm_callback is faster (0:00:00.003684) than fixed throughput (0:00:00.009091), slowing down by 0.005407 seconds (message will be requeued).
2015-08-13 17:25:30 DEBUG    18396 Requeuing SubmitSmPDU[85e0cf95-bbe3-4cce-bf09-cad7a75e4077] in 0.005407 seconds
2015-08-13 17:25:30 DEBUG    18396 Callbacked a submit_sm with a SubmitSmPDU[85e0cf95-bbe3-4cce-bf09-cad7a75e4077] (?): PDU [command: submit_sm, sequence_number: 4, command_status: ESME_ROK
service_type: ''
source_addr_ton: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f1610>, 1, 'NETWORK_SPECIFIC')
source_addr_npi: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f10d0>, 4, 'UNKNOWN')
source_addr: '40404'
dest_addr_ton: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f1610>, 6, 'INTERNATIONAL')
dest_addr_npi: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f10d0>, 9, 'ISDN')
destination_addr: '44555519205'
esm_class: EsmClass[mode: DEFAULT, type: DEFAULT, gsmFeatures: set([])]
protocol_id: 0
priority_flag: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f1d90>, 0, 'LEVEL_0')
schedule_delivery_time: None
validity_period: None
registered_delivery: RegisteredDelivery[receipt: NO_SMSC_DELIVERY_RECEIPT_REQUESTED, smeOriginatedAcks: set([]), intermediateNotification: False]
replace_if_present_flag: EnumValue(<jasmin.vendor.enum.Enum object at 0x7fee361f1790>, 0, 'DO_NOT_REPLACE')
data_coding: DataCoding[scheme: DEFAULT, schemeData: SMSC_DEFAULT_ALPHABET]
sm_default_msg_id: 0
short_message: '\x1be Lorem \x1b<ipsum\x1b> dolor sit amet, consectetur adipiscing elit. Proin feugiat, leo id commodo tincidunt, nibh diam ornare est, vitae accumsan risus lacus sed sem metus.'
]
2015-08-13 17:25:30 ERROR    18396 SMPPC [cid:SMPP_CONNECTOR] is not connected: Discarding (#1536) SubmitSmPDU[85e0cf95-bbe3-4cce-bf09-cad7a75e4077], over-aged 11 seconds.

My SMPP_CONNECTOR is setup as a Transciever. 

Here's a link to the demo Class that I'm using. https://github.com/twitter/cloudhopper-smpp/blob/master/src/test/java/com/cloudhopper/smpp/demo/ClientMain.java. I've changed the port to 2775

Is there some setting or property that I might be missing?

Regards

zoufou

unread,
Aug 14, 2015, 4:58:36 PM8/14/15
to Jasmin SMS Gateway
I see you got a throughput error, you need to adjust the throughput of your connector in Jasmin, by default it's fixed to 1 sms per second.

Set your connector's submit_throughput value to 0 (zero) to remove any QoS control, or for any higher value for more throughput.
Reply all
Reply to author
Forward
0 new messages