Thank you with all, I you sending my file kannel.conf I remind that I use a mobile phone Motorola L6 as modem my problem relates to the reception of sms, I will knowledge if it ya an option has to activate on the level of the portable telephone so that the received sms are stokés in /var/log/kannel/kannel.store # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. #
# HTTP administration is disabled by default. Make sure you set the # password if you enable it. group = coreadmin-port = 13000admin-password = baradmin-deny-ip = "*.*.*.*"admin-allow-ip = ""wapbox-port = 13002#wdp-interface-name = "*"log-file = "/var/log/kannel/bearerbox.log"store-file = "/var/log/kannel/kannel.store"box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"#box-deny-ip = "*.*.*.*"#box-allow-ip = "127.0.0.1"group = wapboxbearerbox-host = localhost#log-file = "/var/log/kannel/wapbox.log"#modification inclure modems.conf et sms.confinclude ="/etc/kannel/modems.conf"include ="/etc/kannel/sms.conf" mon fichier de modems.conf # Modems configuration # # Example and default values # # group = modems # id = "my-id" # name = "my-name" # detect-string = "MODEM" # detect-string2 = "" [Default] # init-string = "AT+CNMI=1,2,0,0,0" [Default] # speed = 9600 [Default] # enable-hwhs = "AT+IFC=2,2" [Default] # need-sleep = false [Default] # no-pin = false [Default] # no-smsc = false [Default] # sendline-sleep = 100 [Default, miliseconds] # keepalive-cmd = "AT" [Default] # broken = false [Default] # message-storage = "SM" # enable-mms = false [Default] # If modemtype=auto, try everyone and defaults to this one group = modems id = generic name = "Generic Modem" group = modems id = wavecom name = Wavecom detect-string = "WAVECOM" group = modems id = premicell name = Premicell detect-string = "PREMICEL" no-pin = true no-smsc = true group = modems id = siemens_tc35 name = "Siemens TC35" detect-string = "SIEMENS" detect-string2 = "TC35" init-string = "AT+CNMI=1,2,0,1,1" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true group = modems id = siemens_m20 name = "Siemens M20" detect-string = "SIEMENS" detect-string2 = "M20" speed = 19200 enable-hwhs = "AT\\Q3" keepalive-cmd = "AT+CBC;+CSQ" need-sleep = true group = modems id = siemens_sl45 name = "Siemens SL45" detect-string = "SIEMENS" detect-string2 = "SL45" init-string = "AT+CNMI=1,2,2,2,1" keepalive-cmd = "AT+CBC;+CSQ" speed = 19200 enable-hwhs = "AT\\Q3" need-sleep = true message-storage = "SM" group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Mobile Phone" need-sleep = true keepalive-cmd = "AT+CBC;+CSQ" enable-mms = true group = modems id = falcom name = "Falcom" detect-string = "Falcom" no-smsc = true group = modems id = ericsson_r520m name = "Ericsson R520m" detect-string = "R520m" init-string = "AT+CNMI=3,2,0,0" group = modems id = ericsson_t68 name = "Ericsson T68" detect-string = "T68" init-string = "AT+CNMI=3,3" keepalive-cmd = "AT+CBC;+CSQ" broken = true group = modems id = alcatel name = "Alcatel" detect-string = "Alcatel" init-string = "AT+CNMI=3,2,0,0" mon fichier sms.conf # Fichier de config pour Modem GSM connecte sur le port USB - 23/05/2008 group = core admin-port = 13000 smsbox-port = 13001 admin-password = bar #status-password = ingtestpass log-file = "/var/log/kannel/bearerbox.log" #box-deny-ip = "*.*.*.*" #box-allow-ip = "127.0.0.1" #log-level = 0 unified-prefix = "+225,00225;+221,00221;+,00+,00" access-log = "/var/log/kannel/access.log" dlr-storage = mysql #http-proxy-host = "127.0.0.1" #http-proxy-port = 8081 ##ssl-server-cert-file = "cert.pem" ##ssl-server-key-file = "key.pem" ##ssl-certkey-file = "mycertandprivkeyfile.pem" # SMSC CONNECTIONS group = smsc smsc = at #utilisation d'un téléphone motorola comme modem modemtype = AT-HW device = /dev/ttyACM0 speed = 9600 sms-center = "+22507481147" validityperiod = 167 host = localhost port = 13015 # pin = 1234 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 #global-sender = 13013 #sendsms-chars = "0123456789 +-" log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" sendsms-url = /cgi-bin/sendsms # SEND-SMS USERS group = sendsms-user username = expert password = expert name =service_kannel user-deny-ip = "*.*.*.*" user-allow-ip = "192.168.1.12" max-messages = 2 concatenation = true #ajout d'un groupe pour l'envoi de sms par http 26/05/08 group = smsc smsc = http system-type = kannel smsc-username = testeur smsc-password =test12 port = 13015 send-url = "http://localhost:20022/cgi-bin/sendsms" # SERVICES group = sms-service keyword = matricule aliases = MATRICULE;Matricule #text = "demande de résultat!" post-url = "http://127.0.0.1/sms/envoi.php?sender=%p&text=%r%s" # there should be default always group = sms-service keyword = default text = "No service specified" #ajout du groupe dlr-db group = dlr-db id = mysql table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc #ajout du groupe de connexion group = mysql-connection id = mysql host = localhost username = expert password = ing3 database = DLR max-connections = 1 Boka Yannick Paul Élève Ingénieur en Sciences Informatiques cel :+225 07481147 /+225 01454341 _________________________________________________________________ Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui ! http://toolbar.live.com
