SMPP to HTTP proxy

677 views
Skip to first unread message

Alexander Mustafin

unread,
Jul 1, 2015, 5:07:03 AM7/1/15
to jasmin-sm...@googlegroups.com
Hello.

Is it possible to use Jasmin as SMPP-HTTP proxy? I tried to send message over python-smpplib and morouter module, but unfortunately I have the next error:

2015-07-01 08:50:37 ERROR    16405 No route matched from user user1 for SubmitSmPDU: PDU [command: submit_sm, sequence_number: 2, command_status: ESME_ROK
service_type: ''

As I understand it happens, because morouter accepts only "delivery_sm". 

Thanks in advance,
Alexander

zoufou

unread,
Jul 1, 2015, 6:21:10 AM7/1/15
to jasmin-sm...@googlegroups.com, mustafin....@gmail.com
Yes, MO (aka Mobile Originated) is always a deliver_sm, MT (aka Mobile Terminated) is always a submit_sm.

What kind of messaging flow you are trying to do ?

Alexander Mustafin

unread,
Jul 1, 2015, 6:31:58 AM7/1/15
to jasmin-sm...@googlegroups.com, mustafin....@gmail.com
Hi, Zoufou.

I'm trying to implement the next flow:

SMPP client --> Jasmin (SMPP server) --> HTTP-API (carrier)


среда, 1 июля 2015 г., 15:21:10 UTC+5 пользователь zoufou написал:

Wakibi Chris

unread,
Jul 1, 2015, 6:50:03 AM7/1/15
to jasmin-sm...@googlegroups.com
Alexander,
Aren't you supposed to be connecting to Carriers over SMPP? Can they provide you an SMPP connection instead? 

Alexander Mustafin

unread,
Jul 1, 2015, 7:07:26 AM7/1/15
to jasmin-sm...@googlegroups.com
Unfortunately, Wakibi, I need to implement current task. 

среда, 1 июля 2015 г., 15:50:03 UTC+5 пользователь Wakibi Chris написал:

Wakibi Chris

unread,
Jul 1, 2015, 7:20:17 AM7/1/15
to jasmin-sm...@googlegroups.com
Unfortunately, Jaminesms (like other SMPP based SMS gateways) only connects to upstream providers over SMPP. SMPP is a standard (for sending SMS), and it's implemented the same way across all applications. Unfortunately, HTTP is not a standard for sending SMS. Am afraid what you need may not work. Probably Zoufou has a way around it?

zoufou

unread,
Jul 2, 2015, 8:07:29 PM7/2/15
to jasmin-sm...@googlegroups.com, wak...@gmail.com
Wakibi is right, http is not a standard way to connect to upstreams.

If you know your way in AMQP messaging, you can easily extend Jasmin with a http gateway yourself, you'll not need to touch any Jasmin source code, all you need is to hook in the messaging flow over AMQP, more details here: http://docs.jasminsms.com/en/latest/messaging/index.html

You can also contact me for any further information/support.

Alexander Mustafin

unread,
Jul 3, 2015, 1:22:44 AM7/3/15
to jasmin-sm...@googlegroups.com, wak...@gmail.com
Thank you, zoufou and Wakibi. I'm also think that RabbitMQ is the best way for this purposes. I've used it in other project and have some scripts.


пятница, 3 июля 2015 г., 5:07:29 UTC+5 пользователь zoufou написал:

Ettore Pelliccioni

unread,
Sep 2, 2015, 7:04:15 AM9/2/15
to Jasmin SMS Gateway, wak...@gmail.com
Hi Alexander,

Had you make any progress with this ? I am trying also to do a upstream conector, but i need some help building the correct content (pdu) to publish on the Rabbit Mq and feed the Jasmin with a deliver_sm / MO message.

Any help will welcome.

Regards

zoufou

unread,
Sep 2, 2015, 6:30:19 PM9/2/15
to Jasmin SMS Gateway, wak...@gmail.com
Then this discussion may be of interest for you.
Reply all
Reply to author
Forward
0 new messages