Unable to bind smpp Connection

1,879 views
Skip to first unread message

Rupesh Sah

unread,
Aug 15, 2015, 10:37:05 PM8/15/15
to Jasmin SMS Gateway
Hi Everyone!!!!

I am new to jasmin. I have installed jasmin on fresh installation of Ubuntu 14.04 LTS.
And I have followed steps in the installation documnets on (http://docs.jasminsms.com/en/latest/installation/). Installation was successful.

I added smpp connection through jcli. I started connector, but binding failed. 

PINGing the remote smpp server failed but i can connect with telnet to remote smpp server.

I want to confiure Jasmin as:

http_client/smpp_client<=====>Jasmin<=====>smpp_client_of_MNO


Currently, I am using KANNEL as:

http_client<=====>KANNEL<=====>smpp_client_of_MNO

the same smpp connection works fine with kannel,  but unable to bind with JASMIN.

Logs:

2015-08-15 08:37:09 INFO     12784 Establishing TCP connection to xxx.xxx.xxx.xxx:2349
2015-08-15 08:37:09 INFO     12784 Connecting to IPv4Address(TCP, 'xxx.xxx.xxx.xxx', 2349) ...
2015-08-15 08:37:09 WARNING  12784 SMPP connection established from xxx.xxx.xxx.xxx to port 39884
2015-08-15 08:37:09 INFO     12784 Connection made to xxx.xxx.xxx.xxx:2349
2015-08-15 08:37:09 WARNING  12784 Requesting bind as transceiver
2015-08-15 08:37:09 ERROR    12784 Bind failed [[Failure instance: Traceback (failure with no frames): <class 'jasmin.vendor.smpp.pdu.error.SMPPTrans
actionError'>: ESME_RBINDFAIL ({'name': 'ESME_RBINDFAIL', 'description': 'Bind Failed'})

2015-08-15 08:37:29 INFO     12784 Reconnecting after 10 seconds ...
2015-08-15 08:37:39 INFO     12784 Connecting to IPv4Address(TCP, 'xxx.xxx.xxx.xxx', 2349) ...
2015-08-15 08:37:39 WARNING  12784 SMPP connection established from xxx.xxx.xxx.xxx to port 39887
2015-08-15 08:37:39 INFO     12784 Connection made to xxx.xxx.xxx.xxx:2349
2015-08-15 08:37:39 WARNING  12784 Requesting bind as transceiver
2015-08-15 08:37:40 WARNING  12784 SMPP xxx.xxx.xxx.xxx disconnected from port 39887: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
2015-08-15 08:37:40 ERROR    12784 Connection lost. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
2015-08-15 08:37:40 INFO     12784 Reconnecting after 10 seconds ...
2015-08-15 08:37:49 ERROR    12784 Request timed out after 30 secs: PDU [command: bind_transceiver, sequence_number: 1, command_status: ESME_ROK
system_id: 'xxxxxxxx'
password: 'xxxxxxxx'
system_type: ''
interface_version: 52
addr_ton: EnumValue(<jasmin.vendor.enum.Enum object at 0x7f305eb93a90>, 3, 'UNKNOWN')
addr_npi: EnumValue(<jasmin.vendor.enum.Enum object at 0x7f305eb38210>, 4, 'UNKNOWN')
address_range: None
]
2015-08-15 08:37:49 ERROR    12784 Bind failed [[Failure instance: Traceback (failure with no frames): <class 'jasmin.vendor.smpp.pdu.error.SMPPRequestTimoutError'>: Request timed out after 30 secs: PDU [command: bind_transceiver, sequence_number: 1, command_status: ESME_ROK


Any help will be appreciated.

Thank you.

zoufou

unread,
Aug 16, 2015, 7:13:15 AM8/16/15
to Jasmin SMS Gateway
Hi Rupesh,

Your MNO seems to reject your bind request, maybe there's some more firleds that the MNO is authenticating you to, like system type ...

Try to align your jasmin connector config to the same one in Kannel's smsc group, if it's still not working then please share your Kannel's config (w/o host and password :) )

Amelye Chatila

unread,
Feb 15, 2017, 11:51:56 PM2/15/17
to Jasmin SMS Gateway
Hi,

Facing the same issue here,

Kannel config

group = smsc
smsc = smpp
smsc-id = MNO
host = [IP Address]
port = 2775
throughput = 30
transceiver-mode = true
smsc-username = [username]
smsc-password = [password]
system-type = smpp
alt-charset = "iso-8859-1"
source-addr-ton = 5
source-addr-npi = 0
enquire-link-interval = 30


Jasmin connector logs

2017-02-16 07:39:14 ERROR    24500 Bind failed [[Failure instance: Traceback (failure with no frames): <class 'jasmin.vendor.smpp.pdu.error.SMPPTransactionError'>: ESME_RINVSYSID ({'name': 'ESME_RINVSYSID', 'description': 'Invalid System ID'})
]]. Disconnecting...
2017-02-16 07:39:14 WARNING  24500 Disconnecting...
2017-02-16 07:39:14 WARNING  24500 SMPP 41.223.4.174 disconnected from port 42826: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
2017-02-16 07:39:14 ERROR    24500 Connection lost. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.


Thank you!

Amelye

Bruno C

unread,
Mar 5, 2017, 11:01:19 AM3/5/17
to Jasmin SMS Gateway
Hi;

It seems to be an authentication issue, check your params.

Bruno

Amelye Chatila

unread,
Mar 5, 2017, 11:44:08 AM3/5/17
to Jasmin SMS Gateway
Hi,

Thank you, I was able to sort this out by setting "systype smpp" on connector configuration.

Amelye
Reply all
Reply to author
Forward
0 new messages