Hi Im trying to setup kannel for sending bulk SMS from a web interface . The configuration file and log files appear below, I also checked that SMPP is up ( to our SMSC ) and bind is ok .
Bearerbox and smsbox is 192.168.105.200 , SMSC is 192.168.117.110. I tried to send SMS from a web interface using this method : http://192.168.105.200:13013/cgi-bin/sendsms?username=chen&password=1234&to=22465777772&text=hellooooooooo I get this answer : " 3: Queued for later delivery " But I didn't see any "Submit_SM" packet going out from the bearerbox ... Does anyone knows what is my mistake ? I also doesn't understand why the bearerbox send the SMS to "127.0.0.1" ( appears below ) This is my first time that im trying Kannel with SMS, I did in once with WAP and it works perfect. Thanks in advance . LOGS : SMSBOX : [EMAIL PROTECTED] ~]# smsbox /etc/smskannel.conf 2008-07-29 14:39:04 [10531] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2008-07-29 14:39:04 [10531] [0] DEBUG: Kannel smsbox version `1.4.1'. Build `Aug 22 2007 14:33:21', compiler `4.1.2 20070821 (Red Hat 4.1.2-19)'. System Linux, release 2.6.23.9-85.fc8, version #1 SMP Fri Dec 7 15:49:59 EST 2007, machine i686. Hostname Cactus, IP 127.0.0.1. Libxml version 2.6.29. Using OpenSSL 0.9.8b 04 May 2006. Using native malloc. 2008-07-29 14:39:04 [10531] [0] INFO: Service global sender set as '22465000010' 2008-07-29 14:39:04 [10531] [0] INFO: HTTP: Opening server at port 13013. 2008-07-29 14:39:04 [10531] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-07-29 14:39:04 [10531] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-07-29 14:39:04 [10531] [0] INFO: Set up send sms service at port 13013 2008-07-29 14:39:04 [10531] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2008-07-29 14:39:04 [10531] [0] DEBUG: ---------------------------------------------- 2008-07-29 14:39:04 [10531] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2008-07-29 14:39:04 [10531] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2008-07-29 14:39:04 [10531] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2008-07-29 14:39:04 [10531] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2008-07-29 14:39:04 [10531] [0] INFO: Connected to bearerbox at localhost port 13001. 2008-07-29 14:39:04 [10531] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 10531. 2008-07-29 14:39:04 [10531] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) THIS APPEARS EXACTLY AFTER SENDING FROM WEB-INTERFACE : 2008-07-29 14:39:16 [10531] [2] DEBUG: HTTP: Creating HTTPClient for `192.168.105.202'. 2008-07-29 14:39:16 [10531] [2] DEBUG: HTTP: Created HTTPClient area 0x91aed20. 2008-07-29 14:39:16 [10531] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <192.168.105.202> 2008-07-29 14:39:16 [10531] [3] INFO: sendsms used by <chen> 2008-07-29 14:39:16 [10531] [3] INFO: sendsms sender:<chen:22465000010> (192.168.105.202) to:<22465777772> msg:<hellooooooooo> 2008-07-29 14:39:16 [10531] [3] DEBUG: Stored UUID 8e9a2415-e650-40ca-9523-c6aab840e2b9 2008-07-29 14:39:16 [10531] [3] DEBUG: message length 13, sending 1 messages 2008-07-29 14:39:16 [10531] [3] DEBUG: Status: 202 Answer: <Sent.> 2008-07-29 14:39:16 [10531] [3] DEBUG: Delayed reply - wait for bearerbox 2008-07-29 14:39:16 [10531] [0] DEBUG: Got ACK (3) of 8e9a2415-e650-40ca-9523-c6aab840e2b9 2008-07-29 14:39:16 [10531] [0] DEBUG: HTTP: Resetting HTTPClient for `192.168.105.202'. LOGS : BEARERBOX : [EMAIL PROTECTED] ~]# bearerbox /etc/smskannel.conf 2008-07-29 14:39:02 [10523] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2008-07-29 14:39:02 [10523] [0] WARNING: DLR: using default 'internal' for storage type. 2008-07-29 14:39:02 [10523] [0] INFO: DLR using storage type: internal 2008-07-29 14:39:02 [10523] [0] DEBUG: Kannel bearerbox version `1.4.1'. Build `Aug 22 2007 14:33:21', compiler `4.1.2 20070821 (Red Hat 4.1.2-19)'. System Linux, release 2.6.23.9-85.fc8, version #1 SMP Fri Dec 7 15:49:59 EST 2007, machine i686. Hostname Cactus, IP 127.0.0.1. Libxml version 2.6.29. Using OpenSSL 0.9.8b 04 May 2006. Using native malloc. 2008-07-29 14:39:02 [10523] [0] INFO: HTTP: Opening server at port 13000. 2008-07-29 14:39:02 [10523] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-07-29 14:39:02 [10523] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-07-29 14:39:02 [10523] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2008-07-29 14:39:02 [10523] [0] DEBUG: starting smsbox connection module 2008-07-29 14:39:02 [10523] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2008-07-29 14:39:02 [10523] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2008-07-29 14:39:02 [10523] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2008-07-29 14:39:02 [10523] [0] INFO: Set SMS resend frequency to 60 seconds. 2008-07-29 14:39:02 [10523] [0] INFO: SMS resend retry set to unlimited. 2008-07-29 14:39:02 [10523] [0] INFO: DLR rerouting for smsc id <smpp> disabled. 2008-07-29 14:39:02 [10523] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 10523. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread) 2008-07-29 14:39:02 [10523] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 10523. 2008-07-29 14:39:02 [10523] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-07-29 14:39:02 [10523] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP[smpp]: Sending PDU: 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP PDU 0x9e0bc30 dump: 2008-07-29 14:39:02 [10523] [6] DEBUG: type_name: bind_receiver 2008-07-29 14:39:02 [10523] [6] DEBUG: command_id: 1 = 0x00000001 2008-07-29 14:39:02 [10523] [6] DEBUG: command_status: 0 = 0x00000000 2008-07-29 14:39:02 [10523] [6] DEBUG: sequence_number: 1 = 0x00000001 2008-07-29 14:39:02 [10523] [6] DEBUG: system_id: "8" 2008-07-29 14:39:02 [10523] [6] DEBUG: password: "test" 2008-07-29 14:39:02 [10523] [6] DEBUG: system_type: "kannel" 2008-07-29 14:39:02 [10523] [6] DEBUG: interface_version: 52 = 0x00000034 2008-07-29 14:39:02 [10523] [6] DEBUG: addr_ton: 0 = 0x00000000 2008-07-29 14:39:02 [10523] [6] DEBUG: addr_npi: 0 = 0x00000000 2008-07-29 14:39:02 [10523] [6] DEBUG: address_range: NULL 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP PDU dump ends. 2008-07-29 14:39:02 [10523] [0] INFO: ---------------------------------------- 2008-07-29 14:39:02 [10523] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2008-07-29 14:39:02 [10523] [0] INFO: MAIN: Start-up done, entering mainloop 2008-07-29 14:39:02 [10523] [7] DEBUG: sms_router: gwlist_len = 0 2008-07-29 14:39:02 [10523] [6] DEBUG: Optional parameter tag (0x0210) 2008-07-29 14:39:02 [10523] [6] DEBUG: Optional parameter length read as 1 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP[smpp]: Got PDU: 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP PDU 0x9e0bc30 dump: 2008-07-29 14:39:02 [10523] [6] DEBUG: type_name: bind_receiver_resp 2008-07-29 14:39:02 [10523] [6] DEBUG: command_id: 2147483649 = 0x80000001 2008-07-29 14:39:02 [10523] [6] DEBUG: command_status: 0 = 0x00000000 2008-07-29 14:39:02 [10523] [6] DEBUG: sequence_number: 1 = 0x00000001 2008-07-29 14:39:02 [10523] [6] DEBUG: system_id: "8" 2008-07-29 14:39:02 [10523] [6] DEBUG: sc_interface_version: 52 = 0x00000034 2008-07-29 14:39:02 [10523] [6] DEBUG: SMPP PDU dump ends. 2008-07-29 14:39:04 [10523] [5] INFO: Client connected from <127.0.0.1> 2008-07-29 14:39:04 [10523] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function) 2008-07-29 14:39:04 [10523] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to pid 10523. 2008-07-29 14:39:04 [10523] [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender) 2008-07-29 14:39:04 [10523] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps to pid 10523. THIS APPEARS EXACTLY AFTER SENDING FROM WEB-INTERFACE : 2008-07-29 14:39:16 [10523] [8] DEBUG: boxc_receiver: sms received 2008-07-29 14:39:16 [10523] [7] DEBUG: sms_router: handling message (0x9e089a0 vs 0x9e089a0) 2008-07-29 14:39:16 [10523] [7] DEBUG: sms_router: handling message (0x9e089a0 vs 0x9e089a0) 2008-07-29 14:39:16 [10523] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-07-29 14:39:16 [10523] [8] DEBUG: send_msg: sending msg to box: <127.0.0.1> CONFIG-FILE : group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = 22465000010 group = sendsms-user username = chen password = 1234 default-smsc = smpp concatenation= true max-messages = 10 group = sms-service keyword = keyword-regex = .* catch-all = yes max-messages = 0 get-url = "http://localhost/sms?phone=%p&text=%a" group = smsc smsc = smpp smsc-id = smpp host = 192.168.117.110 receive-port = 3700 smsc-username = "8" smsc-password = "test" system-type = "kannel" Regards, Chen Alkabets. CCIP/CCNP/CCSP/JNCIS. Mobile :+224 65 777 772 Office :+224 65 100 772 MSN : [EMAIL PROTECTED] Mail : [EMAIL PROTECTED], [EMAIL PROTECTED] ********************************************************************************************** IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email in error, please notify the system manager or the sender immediately and do not disclose the contents to anyone or make copies thereof. *** eSafe scanned this email for viruses, vandals, and malicious content. *** **********************************************************************************************