Hello!
 Sorry for bad English, i'm french.
 i have a modem Samba_75, and when i run kannel with my config file i get an 
error
 (generic error) in kannel bearerbox log, and i get also "AT SMSC successfully 
opened".
 When this append, kannel can't receive, and send any SMS.
 Please help me in config file.
 
 ******************* Config file *****************
 
 group = core
 admin-port = 13000
 admin-password = admin
 log-file = /var/www/html/sms4all/logs/core-log.log
 access-log = /var/www/html/sms4all/logs/core-access-log.log
 log-level = 0
 smsbox-port = 13001
 #store-file = /var/www/html/sms4all/logs/core-storefile.log
 
 # SMSC GSM
 group = smsc
 smsc = at
 smsc-id = sms4all
 modemtype = auto
 device = /dev/ttyACM0
 #pin = 2345
 pin = 0101
 
 #fake sms center pour les test
 group = smsc
 smsc = fake
 port = 10010
 
 group = modems
 id = siemens_MC75
 name = Siemens MC75
 #speed = 9600
 detect-string = "SIEMENS"
 init-string = "AT+CNMI=1,2,2,2,1"
 #keepalive-cmd = "AT+CBC;+CSQ"
 message-storage = "SM"
 
 
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13013
 #global-sender = 
 #global-sender = 12345
 log-file = "/var/www/html/sms4all/logs/smsbox-log.log"
 #log-level = 0
 access-log = "/var/www/html/sms4all/logs/smsbox-access.log"
 
 
 # SEND-SMS USERS
 
 group = sendsms-user
 username = pepe
 password = pepe
 max-messages = 99999999
 faked-sender = 01010101
 concatenation = true
 #user-deny-ip = ""
 #user-allow-ip = ""
 
 
 #sms service
 
 group = sms-service
 keyword = default
 text = "tout"
 get-url = "http://localhost/sms4all/sms/geturl.php?a=%a&q=%p&t=%t";
 max-messages = 0
 concatenation = true
 
 
 #sms service
 group = sms-service
 keyword = mail
 get-url = "http://localhost/sms4all/sms/geturl.php?a=%a&q=%p&t=%t";
 max-messages = 0
 concatenation = true
 
 
***********************************************************************************
 
 ****************** KANNEL CORE LOG**************************************
 
 2008-02-01 16:46:23 [14724] [6] DEBUG: AT2[sms4all]: detecting modem type
 2008-02-01 16:46:23 [14724] [6] INFO: AT2[sms4all]: opening device
 2008-02-01 16:46:23 [14724] [0] INFO: DLR rerouting for smsc id <(null)> 
disabled.
 2008-02-01 16:46:23 [14724] [0] DEBUG: Started thread 7 
(gw/smsc/smsc_fake.c:fake_listener)
 2008-02-01 16:46:23 [14724] [0] DEBUG: Started thread 8 
(gw/bb_smscconn.c:sms_router)
 2008-02-01 16:46:23 [14724] [0] INFO: ----------------------------------------
 2008-02-01 16:46:23 [14724] [0] INFO: Kannel bearerbox II version 1.4.1 
starting
 2008-02-01 16:46:23 [14724] [0] INFO: MAIN: Start-up done, entering mainloop
 2008-02-01 16:46:23 [14724] [0] DEBUG: AT2[sms4all]: start called
 2008-02-01 16:46:23 [14724] [0] DEBUG: smsc_fake: start called
 2008-02-01 16:46:23 [14724] [6] DEBUG: AT2[sms4all]: device opened
 2008-02-01 16:46:23 [14724] [7] DEBUG: Thread 7 
(gw/smsc/smsc_fake.c:fake_listener) maps to pid 14724.
 2008-02-01 16:46:23 [14724] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) 
maps to pid 14724.
 2008-02-01 16:46:23 [14724] [8] DEBUG: sms_router: time to sleep 30.00 secs.
 2008-02-01 16:46:23 [14724] [8] DEBUG: sms_router: gwlist_len = 0
 2008-02-01 16:46:24 [14724] [6] DEBUG: AT2[sms4all]: device opened
 2008-02-01 16:46:24 [14724] [6] INFO: AT2[sms4all]: speed set to 115200
 2008-02-01 16:46:24 [14724] [6] DEBUG: AT2[sms4all]: --> ^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> AT^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- AT
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> AT&F^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- AT&F
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> ATE0^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- ATE0
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> ATI^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- SIEMENS
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- MC75
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- REVISION 03.010
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: found string <SIEMENS> 
plus <MC75>, using modem definition <Siemens MC75>
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CSMS=?^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- ERROR
 2008-02-01 16:46:26 [14724] [6] ERROR: AT2[sms4all]: Generic error: ERROR
 2008-02-01 16:46:26 [14724] [6] INFO: AT2[sms4all]: closing device
 2008-02-01 16:46:26 [14724] [6] INFO: AT2[sms4all]: opening device
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: device opened
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: device opened
 2008-02-01 16:46:26 [14724] [6] INFO: AT2[sms4all]: init device
 2008-02-01 16:46:26 [14724] [6] INFO: AT2[sms4all]: speed set to 115200
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> ATZ^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> AT^M
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- AT
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:26 [14724] [6] DEBUG: AT2[sms4all]: --> AT&F^M
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- AT&F
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: --> ATE0^M
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- ATE0
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: --> AT+IFC=2,2^M
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CPIN?^M
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- +CPIN: SIM PIN
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CPIN="0101"^M
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:27 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CPIN?^M
 2008-02-01 16:46:28 [14724] [6] DEBUG: AT2[sms4all]: <-- +CPIN: READY
 2008-02-01 16:46:28 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:28 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CMGF=0^M
 2008-02-01 16:46:28 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:28 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CSMS=?^M
 2008-02-01 16:46:32 [14724] [6] DEBUG: AT2[sms4all]: --> AT+CNMI=1,2,2,2,1^M
 2008-02-01 16:46:33 [14724] [6] DEBUG: AT2[sms4all]: <-- +CSMS: (0,1)
 2008-02-01 16:46:33 [14724] [6] DEBUG: AT2[sms4all]: <-- OK
 2008-02-01 16:46:33 [14724] [6] INFO: AT2[sms4all]: AT SMSC successfully 
opened.
 
 
 
*********************************************************************************************
 Thanks!
 
 
 
       
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Reply via email to