On Tue, Oct 18, 2005 at 12:09:36AM +0200, Chouaieb Ben Smail wrote: > Hi Mr Wilfried, > yes you are right, i forgot to put the new log :), ok so i set it to > debug level may be it would be easier to resolve this problem : and Kannel > responds as below: > > [EMAIL PROTECTED] gw]# ./bearerbox -v 0 smskannel.conf > 2005-10-17 22:13:02 [4936] [0] INFO: Debug_lvl = 0, log_file = <none>, > log_lvl = 0 > 2005-10-17 22:13:02 [4936] [0] DEBUG: Loading include file `modems.conf' > (on line 77 of file smskannel.conf). > 2005-10-17 22:13:02 [4936] [0] WARNING: DLR: using default 'internal' for > storage type. > 2005-10-17 22:13:02 [4936] [0] INFO: DLR using storage type: internal > 2005-10-17 22:13:02 [4936] [0] DEBUG: Kannel bearerbox version `1.4.0'. > Build `Oct 8 > 2005 12:10:53', compiler `3.4.3 20041212 (Red Hat 3.4.3-9.EL4)'. > System Linux, release 2.6.9-5.ELsmp, version #1 SMP Wed Jan 5 19:30:39 EST > 2005, machine i686. > Hostname xxxxx.xxxxxxx, IP 127.0.0.1. > Libxml version 2.6.16. > Using OpenSSL 0.9.7a Feb 19 2003. > Using native malloc. > 2005-10-17 22:13:02 [4936] [0] INFO: HTTP: Opening server at port 13000. > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 1 > (gwlib/fdset.c:poller) > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 2 > (gwlib/http.c:server_thread) > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 3 > (gw/bb_http.c:httpadmin_run) > 2005-10-17 22:13:02 [4936] [0] DEBUG: starting smsbox connection module > 2005-10-17 22:13:02 [4936] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) > 2005-10-17 22:13:02 [4936] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps > to pid 4936. > 2005-10-17 22:13:02 [4936] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) maps to pid 4936. > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 5 > (gw/bb_boxc.c:smsboxc_run) > 2005-10-17 22:13:02 [4936] [0] INFO: DLR rerouting for smsc id <(null)> > disabled. > 2005-10-17 22:13:02 [4936] [0] INFO: AT2[/dev/ttyS0]: configuration > doesn't show modemtype. will autodetect > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 6 > (gw/smsc/smsc_at.c:at2_device_thread) > 2005-10-17 22:13:02 [4936] [0] DEBUG: Started thread 7 > (gw/bb_smscconn.c:sms_router) > 2005-10-17 22:13:02 [4936] [0] INFO: > ---------------------------------------- > 2005-10-17 22:13:02 [4936] [0] INFO: Kannel bearerbox II version 1.4.0 > starting > 2005-10-17 22:13:02 [4936] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) maps to pid 4936. > 2005-10-17 22:13:02 [4936] [4] DEBUG: Thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4936. > 2005-10-17 22:13:02 [4936] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) > maps to pid 4936. > 2005-10-17 22:13:02 [4936] [0] INFO: MAIN: Start-up done, entering > mainloop > 2005-10-17 22:13:02 [4936] [0] DEBUG: AT2[/dev/ttyS0]: start called > 2005-10-17 22:13:02 [4936] [6] DEBUG: Thread 6 > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4936. > 2005-10-17 22:13:02 [4936] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem > type > 2005-10-17 22:13:02 [4936] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-17 22:13:02 [4936] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2005-10-17 22:13:02 [4936] [7] DEBUG: Thread 7 > (gw/bb_smscconn.c:sms_router) maps to pid 4936. > 2005-10-17 22:13:02 [4936] [7] DEBUG: sms_router: time to sleep > 2005-10-17 22:13:02 [4936] [7] DEBUG: sms_router: list_len = 0 > 2005-10-17 22:13:03 [4936] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2005-10-17 22:13:03 [4936] [6] INFO: AT2[/dev/ttyS0]: speed set to 2400 > 2005-10-17 22:13:03 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M > 2005-10-17 22:13:05 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M > 2005-10-17 22:13:09 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > 2005-10-17 22:13:13 [4936] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem strange. it should do ATI or something like that here.
> type > 2005-10-17 22:13:13 [4936] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-17 22:13:13 [4936] [6] WARNING: AT2[/dev/ttyS0]: trying to open > device with not closed device!!! Please report!!! > 2005-10-17 22:13:13 [4936] [6] INFO: AT2[/dev/ttyS0]: closing device > 2005-10-17 22:13:13 [4936] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2005-10-17 22:13:14 [4936] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2005-10-17 22:13:14 [4936] [6] INFO: AT2[/dev/ttyS0]: speed set to 2400 > 2005-10-17 22:13:14 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M > 2005-10-17 22:13:15 [4936] [0] WARNING: Killing signal or HTTP admin > command received, shutting down... > 2005-10-17 22:13:15 [4936] [0] DEBUG: Shutting down Kannel... > 2005-10-17 22:13:15 [4936] [0] DEBUG: shutting down smsc > 2005-10-17 22:13:15 [4936] [0] DEBUG: AT2[/dev/ttyS0]: Shutting down > SMSCConn, slow > 2005-10-17 22:13:15 [4936] [0] DEBUG: shutting down udp > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: <-- AT > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> AT&F^M > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: <-- F > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: <-- OK > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: --> ATE0^M > 2005-10-17 22:13:16 [4936] [6] DEBUG: AT2[/dev/ttyS0]: <-- K > 2005-10-17 22:13:20 [4936] [6] INFO: AT2[/dev/ttyS0]: closing device > 2005-10-17 22:13:20 [4936] [6] DEBUG: Thread 6 > (gw/smsc/smsc_at.c:at2_device_thread) terminates. > 2005-10-17 22:13:20 [4936] [7] DEBUG: Thread 7 > (gw/bb_smscconn.c:sms_router) terminates. > 2005-10-17 22:13:20 [4936] [4] DEBUG: Thread 4 > (gw/bb_boxc.c:sms_to_smsboxes) terminates. > 2005-10-17 22:13:20 [4936] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) > terminates. > 2005-10-17 22:13:20 [4936] [0] INFO: All flow threads have died, killing > core > 2005-10-17 22:13:20 [4936] [0] DEBUG: Waiting for 2 > (gwlib/http.c:server_thread) to terminate > 2005-10-17 22:13:20 [4936] [3] DEBUG: HTTP: No clients with requests, > quitting. > 2005-10-17 22:13:20 [4936] [3] DEBUG: Thread 3 > (gw/bb_http.c:httpadmin_run) terminates. > 2005-10-17 22:13:20 [4936] [2] DEBUG: Thread 2 > (gwlib/http.c:server_thread) terminates. > 2005-10-17 22:13:20 [4936] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) > terminates. > 2005-10-17 22:13:20 [4936] [0] INFO: Total WDP messages: received 0, sent > 0 > 2005-10-17 22:13:20 [4936] [0] INFO: Total SMS messages: received 0, sent > 0 > 2005-10-17 22:13:20 [4936] [0] DEBUG: Immutable octet strings: 281. > > > and let me remember the configurations of modems, > > group = smsc > smsc = at > modemtype = auto i would set here SIEMENS MC35i here, as in name. > device = /dev/ttyS0 > speed = 2400 > > bringing out that i added such lines to modems.conf as following: > the parameters i got from minicom at+CGMM; (it's amazing the name is > TWIST-GPRS written in the modem my reflex was to falcom but the modem's > factory is Siemens??): > > group = modems > id = SIEMENS_MC35i > name = "SIEMENS MC35i" > detect-string = "SIEMENS" > detect-string2 = "MC35i" > init-string = "AT+CNMI=1,2,2,2,1" > enable-hwhs = "AT\\Q3" > need-sleep = true > > > grateful for all your comments and helps, > Regards, > Chouaieb Sen Smail > > -------------------------------------------------------------------------- > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > [1]T*l*chargez le ici ! > > References > > Visible links > 1. > http://us.rd.yahoo.com/messenger/mail_taglines/default/*http:/fr.messenger.yahoo.com
