Please post this in the Kannel mailinglist and do not mail me directly.
== Rene From: Ravindra Gupta // Viva [mailto:ravin...@vivainfomedia.com] Sent: Wednesday, 04 April, 2012 14:10 To: Rene Kluwen Subject: opensmppbox with kannel issue: Dear Rene, I am trying to configure kannel with opensmppbox while configuring opensmppbox i am getting any error which i will describe. I have got one smpp account from SMSC and i have bind that account in smskannel.conf file. Using opemsmppbox i will be giving esme account to diffrent client. I have created SMPP client account using smpplogin.txt file i have got below error. smpplogins.txt file parameters as given below. client password vma 127.0.0.1 dilip dilip1 vma *.*.*.* ravi ravi vma *.*.*.* opensmppbox.log 2012-04-05 05:10:35 [16035] [190] DEBUG: sequence_number: 97 = 0x00000061 2012-04-05 05:10:35 [16035] [190] DEBUG: system_id: NULL 2012-04-05 05:10:35 [16035] [190] DEBUG: SMPP PDU dump ends. 2012-04-05 05:10:35 [16035] [190] ERROR: Invalid SMPP PDU received. 2012-04-05 05:10:35 [16035] [190] DEBUG: Thread 190 (opensmppbox.c:smpp_to_bearerbox) terminates. 2012-04-05 05:10:36 [16035] [189] DEBUG: Thread 189 (opensmppbox.c:function) terminates. 2012-04-05 05:10:45 [16035] [0] DEBUG: Started thread 191 (opensmppbox.c:function) 2012-04-05 05:10:45 [16035] [191] DEBUG: Thread 191 (opensmppbox.c:function) maps to pid 16035. 2012-04-05 05:10:45 [16035] [191] INFO: Client connected from <127.0.0.1> 2012-04-05 05:10:45 [16035] [191] DEBUG: Connecting to <127.0.0.1> 2012-04-05 05:10:45 [16035] [191] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2012-04-05 05:10:45 [16035] [191] DEBUG: Started thread 192 (opensmppbox.c:smpp_to_bearerbox) 2012-04-05 05:10:45 [16035] [192] DEBUG: Thread 192 (opensmppbox.c:smpp_to_bearerbox) maps to pid 16035. 2012-04-05 05:10:45 [16035] [192] DEBUG: SMPP[smppbox]: Got PDU: 2012-04-05 05:10:45 [16035] [192] DEBUG: SMPP PDU 0x1708d830 dump: 2012-04-05 05:10:45 [16035] [192] DEBUG: type_name: bind_transceiver 2012-04-05 05:10:45 [16035] [192] DEBUG: command_id: 9 = 0x00000009 2012-04-05 05:10:45 [16035] [192] DEBUG: command_status: 0 = 0x00000000 2012-04-05 05:10:45 [16035] [192] DEBUG: sequence_number: 98 = 0x00000062 bearerbox.log 2012-04-05 05:12:36 [16004] [8] DEBUG: SMPP[SMPP]: Got PDU: 2012-04-05 05:12:36 [16004] [8] DEBUG: SMPP PDU 0x3b0f690 dump: 2012-04-05 05:12:36 [16004] [8] DEBUG: type_name: bind_transceiver_resp 2012-04-05 05:12:36 [16004] [8] DEBUG: command_id: 2147483657 = 0x80000009 2012-04-05 05:12:36 [16004] [8] DEBUG: command_status: 13 = 0x0000000d 2012-04-05 05:12:36 [16004] [8] DEBUG: sequence_number: 109 = 0x0000006d 2012-04-05 05:12:36 [16004] [8] DEBUG: system_id: NULL 2012-04-05 05:12:36 [16004] [8] DEBUG: SMPP PDU dump ends. 2012-04-05 05:12:36 [16004] [8] ERROR: SMPP[SMPP]: SMSC rejected login to transmit, code 0x0000000d (Bind Failed). 2012-04-05 05:12:36 [16004] [8] ERROR: SMPP[SMPP]: Couldn't connect to SMS center (retrying in 10 seconds). 2012-04-05 05:12:36 [16004] [229] DEBUG: Thread 229 (gw/bb_boxc.c:boxc_sender) maps to pid 16004. 2012-04-05 05:12:36 [16004] [228] INFO: Connection closed by the box <127.0.0.1> 2012-04-05 05:12:36 [16004] [229] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2012-04-05 05:12:36 [16004] [229] DEBUG: Thread 229 (gw/bb_boxc.c:boxc_sender) terminates. 2012-04-05 05:12:36 [16004] [228] DEBUG: Thread 228 (gw/bb_boxc.c:function) terminates. smsbox.log 2012-04-05 05:00:19 [16021] [1] DEBUG: HTTP: Destroying HTTPClient area 0x1c9c7e20. 2012-04-05 05:00:19 [16021] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2012-04-05 05:00:58 [16021] [6] DEBUG: HTTP: Queue contains 0 outstanding requests 2012-04-05 05:00:58 [16021] [6] DEBUG: HTTP: Retrying request <> (1/5) 2012-04-05 05:00:58 [16021] [9] DEBUG: Queue contains 0 pending requests. 2012-04-05 05:00:58 [16021] [9] ERROR: URL <> doesn't start with `http://' nor `https://' 2012-04-05 05:00:58 [16021] [9] ERROR: Couldn't send request to <> 2012-04-05 05:01:19 [16021] [1] DEBUG: Timeout for fd:23 appeares. 2012-04-05 05:01:19 [16021] [1] DEBUG: HTTP: Destroying HTTPClient area 0x1c9c7bb0. 2012-04-05 05:01:19 [16021] [1] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2012-04-05 05:01:48 [16021] [6] DEBUG: HTTP: Queue contains 0 outstanding requests 2012-04-05 05:01:48 [16021] [6] DEBUG: HTTP: Retrying request <> (2/5) # sample opensmppbox.conf group = core dlr-storage = mysql # this group defines your opensmppbox group = opensmppbox # our boxc type opensmppbox-id = smppbox # the port to listen on for smpp connections opensmppbox-port = 2346 # we connect to the following host as a box bearerbox-host = 127.0.0.1 bearerbox-port = 13001 log-level = 0 log-file = /var/log/kannel/opensmppbox.log our-system-id = vma #route-to-smsc = my-default-smsc route-to-smsc = SMPP-Testing1 # see sample smpplogins.txt smpp-logins = /root/gateway1.5.0/opensmpppbox/smpplogins.txt" # the following is just standard dlr configuration group = mysql-connection id = mydlr host = localhost username = root password = sqladmin #database = smart_kannel database = dlr # you can increase this upon a higher load #max-connections = 1 group = dlr-db id = mydlr table = dlr1 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 ####################### smskanenl.conf group = core admin-port = 13000 smsbox-port = 13001 #smsbox-port = 13005 admin-password =v!v@*(9)in$*fo status-password =v!v@*(9)in$*fo #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "+358,00358,0;+,00" #access-log = "/tmp/access.log" #store-file = "kannel.store" #ssl-server-cert-file = "cert.pem" #ssl-server-key-file = "key.pem" #ssl-certkey-file = "mycertandprivkeyfile.pem" dlr-storage= mysql sms-resend-freq=60 sms-resend-retry=5 #SMSC Connection group= smsc smsc = smpp smsc-id = SMPP host= 180.149.242.80 smsc-username= client smsc-password= password port = 2346 #receive-port= 2775 connect-allow-ip = 127.0.0.1 system-type="vma" address-range="" alt-charset=1 #alt-charset="ASCII" source-addr-ton=1 source-addr-npi=1 dest-addr-ton=1 dest-addr-npi=1 #msg-id-type=0x01 allowed-smsc-id= SMPP transceiver-mode=1