hi i have configured kannel successfully configured on my system but now whenever i try to send sms through sendsms.php provided with kannel nothing happens and when i check the log of sms box it shows an error socket not connected(detailed log is attached). please tell me where i m making mistake.
*bearerbox log* : 2010-06-24 12:41:01 [7935] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2010-06-24 12:41:01 [7935] [0] WARNING: DLR: using default 'internal' for storage type. 2010-06-24 12:41:01 [7935] [0] INFO: DLR using storage type: internal 2010-06-24 12:41:01 [7935] [0] DEBUG: Kannel bearerbox version `1.4.3'. Build `Jun 14 2010 14:02:43', compiler `3.4.6 20060404 (Red Hat 3.4.6-3)'. System Linux, release 2.6.9-42.EL, version #1 Wed Jul 12 23:16:43 EDT 2006, machine i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml version 2.6.16. Using OpenSSL 0.9.7a Feb 19 2003. Using native malloc. 2010-06-24 12:41:01 [7935] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'. 2010-06-24 12:41:01 [7935] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2010-06-24 12:41:01 [7935] [0] WARNING: 'store-file' option deprecated, please use 'store-location' and 'store-type' instead.2010-06-24 12:41:01 [7935] [0] INFO: HTTP: Opening server at port 13000. 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2010-06-24 12:41:01 [7935] [0] DEBUG: starting smsbox connection module 2010-06-24 12:41:01 [7935] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 7935. 2010-06-24 12:41:01 [7935] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 7935. 2010-06-24 12:41:01 [7935] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 7935. 2010-06-24 12:41:01 [7935] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2010-06-24 12:41:01 [7935] [0] INFO: Set SMS resend frequency to 60 seconds. 2010-06-24 12:41:01 [7935] [0] INFO: SMS resend retry set to unlimited. 2010-06-24 12:41:01 [7935] [0] DEBUG: smsbox MO concatenated message handling enabled 2010-06-24 12:41:01 [7935] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2010-06-24 12:41:01 [7935] [0] INFO: AT2[/dev/ttyACM0]: configuration doesn't show modemtype. will autodetect 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2010-06-24 12:41:01 [7935] [0] INFO: ---------------------------------------- 2010-06-24 12:41:01 [7935] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2010-06-24 12:41:01 [7935] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 7935. 2010-06-24 12:41:01 [7935] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 7935. 2010-06-24 12:41:01 [7935] [0] INFO: Loading store file `/var/log/kannel/kannel.store' 2010-06-24 12:41:01 [7935] [0] INFO: Store-file size 0, starting to unpack 2010-06-24 12:41:01 [7935] [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0 2010-06-24 12:41:01 [7935] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 7935. 2010-06-24 12:41:01 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem speed. 2010-06-24 12:41:01 [7935] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-06-24 12:41:01 [7935] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 7935. 2010-06-24 12:41:01 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet mode = 0 2010-06-24 12:41:01 [7935] [0] DEBUG: Started thread 8 (gw/bb_store_file.c:store_dumper) 2010-06-24 12:41:01 [7935] [0] INFO: MAIN: Start-up done, entering mainloop 2010-06-24 12:41:01 [7935] [0] DEBUG: AT2[/dev/ttyACM0]: start called 2010-06-24 12:41:01 [7935] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) maps to pid 7935. 2010-06-24 12:41:01 [7935] [8] DEBUG: Dumping 0 messages to store 2010-06-24 12:41:02 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2010-06-24 12:41:02 [7935] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-06-24 12:41:02 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M 2010-06-24 12:41:04 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M 2010-06-24 12:41:04 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT 2010-06-24 12:41:04 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:04 [7935] [6] INFO: AT2[/dev/ttyACM0]: Closing device 2010-06-24 12:41:04 [7935] [6] INFO: AT2[/dev/ttyACM0]: detect speed is 115200 2010-06-24 12:41:04 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type 2010-06-24 12:41:04 [7935] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-06-24 12:41:04 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet mode = 0 2010-06-24 12:41:05 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2010-06-24 12:41:05 [7935] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-06-24 12:41:05 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATI^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- Nokia 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: found string <Nokia>, using modem definition <Nokia> 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:07 [7935] [6] INFO: AT2[/dev/ttyACM0]: Closing device 2010-06-24 12:41:07 [7935] [6] INFO: AT2[/dev/ttyACM0]: opening device 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened. Telnet mode = 0 2010-06-24 12:41:07 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: device opened 2010-06-24 12:41:07 [7935] [6] INFO: AT2[/dev/ttyACM0]: Logging in 2010-06-24 12:41:08 [7935] [6] INFO: AT2[/dev/ttyACM0]: init device 2010-06-24 12:41:08 [7935] [6] INFO: AT2[/dev/ttyACM0]: speed set to 115200 2010-06-24 12:41:08 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATZ^M 2010-06-24 12:41:12 [7935] [6] ERROR: AT2[/dev/ttyACM0]: Wrong or no answer to ATZ, ignoring 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- AT&F 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> ATE0^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- ATE0 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+IFC=2,2^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CPIN?^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CPIN: READY 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CMGF=0^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT+CSMS=?^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- +CSMS: (0) 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0^M 2010-06-24 12:41:12 [7935] [6] DEBUG: AT2[/dev/ttyACM0]: <-- OK 2010-06-24 12:41:12 [7935] [6] INFO: AT2[/dev/ttyACM0]: AT SMSC successfully opened. 2010-06-24 12:41:17 [7935] [5] INFO: Client connected from <127.0.0.1> 2010-06-24 12:41:17 [7935] [5] DEBUG: Started thread 9 (gw/bb_boxc.c:function) 2010-06-24 12:41:17 [7935] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 7935. 2010-06-24 12:41:17 [7935] [9] DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender) 2010-06-24 12:41:17 [7935] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 7935. 2010-06-24 13:11:14 [7935] [0] WARNING: Killing signal or HTTP admin command received, shutting down... 2010-06-24 13:11:14 [7935] [0] DEBUG: Shutting down Kannel... 2010-06-24 13:11:14 [7935] [0] DEBUG: shutting down smsc 2010-06-24 13:11:14 [7935] [0] DEBUG: AT2[/dev/ttyACM0]: Shutting down SMSCConn, slow 2010-06-24 13:11:14 [7935] [0] DEBUG: shutting down udp 2010-06-24 13:11:16 [7935] [6] INFO: AT2[/dev/ttyACM0]: Closing device 2010-06-24 13:11:16 [7935] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) terminates. 2010-06-24 13:11:16 [7935] [10] DEBUG: send_msg: sending msg to box: <127.0.0.1> 2010-06-24 13:11:16 [7935] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) terminates. 2010-06-24 13:11:16 [7935] [10] DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) terminates. 2010-06-24 13:11:16 [7935] [9] INFO: Connection closed by the box <127.0.0.1> 2010-06-24 13:11:16 [7935] [9] DEBUG: Thread 9 (gw/bb_boxc.c:function) terminates. 2010-06-24 13:11:16 [7935] [7] DEBUG: clear_old_concat_parts called 2010-06-24 13:11:16 [7935] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) terminates. 2010-06-24 13:11:17 [7935] [0] INFO: All flow threads have died, killing core 2010-06-24 13:11:17 [7935] [0] DEBUG: Waiting for 2 (gwlib/http.c:server_thread) to terminate 2010-06-24 13:11:17 [7935] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) terminates. 2010-06-24 13:11:17 [7935] [3] DEBUG: HTTP: No clients with requests, quitting. 2010-06-24 13:11:17 [7935] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) terminates. 2010-06-24 13:11:17 [7935] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) terminates. 2010-06-24 13:11:17 [7935] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2010-06-24 13:11:17 [7935] [0] DEBUG: final clean-up for SMSCConn 2010-06-24 13:11:17 [7935] [0] DEBUG: smsbox MO concatenated message handling cleaned up 2010-06-24 13:11:17 [7935] [8] DEBUG: Dumping 0 messages to store 2010-06-24 13:11:17 [7935] [8] DEBUG: Thread 8 (gw/bb_store_file.c:store_dumper) terminates. 2010-06-24 13:11:17 [7935] [0] INFO: Total WDP messages: received 0, sent 0 2010-06-24 13:11:17 [7935] [0] INFO: Total SMS messages: received 0, sent 0 2010-06-24 13:11:17 [7935] [0] DEBUG: Immutable octet strings: 253. *smsbox log * 2010-06-24 12:41:17 [7946] [0] INFO: Debug_lvl = 0, log_file = <none>, log_lvl = 0 2010-06-24 12:41:17 [7946] [0] DEBUG: Kannel smsbox version `1.4.3'. Build `Jun 14 2010 14:02:43', compiler `3.4.6 20060404 (Red Hat 3.4.6-3)'. System Linux, release 2.6.9-42.EL, version #1 Wed Jul 12 23:16:43 EDT 2006, machine i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml version 2.6.16. Using OpenSSL 0.9.7a Feb 19 2003. Using native malloc. 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 2 (gwlib/http.c:write_request_thread) 2010-06-24 12:41:17 [7946] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 7946. 2010-06-24 12:41:17 [7946] [2] DEBUG: Thread 2 (gwlib/http.c:write_request_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [2] DEBUG: Queue contains 0 pending requests. 2010-06-24 12:41:17 [7946] [2] DEBUG: Parsing URL ` http://localhost:13013/sendsms.php': 2010-06-24 12:41:17 [7946] [2] DEBUG: Scheme: http:// 2010-06-24 12:41:17 [7946] [2] DEBUG: Host: localhost 2010-06-24 12:41:17 [7946] [2] DEBUG: Port: 13013 2010-06-24 12:41:17 [7946] [2] DEBUG: Username: (null) 2010-06-24 12:41:17 [7946] [2] DEBUG: Password: (null) 2010-06-24 12:41:17 [7946] [2] DEBUG: Path: /sendsms.php 2010-06-24 12:41:17 [7946] [2] DEBUG: Query: (null) 2010-06-24 12:41:17 [7946] [2] DEBUG: Fragment: (null) *2010-06-24 12:41:17 [7946] [2] DEBUG: HTTP: Opening connection to `localhost:13013' (fd=10). 2010-06-24 12:41:17 [7946] [2] DEBUG: Socket connecting 2010-06-24 12:41:17 [7946] [1] DEBUG: Get info about connecting socket 2010-06-24 12:41:17 [7946] [1] DEBUG: Socket not connected 2010-06-24 12:41:17 [7946] [1] ERROR: Couldn't fetch < http://localhost:13013/sendsms.php> 2010-06-24 12:41:17 [7946] [0] ERROR: Cannot load numhash!* 2010-06-24 12:41:17 [7946] [0] INFO: Starting to log to file /var/log/kannel/smsbox.log level 0 2010-06-24 12:41:17 [7946] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2010-06-24 12:41:17 [7946] [0] INFO: Service global sender set as 'test' 2010-06-24 12:41:17 [7946] [0] INFO: Logging accesses to '/var/log/kannel/access.log'. 2010-06-24 12:41:17 [7946] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2010-06-24 12:41:17 [7946] [0] INFO: HTTP: Opening server at port 13014. 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 3 (gwlib/fdset.c:poller) 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 4 (gwlib/http.c:server_thread) 2010-06-24 12:41:17 [7946] [0] INFO: Set up send sms service at port 13014 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 5 (gw/smsbox.c:sendsms_thread) 2010-06-24 12:41:17 [7946] [0] DEBUG: ---------------------------------------------- 2010-06-24 12:41:17 [7946] [0] DEBUG: Kannel smsbox version 1.4.3 starting 2010-06-24 12:41:17 [7946] [0] WARNING: bool variable set to strange value, assuming 'true' 2010-06-24 12:41:17 [7946] [3] DEBUG: Thread 3 (gwlib/fdset.c:poller) maps to pid 7946. 2010-06-24 12:41:17 [7946] [4] DEBUG: Thread 4 (gwlib/http.c:server_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [5] DEBUG: Thread 5 (gw/smsbox.c:sendsms_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [0] DEBUG: dumping group (sendsms-user): 2010-06-24 12:41:17 [7946] [0] DEBUG: <group> = <sendsms-user> 2010-06-24 12:41:17 [7946] [0] DEBUG: <max-messages> = <10> 2010-06-24 12:41:17 [7946] [0] DEBUG: <username> = <yourpassword> 2010-06-24 12:41:17 [7946] [0] DEBUG: <concatenation> = <1> 2010-06-24 12:41:17 [7946] [0] DEBUG: <password> = <yourpassword> 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 6 (gw/smsbox.c:obey_request_thread) 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 7 (gw/smsbox.c:url_result_thread) 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 8 (gw/smsbox.c:http_queue_thread) 2010-06-24 12:41:17 [7946] [0] INFO: Connected to bearerbox at localhost port 13001. 2010-06-24 12:41:17 [7946] [0] DEBUG: Started thread 9 (gw/heartbeat.c:heartbeat_thread) 2010-06-24 12:41:17 [7946] [6] DEBUG: Thread 6 (gw/smsbox.c:obey_request_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [7] DEBUG: Thread 7 (gw/smsbox.c:url_result_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [8] DEBUG: Thread 8 (gw/smsbox.c:http_queue_thread) maps to pid 7946. 2010-06-24 12:41:17 [7946] [9] DEBUG: Thread 9 (gw/heartbeat.c:heartbeat_thread) maps to pid 7946. 2010-06-24 13:11:16 [7946] [0] INFO: Bearerbox told us to die 2010-06-24 13:11:16 [7946] [0] INFO: Received (and handled?) 0 requests in 1799 seconds (0.00 per second) 2010-06-24 13:11:16 [7946] [0] INFO: Kannel smsbox terminating. 2010-06-24 13:11:16 [7946] [9] DEBUG: Thread 9 (gw/heartbeat.c:heartbeat_thread) terminates. 2010-06-24 13:11:16 [7946] [0] DEBUG: Waiting for 4 (gwlib/http.c:server_thread) to terminate 2010-06-24 13:11:16 [7946] [5] DEBUG: HTTP: No clients with requests, quitting. 2010-06-24 13:11:16 [7946] [5] DEBUG: Thread 5 (gw/smsbox.c:sendsms_thread) terminates. 2010-06-24 13:11:16 [7946] [4] DEBUG: Thread 4 (gwlib/http.c:server_thread) terminates. 2010-06-24 13:11:16 [7946] [3] DEBUG: Thread 3 (gwlib/fdset.c:poller) terminates. 2010-06-24 13:11:16 [7946] [0] DEBUG: Waiting for 6 (gw/smsbox.c:obey_request_thread) to terminate 2010-06-24 13:11:16 [7946] [6] DEBUG: Thread 6 (gw/smsbox.c:obey_request_thread) terminates. 2010-06-24 13:11:16 [7946] [8] DEBUG: Thread 8 (gw/smsbox.c:http_queue_thread) terminates. 2010-06-24 13:11:16 [7946] [0] DEBUG: Waiting for 7 (gw/smsbox.c:url_result_thread) to terminate 2010-06-24 13:11:16 [7946] [7] DEBUG: Thread 7 (gw/smsbox.c:url_result_thread) terminates. 2010-06-24 13:11:16 [7946] [0] DEBUG: Waiting for 2 (gwlib/http.c:write_request_thread) to terminate 2010-06-24 13:11:16 [7946] [2] DEBUG: Thread 2 (gwlib/http.c:write_request_thread) terminates. 2010-06-24 13:11:16 [7946] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) terminates. 2010-06-24 13:11:17 [7946] [0] DEBUG: Immutable octet strings: 182. *kannel.conf* # CORE group = core admin-port = 13000 admin-password = yourpassword status-password = yourpassword log-file = "/var/log/kannel/kannel.log" log-level = 0 access-log = "/var/log/kannel/access.log" smsbox-port = 13001 store-type = file store-file = "/var/log/kannel/kannel.store" store-location = "/var/log/kannel/kannel.store" # SMSC Fake group = smsc smsc = at device = /dev/ttyACM0 port = 13000 # MODEM DEFINITIONS group = modems id = nokia name = "Nokia" detect-string = "Nokia" init-string = "ATZ" init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13014 sendsms-chars = "0123456789+" global-sender = "test" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" sendsms-url="http://localhost:13013/sendsms.php" white-list="http://localhost:13013/sendsms.php" # SEND-SMS USERS group = sendsms-user username = yourpassword password = yourpassword concatenation = 1 max-messages = 10 # SMS SERVICE GET-URL EXAMPLE #group = sms-service #keyword = relay #get-url = " http://localhost/sendsms?phone=%p&text=%r&binary=%b&smsc=$i&time=%t # SMS SERVICE 'default' group = sms-service keyword = nop text = "You asked nothing and I did it!" catch-all = true # Catch all incoming messages # regarding the keyword. If you # define other services, remove # this line. # SMS SERVICE for receiving sms messages # If you're about to implement service to receive sms messages. # group = sms-service # keyword = yourkeyword # get-url = http://server.domain/moodle/receivesms.php?q=%k&sender=%p&message=%a sendsms.php <html> <head> <title>SMS Message Sender</title> </head> <body bgcolor="#FFFFFF" text="#000000"> <?php include("config.inc"); include("functions.inc"); if ($submit) { echo "Sending the SMS Text message <b>\"$text\"</b> to the phone <b>$to</b>...<br>\n"; $URL = "http://localhost/sendsms?username= "yourpassword"&password="yourpassword"&from="test"&to=$to&text=".urlencode($text); http_send($URL,13013); echo "<address><a href=\"$PHP_SELF\">Back to Send SMS</a></address>\n"; } else { ?> <h1>SMS Message Sender</h1> <form name="sendsms" method="post" action="http://localhost/sendsms.php"> <p> Telephone number: <br> <input type="text" size="30" name="to"> </p> <p> Message: <br> <textarea cols="20" rows="5" name="text"></textarea> </p> <input type="submit" value="Send Message" name="submit"> <input type="reset" value="Reset"> <br> </form> <?php } ?> <p> </p> <hr> <table border="0" width="100%"> <tr> <td width="50%"><address><a href="index.php">Back to admin</a></address></td> <td width="50%" align="right"><address>Visit the Kannel homepage at <a href=></a>.</address></td> </tr> </table> </body> </html> it would highly appreciated if you could explain i t with example variable values. thanx in advance Regards, Prashant Singh