Maybe you need a different port for your transmitter session? Can you log in as transceiver? (which could also possibly solve your problem).
== Rene From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Eduardo Alfaia Sent: Friday, 17 June, 2011 15:48 To: Nikos Balkanas; users@kannel.org Subject: Fwd: Problems to connect to SMSC FYI Regards ---------- Forwarded message ---------- From: Eduardo Alfaia <eduardocalf...@gmail.com> Date: 2011/6/16 Subject: Re: Problems to connect to SMSC To: Nikos Balkanas <nbalka...@gmail.com> Hi Nikos follow the bind_transmitter PDU SMPP[internal]: Sending PDU: 2011-06-16 09:20:24 [26505] [6] DEBUG: SMPP PDU 0x9c26058 dump: 2011-06-16 09:20:24 [26505] [6] DEBUG: type_name: bind_transmitter 2011-06-16 09:20:24 [26505] [6] DEBUG: command_id: 2 = 0x00000002 2011-06-16 09:20:24 [26505] [6] DEBUG: command_status: 0 = 0x00000000 2011-06-16 09:20:24 [26505] [6] DEBUG: sequence_number: 1 = 0x00000001 2011-06-16 09:20:24 [26505] [6] DEBUG: system_id: "kannel" 2011-06-16 09:20:24 [26505] [6] DEBUG: password: "kannel" 2011-06-16 09:20:24 [26505] [6] DEBUG: system_type: "SMPP" 2011-06-16 09:20:24 [26505] [6] DEBUG: interface_version: 52 = 0x00000034 2011-06-16 09:20:24 [26505] [6] DEBUG: addr_ton: 0 = 0x00000000 2011-06-16 09:20:24 [26505] [6] DEBUG: addr_npi: 0 = 0x00000000 2011-06-16 09:20:24 [26505] [6] DEBUG: address_range: NULL 2011-06-16 09:20:24 [26505] [6] DEBUG: SMPP PDU dump ends. 2011/6/15 Nikos Balkanas <nbalka...@gmail.com> Hi, 1.4.2 is very outdated (~10 yr!). Upgrade to latest SVN. You are missing the bind_transmitter PDU from kannel. Please repost. BR, Nikos On Wed, Jun 15, 2011 at 5:56 PM, Eduardo Alfaia <eduardocalf...@gmail.com> wrote: Hi guys I am having a problem with kannel to connect my NokiaSMSC, I'm using the version 1.4.2 to redhat el4. I'm getting this error below: PS. I've tested this user and password in another application and it's work. 2011-06-14 16:40:44 [22638] [0] INFO: Kannel bearerbox II version 1.4.2 starting 2011-06-14 16:40:44 [22638] [0] INFO: MAIN: Start-up done, entering mainloop 2011-06-14 16:40:44 [22638] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 22638. 2011-06-14 16:40:44 [22638] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_receiver) maps to pid 22638. 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Sending PDU: 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP PDU 0x984c7b8 dump: 2011-06-14 16:40:44 [22638] [7] DEBUG: type_name: bind_receiver 2011-06-14 16:40:44 [22638] [7] DEBUG: command_id: 1 = 0x00000001 2011-06-14 16:40:44 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:40:44 [22638] [7] DEBUG: sequence_number: 2 = 0x00000002 2011-06-14 16:40:44 [22638] [7] DEBUG: system_id: "kannel" 2011-06-14 16:40:44 [22638] [7] DEBUG: password: "kannel" 2011-06-14 16:40:44 [22638] [7] DEBUG: system_type: "SMPP" 2011-06-14 16:40:44 [22638] [7] DEBUG: interface_version: 52 = 0x00000034 2011-06-14 16:40:44 [22638] [7] DEBUG: addr_ton: 0 = 0x00000000 2011-06-14 16:40:44 [22638] [7] DEBUG: addr_npi: 0 = 0x00000000 2011-06-14 16:40:44 [22638] [7] DEBUG: address_range: "''" 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:40:44 [22638] [5] INFO: Client connected from <10.1.25.12> 2011-06-14 16:40:44 [22638] [5] DEBUG: Started thread 14 (gw/bb_boxc.c:function) 2011-06-14 16:40:44 [22638] [14] DEBUG: Thread 14 (gw/bb_boxc.c:function) maps to pid 22638. 2011-06-14 16:40:44 [22638] [14] DEBUG: Started thread 15 (gw/bb_boxc.c:boxc_sender) 2011-06-14 16:40:44 [22638] [15] DEBUG: Thread 15 (gw/bb_boxc.c:boxc_sender) maps to pid 22638. 2011-06-14 16:40:44 [22638] [7] DEBUG: Optional parameter tag (0x0210) 2011-06-14 16:40:44 [22638] [7] DEBUG: Optional parameter length read as 1 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Got PDU: 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:40:44 [22638] [7] DEBUG: type_name: bind_receiver_resp 2011-06-14 16:40:44 [22638] [7] DEBUG: command_id: 2147483649 = 0x80000001 2011-06-14 16:40:44 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:40:44 [22638] [7] DEBUG: sequence_number: 2 = 0x00000002 2011-06-14 16:40:44 [22638] [7] DEBUG: system_id: "NokiaSMSC" 2011-06-14 16:40:44 [22638] [7] DEBUG: sc_interface_version: 52 = 0x00000034 2011-06-14 16:40:44 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:40:54 [22638] [6] DEBUG: SMPP[Nokiasmsc]: Sending enquire link: 2011-06-14 16:40:54 [22638] [6] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:40:54 [22638] [6] DEBUG: type_name: enquire_link 2011-06-14 16:40:54 [22638] [6] DEBUG: command_id: 21 = 0x00000015 2011-06-14 16:40:54 [22638] [6] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:40:54 [22638] [6] DEBUG: sequence_number: 3 = 0x00000003 2011-06-14 16:40:54 [22638] [6] DEBUG: SMPP PDU dump ends. 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Sending enquire link: 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:40:54 [22638] [7] DEBUG: type_name: enquire_link 2011-06-14 16:40:54 [22638] [7] DEBUG: command_id: 21 = 0x00000015 2011-06-14 16:40:54 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:40:54 [22638] [7] DEBUG: sequence_number: 4 = 0x00000004 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Got PDU: 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:40:54 [22638] [7] DEBUG: type_name: enquire_link_resp 2011-06-14 16:40:54 [22638] [7] DEBUG: command_id: 2147483669 = 0x80000015 2011-06-14 16:40:54 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:40:54 [22638] [7] DEBUG: sequence_number: 4 = 0x00000004 2011-06-14 16:40:54 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:04 [22638] [6] DEBUG: SMPP[Nokiasmsc]: Sending enquire link: 2011-06-14 16:41:04 [22638] [6] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:41:04 [22638] [6] DEBUG: type_name: enquire_link 2011-06-14 16:41:04 [22638] [6] DEBUG: command_id: 21 = 0x00000015 2011-06-14 16:41:04 [22638] [6] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:04 [22638] [6] DEBUG: sequence_number: 5 = 0x00000005 2011-06-14 16:41:04 [22638] [6] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Sending enquire link: 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:41:04 [22638] [7] DEBUG: type_name: enquire_link 2011-06-14 16:41:04 [22638] [7] DEBUG: command_id: 21 = 0x00000015 2011-06-14 16:41:04 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:04 [22638] [7] DEBUG: sequence_number: 6 = 0x00000006 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Got PDU: 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:41:04 [22638] [7] DEBUG: type_name: enquire_link_resp 2011-06-14 16:41:04 [22638] [7] DEBUG: command_id: 2147483669 = 0x80000015 2011-06-14 16:41:04 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:04 [22638] [7] DEBUG: sequence_number: 6 = 0x00000006 2011-06-14 16:41:04 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP[Nokiasmsc]: Sending enquire link: 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:41:14 [22638] [6] DEBUG: type_name: enquire_link 2011-06-14 16:41:14 [22638] [6] DEBUG: command_id: 21 = 0x00000015 2011-06-14 16:41:14 [22638] [6] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:14 [22638] [6] DEBUG: sequence_number: 7 = 0x00000007 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:14 [22638] [6] DEBUG: Optional parameter tag (0x0210) 2011-06-14 16:41:14 [22638] [6] DEBUG: Optional parameter length read as 1 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP[Nokiasmsc]: Got PDU: 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP PDU 0x98519a8 dump: 2011-06-14 16:41:14 [22638] [6] DEBUG: type_name: bind_transmitter_resp 2011-06-14 16:41:14 [22638] [6] DEBUG: command_id: 2147483650 = 0x80000002 2011-06-14 16:41:14 [22638] [6] DEBUG: command_status: 14 = 0x0000000e 2011-06-14 16:41:14 [22638] [6] DEBUG: sequence_number: 1 = 0x00000001 2011-06-14 16:41:14 [22638] [6] DEBUG: system_id: "NokiaSMSC" 2011-06-14 16:41:14 [22638] [6] DEBUG: sc_interface_version: 52 = 0x00000034 2011-06-14 16:41:14 [22638] [6] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:14 [22638] [6] ERROR: SMPP[Nokiasmsc]: SMSC rejected login to transmit, code 0x0000000e (Invalid Password). 2011-06-14 16:41:14 [22638] [6] ERROR: Error reading from fd 35: 2011-06-14 16:41:14 [22638] [6] ERROR: System error 104: Connection reset by peer 2011-06-14 16:41:14 [22638] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) terminates. 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Sending unbind: 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP PDU 0x98519a8 dump: 2011-06-14 16:41:14 [22638] [7] DEBUG: type_name: unbind 2011-06-14 16:41:14 [22638] [7] DEBUG: command_id: 6 = 0x00000006 2011-06-14 16:41:14 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:14 [22638] [7] DEBUG: sequence_number: 8 = 0x00000008 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP[Nokiasmsc]: Got PDU: 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP PDU 0x9851030 dump: 2011-06-14 16:41:14 [22638] [7] DEBUG: type_name: unbind_resp 2011-06-14 16:41:14 [22638] [7] DEBUG: command_id: 2147483654 = 0x80000006 2011-06-14 16:41:14 [22638] [7] DEBUG: command_status: 0 = 0x00000000 2011-06-14 16:41:14 [22638] [7] DEBUG: sequence_number: 8 = 0x00000008 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP PDU dump ends. 2011-06-14 16:41:14 [22638] [7] DEBUG: SMPP[Nokiasmsc]: io_thread: break and shutting down 2011-06-14 16:41:14 [22638] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) terminates. My config file is: # Default kannel configuration file group = core admin-port = 6000 admin-password = kannel12 #status-password = changemetoo dlr-storage = internal #admin-deny-ip = "*.*.*.*" #admin-allow-ip = "127.0.0.1" smsbox-port = 6001 #wapbox-port = 13002 #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" log-level = 0 #-------- This connection to smpp SMSC Nokia group = smsc smsc = smpp smsc-id = Nokiasmsc host = 10.1.2.30 port = 5588 receive-port = 5588 smsc-username = kannel smsc-password = kannel system-type = "SMPP" #service-type = 'test' interface-version = 34 address-range = '' msg-id-type = 0 enquire-link-interval = 10 reconnect-delay = 60 #----smsbox------ group = smsbox bearerbox-host = 10.1.25.12 sendsms-port = 6013 global-sender = 6013 #sendsms-chars = "0123456789 +-" #logfile = "/var/log/kannel/smsbox.log" #log-level = 0 #access-log = "/var/log/access.log" #-----Http Service------ group = sendsms-user username = kannel password = kannel12 Thank for your help