Hi! I Installed kannel on my new linux box... The problem is: When i send a sms using sendsms http, the browser hangs and gets no response from kannel :(
Now i tried with the fakesmsc bit ist exactly the same thing :( Request: wget -O- http://127.0.0.1:13013/cgi-bin/sendsms?username=xxx\&password=xxx\&to=+43664xxxxxxx\&text=test Response: Connecting to 127.0.0.1:13013... connected. HTTP request sent, awaiting response... ^C System: - kannel 1.4.1 - gentoo linux - kernel "Linux HOSTNAME 2.6.24-gentoo-r3 #2 Wed Mar 26 11:53:42 CET 2008 i686 Intel(R) Pentium(R) III CPU family 1400MHz GenuineIntel GNU/Linux" - config "./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-localtime --disable-start-stop-daemon --enable-pam --disable-debug --enable-pcre --disable-docs --disable-ssl --with-mysql --without-sqlite --without-sqlite3 --without-pgsql --build=i686-pc-linux-gnu" - sms gateway: siemens tc35i ========== KANNEL.CONF group = core admin-port = 13000 smsbox-port = 13001 admin-password = xxx log-file = "/var/log/kannel/kannel.log" log-level = 0 box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #group = smsc #smsc = at #modemtype = siemens_tc35 #device=/dev/ttyS0 #port = 13010 #connect-allow-ip = 127.0.0.1 #log-file = "/var/log/kannel/smsc.log" #log-level = 0 group = smsc smsc = fake port = 10000 connect-allow-ip = 127.0.0.1 group = smsbox bearerbox-host = 127.0.0.1 bearerbox-port = 13001 sendsms-port = 13013 global-sender = +43664xxxxxxx log-file = "/var/log/kannel/smsbox.log" log-level = 0 group = sendsms-user username = xxx password = xxx concatenation= true max-messages = 0 group = modems id = siemens_tc35 name = "Siemens TC35" init-string = "AT+CNMI=1,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true ========== KANNEL.LOG 2008-03-28 09:06:38 [30099] [0] INFO: Added logfile `/var/log/kannel/kannel.log' with level `0'. 2008-03-28 09:06:38 [30099] [0] INFO: SSL not supported, no SSL initialization done. 2008-03-28 09:06:38 [30099] [0] INFO: HTTP: Opening server at port 13000. 2008-03-28 09:06:38 [30099] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 30099. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-03-28 09:06:38 [30099] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 30099. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2008-03-28 09:06:38 [30099] [0] DEBUG: starting smsbox connection module 2008-03-28 09:06:38 [30099] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2008-03-28 09:06:38 [30099] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 30099. 2008-03-28 09:06:38 [30099] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 30099. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2008-03-28 09:06:38 [30099] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 30099. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2008-03-28 09:06:38 [30099] [0] INFO: Set SMS resend frequency to 60 seconds. 2008-03-28 09:06:38 [30099] [0] INFO: SMS resend retry set to unlimited. 2008-03-28 09:06:38 [30099] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2008-03-28 09:06:38 [30099] [6] DEBUG: Thread 6 (gw/smsc/smsc_fake.c:fake_listener) maps to pid 30099. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 6 (gw/smsc/smsc_fake.c:fake_listener) 2008-03-28 09:06:38 [30099] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 30099. 2008-03-28 09:06:38 [30099] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2008-03-28 09:06:38 [30099] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2008-03-28 09:06:38 [30099] [0] INFO: ---------------------------------------- 2008-03-28 09:06:38 [30099] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2008-03-28 09:06:38 [30099] [0] INFO: MAIN: Start-up done, entering mainloop 2008-03-28 09:06:38 [30099] [0] DEBUG: smsc_fake: start called 2008-03-28 09:06:38 [30099] [7] DEBUG: sms_router: gwlist_len = 0 2008-03-28 09:06:39 [30099] [5] INFO: Client connected from <127.0.0.1> 2008-03-28 09:06:39 [30099] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps to pid 30099. 2008-03-28 09:06:39 [30099] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function) 2008-03-28 09:06:39 [30099] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender) maps to pid 30099. 2008-03-28 09:06:39 [30099] [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender) ========== SMSBOX.LOG 2008-03-28 09:06:39 [30116] [0] INFO: Added logfile `/var/log/kannel/smsbox.log' with level `0'. 2008-03-28 09:06:39 [30116] [0] INFO: Service global sender set as '+43664xxxxxxx' 2008-03-28 09:06:39 [30116] [0] INFO: HTTP: Opening server at port 13013. 2008-03-28 09:06:39 [30116] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 30116. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2008-03-28 09:06:39 [30116] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 30116. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2008-03-28 09:06:39 [30116] [0] INFO: Set up send sms service at port 13013 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2008-03-28 09:06:39 [30116] [0] DEBUG: ---------------------------------------------- 2008-03-28 09:06:39 [30116] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2008-03-28 09:06:39 [30116] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 30116. 2008-03-28 09:06:39 [30116] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 30116. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2008-03-28 09:06:39 [30116] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 30116. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2008-03-28 09:06:39 [30116] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 30116. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2008-03-28 09:06:39 [30116] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2008-03-28 09:06:39 [30116] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2008-03-28 09:06:39 [30116] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 30116. 2008-03-28 09:06:46 [30116] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2008-03-28 09:06:46 [30116] [2] DEBUG: HTTP: Created HTTPClient area 0x8148f50. 2008-03-28 09:06:46 [30116] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1> 2008-03-28 09:06:46 [30116] [3] INFO: sendsms used by <xxx> 2008-03-28 09:06:46 [30116] [3] INFO: sendsms sender:<xxx:+43664xxxxxxx> (127.0.0.1) to:<+43664xxxxxxx> msg:<test> 2008-03-28 09:06:46 [30116] [3] DEBUG: Stored UUID 72abc688-dedc-4a81-be3e-db2e38071c38 2008-03-28 09:06:46 [30116] [3] INFO: No reply sent, denied. 2008-03-28 09:06:46 [30116] [3] DEBUG: Status: 202 Answer: <Sent.> 2008-03-28 09:06:46 [30116] [3] DEBUG: Delayed reply - wait for bearerbox -------------------------------------------------------- Bernegger Bau GesmbH Matthias Schöffmann Systemadministrator Gradau 15 A-4591 Molln LG Steyr - FN 118645 D mail: [EMAIL PROTECTED] www: www.bernegger.at tel: +43 (0) 7584 / 3041-1203 fax: +43 (0) 7584 / 3041-1212 mob: +43 (0) 664 / 8321-880 -------------------------------------------------------- Diese Nachricht (und jeder Anhang) ist nur für die Verwendung durch den bzw. die Adressaten bestimmt und kann vertraulich sein, einem Copyright unterliegen oder ein Geschäftsgeheimnis begründen. Wenn diese Email nicht an Sie gerichtet ist, werden Sie darauf hingewiesen, dass es Ihnen strengstens untersagt ist, diese Email (oder allfällige Anhänge) zu verbreiten, zu verteilen oder zu kopieren. Wenn Sie diese Email irrtümlich erhalten haben, informieren Sie uns bitte unverzüglich, indem Sie auf diese Email antworten und sie von Ihrem Computer entfernen. Nachrichten, die an oder von uns geschickt werden, können überwacht sein. Sicherheit und Fehlerfreiheit im Internetverkehr kann nicht garantiert werden, da die Informationen abgefangen, beschädigt, verloren, zerstört sein, spät oder unvollständig ankommen oder Viren enthalten können. Daher übernehmen wir keine Haftung für allfällige in dieser Email (oder einem Anhang dazu) vorhandene Fehler oder Unterlassungen, die aus der Versendung resultieren. Wenn eine Feststellung der Richtigkeit notwendig ist, fordern Sie bitte eine Hard-Copy-Version an. Jegliche vertretenen Ansichten und Meinungen sind ausschließlich jene des Verfassers und repräsentieren nicht notwendigerweise jene des Unternehmens. --------------------------------------------------------
