How to setup and send sms using Jasmin?

977 views
Skip to first unread message

Roxan Guingao

unread,
Jul 14, 2015, 12:05:40 AM7/14/15
to jasmin-sm...@googlegroups.com
I've followed the installation steps down to send your first sms:

I'm getting error:

2015-07-14 12:02:22 INFO     12312 Reconnecting after 10 seconds ...
2015-07-14 12:02:32 INFO     12312 Connecting to IPv4Address(TCP, '172.16.10.67', 2775) ...
2015-07-14 12:03:02 ERROR    12312 Connection failed. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.TimeoutError'>: User timeout caused connection failure.

Can you help me setting up jasmin? Do I need third party subscription for it to send?

here's my current output on jcli:

jcli : mtrouter -l
#Order Type                    Rate       Connector ID(s)                                  Filter(s)                                                      
#0     DefaultRoute            0.00000    smppc(DEMO_CONNECTOR)                                                                                           
Total MT Routes: 1
jcli : morouter -l
Total MO Routes: 0
jcli : httpccm -l
Total Httpccs: 0
jcli : smppccm --list
#Connector id                        Service Session          Starts Stops
#DEMO_CONNECTOR                      started None             1      0   
Total connectors: 1
jcli :

Wakibi Chris

unread,
Jul 14, 2015, 2:35:52 AM7/14/15
to jasmin-sm...@googlegroups.com
Hi Roxan,

That clearly seems to be a network issue. Kindly share ping, traceroute as well as telnet output.

Cheers

Roxan Guingao

unread,
Jul 14, 2015, 3:06:29 AM7/14/15
to jasmin-sm...@googlegroups.com
Which ping, traceroute or telnet you need?

ping on 172.16.10.67 is not reachable. The ip was stated on the installation doc.

Wakibi Chris

unread,
Jul 14, 2015, 3:27:47 AM7/14/15
to jasmin-sm...@googlegroups.com
Oops! You are supposed to setup those IPs and Ports to match your upstream provider. Please share your configurations from jcli.

Roxan Guingao

unread,
Jul 14, 2015, 3:43:08 AM7/14/15
to jasmin-sm...@googlegroups.com
[dlr-thrower]
http_timeout       = 30
retry_delay        = 30
max_retries        = 3
log_level          = INFO
log_file           = /var/log/jasmin/dlr-thrower.log
log_format         = %(asctime)s %(levelname)-8s %(process)d %(message)s
log_date_format    = %Y-%m-%d %H:%M:%S

[http-api]
bind          = 0.0.0.0
port          = 1401

long_content_max_parts = 5
# Splitting long content can be made through SAR options or UDH
# Possible values are: sar and udh
long_content_split = sar

access_log         = /var/log/jasmin/http-access.log
log_level          = INFO
log_file           = /var/log/jasmin/http-api.log
log_format         = %(asctime)s %(levelname)-8s %(process)d %(message)s
log_date_format    = %Y-%m-%d %H:%M:%S

[smpp-server]
id            = "smpps_01"
bind          = 0.0.0.0
port          = 2775

sessionInitTimerSecs = 30
enquireLinkTimerSecs = 30
inactivityTimerSecs  = 300
responseTimerSecs    = 60
pduReadTimerSecs     = 30

log_level          = INFO
log_file           = /var/log/jasmin/default-smpps_01.log
log_format         = %(asctime)s %(levelname)-8s %(process)d %(message)s
log_date_format    = %Y-%m-%d %H:%M:%S

[jcli]
bind             = 0.0.0.0
port             = 1401
authentication   = True
admin_username   = jcliadmin
# MD5 password digest hex encoded
admin_password   = 79e9b0aa3f3e7c53e916f7ac47439bcb

log_level        = INFO
log_file         = /var/log/jasmin/jcli.log
log_format       = %(asctime)s %(levelname)-8s %(process)d %(message)s
log_date_format  = %Y-%m-%d %H:%M:%S

zoufou

unread,
Jul 14, 2015, 9:14:52 AM7/14/15
to jasmin-sm...@googlegroups.com, roxan....@gmail.com
Roxan, you still need a provider to grant you access for sending sms through SMPP protocol.

That's what the 172.16.10.67 is supposed to be.

Roxan Guingao

unread,
Jul 14, 2015, 8:20:24 PM7/14/15
to jasmin-sm...@googlegroups.com, roxan....@gmail.com
ahh ok, I was thinking that it will be a standalone application. Any suggestion on what provider to use?

zoufou

unread,
Jul 15, 2015, 2:29:43 PM7/15/15
to jasmin-sm...@googlegroups.com, roxan....@gmail.com
Roxan, Jookies the company behind Jasmin is providing routes with worldwide coverage, please send a request to sa...@jookies.net
Reply all
Reply to author
Forward
0 new messages