this all seems, as if your modem doesn't respond at al. are you shure, it operates at this device and with this speed? Best is to use minicom to check this out. the modem should answer "OK" if you type AT at it. On Tue, Oct 11, 2005 at 03:40:37AM +0200, Chouaieb Ben Smail wrote: > hello, > i'm trying to send an sms via a GSM modem, i use twist modem so i use > the following configuration to start the bearerbox: > > group = core > admin-port = 13000 > smsbox-port = 13001 > admin-password = bar > #status-password = foo > #admin-deny-ip = "" > #admin-allow-ip = "" > #log-file = "/tmp/kannel.log" > #log-level = 0 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > #unified-prefix = "+358,00358,0;+,00" > #access-log = "/tmp/access.log" > #store-file = "/tmp/kannel.store" > #ssl-server-cert-file = "cert.pem" > #ssl-server-key-file = "key.pem" > #ssl-certkey-file = "mycertandprivkeyfile.pem" > > # SMSC CONNECTIONS > group = smsc > smsc = at > modemtype = falcom > device = /dev/ttyS0 > speed = 9600 > pin = 0000 > # SMSBOX SETUP > > group = smsbox > bearerbox-host = localhost > sendsms-port = 13013 > global-sender = 13013 > #sendsms-chars = "0123456789 +-" > #log-file = "/tmp/smsbox.log" > #log-level = 0 > #access-log = "/tmp/access.log" > > # SEND-SMS USERS > group = sendsms-user > username = tester > password = foobar > #user-deny-ip = "" > #user-allow-ip = "" > > # SERVICES > group = sms-service > keyword = nop > text = "You asked nothing and I did it!" > > # there should be default always > group = sms-service > keyword = default > text = "No service specified" > > include = "modems.conf" > > and i as you will see below, i got that error relating to handshake when > i ran Kannel, i'm wandering may be the modem is not supprted by Kannel? > but i saw in modem.conf that falcom is supported .. may be that modem > doesn't work in linux environement but as you saw in log it was > detected..in fact i'm lost where is exactly the problem it would be so > grateful your help / > > 2005-10-11 01:45:02 [5612] [0] INFO: Debug_lvl = 1, log_file = <none>, > log_lvl = 0 > 2005-10-11 01:45:02 [5612] [0] WARNING: DLR: using default 'internal' for > storage type. > 2005-10-11 01:45:02 [5612] [0] INFO: DLR using storage type: internal > 2005-10-11 01:45:02 [5612] [0] INFO: HTTP: Opening server at port 13000. > 2005-10-11 01:45:02 [5612] [0] INFO: BOXC: 'smsbox-max-pending' not set, > using default (100). > 2005-10-11 01:45:02 [5612] [0] INFO: DLR rerouting for smsc id <(null)> > disabled. > 2005-10-11 01:45:02 [5612] [0] INFO: AT2[/dev/ttyS0]: configuration shows > modemtype <falcom> > 2005-10-11 01:45:02 [5612] [0] INFO: AT2[/dev/ttyS0]: read modem > definition for <Falcom> > 2005-10-11 01:45:02 [5612] [0] INFO: > ---------------------------------------- > 2005-10-11 01:45:02 [5612] [0] INFO: Kannel bearerbox II version 1.4.0 > starting > 2005-10-11 01:45:02 [5612] [0] INFO: MAIN: Start-up done, entering > mainloop > 2005-10-11 01:45:02 [5612] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-11 01:45:02 [5612] [6] INFO: AT2[/dev/ttyS0]: init device > 2005-10-11 01:45:02 [5612] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2005-10-11 01:45:02 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:02 [5612] [6] INFO: AT2[/dev/ttyS0]: cannot enable > hardware handshake > 2005-10-11 01:45:03 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:03 [5612] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. > Terminating > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: closing device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: init device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2005-10-11 01:45:03 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: cannot enable > hardware handshake > 2005-10-11 01:45:03 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:03 [5612] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. > Terminating > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: closing device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: init device > 2005-10-11 01:45:03 [5612] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2005-10-11 01:45:04 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:04 [5612] [6] INFO: AT2[/dev/ttyS0]: cannot enable > hardware handshake > 2005-10-11 01:45:04 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:04 [5612] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. > Terminating > 2005-10-11 01:45:04 [5612] [6] INFO: AT2[/dev/ttyS0]: closing device > 2005-10-11 01:45:04 [5612] [6] INFO: AT2[/dev/ttyS0]: opening device > 2005-10-11 01:45:04 [5612] [6] INFO: AT2[/dev/ttyS0]: init device > 2005-10-11 01:45:04 [5612] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2005-10-11 01:45:04 [5612] [0] WARNING: Killing signal or HTTP admin > command received, shutting down... > 2005-10-11 01:45:05 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:05 [5612] [6] INFO: AT2[/dev/ttyS0]: cannot enable > hardware handshake > 2005-10-11 01:45:05 [5612] [6] ERROR: AT2[/dev/ttyS0]: Error occurs: ERROR > (error number not known to us. ask google and add it.) > 2005-10-11 01:45:05 [5612] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. > Terminating > > > > thanks in advance for helps and answers, > chouaieb ben 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
