Please don“t email me directly with Kannel questions, but use [email protected].
In your group = core, add smsbox-port = 13002. -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: donderdag 23 januari 2014 13:24 To: [email protected] Subject: Please help me in configureing Opensmppbox (bind Failed) I have gone through many asked question, but they didnt work for me. I have the same problem in configuring opensmppbox. Client Logs 2014-01-23 17:15:16 [12357] [6] DEBUG: Connecting to <172.16.37.103> 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP[MVOIPdev]: Sending PDU: 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU 0x7fb030000a10 dump: 2014-01-23 17:15:16 [12357] [6] DEBUG: type_name: bind_transceiver 2014-01-23 17:15:16 [12357] [6] DEBUG: command_id: 9 = 0x00000009 2014-01-23 17:15:16 [12357] [6] DEBUG: command_status: 0 = 0x00000000 2014-01-23 17:15:16 [12357] [6] DEBUG: sequence_number: 2 = 0x00000002 2014-01-23 17:15:16 [12357] [6] DEBUG: system_id: "usern" 2014-01-23 17:15:16 [12357] [6] DEBUG: password: "passw" 2014-01-23 17:15:16 [12357] [6] DEBUG: system_type: "SMPP" 2014-01-23 17:15:16 [12357] [6] DEBUG: interface_version: 52 = 0x00000034 2014-01-23 17:15:16 [12357] [6] DEBUG: addr_ton: 0 = 0x00000000 2014-01-23 17:15:16 [12357] [6] DEBUG: addr_npi: 0 = 0x00000000 2014-01-23 17:15:16 [12357] [6] DEBUG: address_range: "" 2014-01-23 17:15:16 [12357] [6] DEBUG: SMPP PDU dump ends. 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP[MVOIPdev]: Got PDU: 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU 0x7fb030000a10 dump: 2014-01-23 17:15:17 [12357] [6] DEBUG: type_name: bind_transceiver_resp 2014-01-23 17:15:17 [12357] [6] DEBUG: command_id: 2147483657 = 0x80000009 2014-01-23 17:15:17 [12357] [6] DEBUG: command_status: 13 = 0x0000000d 2014-01-23 17:15:17 [12357] [6] DEBUG: sequence_number: 2 = 0x00000002 2014-01-23 17:15:17 [12357] [6] DEBUG: system_id: NULL 2014-01-23 17:15:17 [12357] [6] DEBUG: SMPP PDU dump ends. 2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: SMSC rejected login to transmit, code 0x0000000d (Bind Failed). 2014-01-23 17:15:17 [12357] [6] ERROR: SMPP[MVOIPdev]: Couldn't connect to SMS center (retrying in 10 seconds). opensmppbox Logs 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Got PDU: 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc000d50 dump: 2014-01-23 17:16:18 [7959] [28] DEBUG: type_name: bind_transceiver 2014-01-23 17:16:18 [7959] [28] DEBUG: command_id: 9 = 0x00000009 2014-01-23 17:16:18 [7959] [28] DEBUG: command_status: 0 = 0x00000000 2014-01-23 17:16:18 [7959] [28] DEBUG: sequence_number: 7 = 0x00000007 2014-01-23 17:16:18 [7959] [28] DEBUG: system_id: "usern" 2014-01-23 17:16:18 [7959] [28] DEBUG: password: "passw" 2014-01-23 17:16:18 [7959] [28] DEBUG: system_type: "SMPP" 2014-01-23 17:16:18 [7959] [28] DEBUG: interface_version: 52 = 0x00000034 2014-01-23 17:16:18 [7959] [28] DEBUG: addr_ton: 0 = 0x00000000 2014-01-23 17:16:18 [7959] [28] DEBUG: addr_npi: 0 = 0x00000000 2014-01-23 17:16:18 [7959] [28] DEBUG: address_range: NULL 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends. 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP[OpenSMPPBox1]: Sending PDU: 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU 0x7f95cc001050 dump: 2014-01-23 17:16:18 [7959] [28] DEBUG: type_name: bind_transceiver_resp 2014-01-23 17:16:18 [7959] [28] DEBUG: command_id: 2147483657 = 0x80000009 2014-01-23 17:16:18 [7959] [28] DEBUG: command_status: 13 = 0x0000000d 2014-01-23 17:16:18 [7959] [28] DEBUG: sequence_number: 7 = 0x00000007 2014-01-23 17:16:18 [7959] [28] DEBUG: system_id: NULL 2014-01-23 17:16:18 [7959] [28] DEBUG: SMPP PDU dump ends. 2014-01-23 17:16:19 [7959] [28] ERROR: Invalid SMPP PDU received. 2014-01-23 17:16:19 [7959] [28] DEBUG: Thread 28 (opensmppbox.c:smpp_to_bearerbox) terminates. 2014-01-23 17:16:20 [7959] [27] DEBUG: Thread 27 (opensmppbox.c:function) terminates. [Kannel server] * {kannel.conf} #Kannel-Server Configuration #-------------------------------------------- group = core admin-port = 13000 admin-password = bar dlr-storage = mysql box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;172.16.37.103" smsbox-port = 13002 group = smsc smsc = fake smsc-id = Kannel-Server host = 127.0.0.1 port = 13003 group = smsbox bearerbox-host = 127.0.0.1 sendsms-port = 13010 group = sendsms-user username = kannel password = password group = mysql-connection id = mydlr host = localhost username = root password = password database = sqlbox # max count of connections that will be opened for dbpool # default is 1 max-connections = 1 group = dlr-db table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc * {sql.conf} #SQLBox Server Configuration #---------------------------------------------- group = sqlbox id = sqlbox-db smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13002 smsbox-port = 13005 smsbox-port-ssl = false sql-log-table = sent_sms sql-insert-table = send_sms group = mysql-connection id = sqlbox-db host = localhost username = root password = vopium99 database = sqlbox # you can increase this upon a higher load max-connections = 1 group = sdb-connection id = sqlbox-db url = mysql:host=localhost:db=sqlbox:uid=root:pwd=password * {opensmpp.conf} #OpenSMPPBox Configuration #---------------------------------------------- group = core dlr-storage = mysql group = opensmppbox opensmppbox-id = OpenSMPPBox1 opensmppbox-port = 5019 bearerbox-host = localhost bearerbox-port = 13005 log-level = 0 log-file = "/var/log/kannel/opensmppbox.log" our-system-id = usern #use-systemid-as-smsboxid = true route-to-smsc = Kannel-Server # see sample smpplogins.txt smpp-logins = "/root/smpplogins.txt"" #smpp-logins = "/usr/run/gateway1/addons/opensmppbox/example/smpplogins.txt.example" # the following is just standard dlr configuration group = mysql-connection id = mydlr host = localhost username = root password = vopium99 database = sqlbox # you can increase this upon a higher load max-connections = 1 group = dlr-db id = mydlr table = smppdlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxcid smpplogins.txt usern passw SMPP *.*.*.* [Kannel Client] # # KANNEL (client) CONFIGURATION #-------------------------------------- # CORE group=core admin-port=14000 smsbox-port=14001 admin-password=bar log-file="/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1;172.16.37.109" access-log="/var/log/kannel/bearerbox-access.log" store-type=file store-location="/var/log/kannel/kannel.store" # SMSC CONNECTIONS group = smsc smsc = smpp smsc-id = MVOIPdev host = 172.16.37.103 port = 5019 system-id = usern #smsc-username = usern smsc-password = usern address-range = "" system-type = "SMPP" transceiver-mode = true interface-version = 34 log-level = 0 log-file = "/var/log/kannel/mvoip.log" # SMSBOX SETUP group = smsbox smsbox-id = btel02 bearerbox-host = localhost sendsms-port = 14013 #global-sender = 13013 #log-level = 4 log-file = "/var/log/kannel/smsbox.log" access-log = "/var/log/kannel/smsbox-access.log" # SMSBOX Route group = smsbox-route smsbox-id = btel02 smsc-id = MVOIPdev # SERVICES group = sms-service keyword = default get-url = "url" # group = sendsms-user username = usermv password = ac4737ae Please help me in this. Kind Regards Hamid R. Hashmi _____________________________________ Sent from http://kannel.6189.n7.nabble.com
