|
is it normal that i dont have anything in my logs ?
On 12/18/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:
Hi Fourat,
in general i use the following lines for wavecom modem
note i use kermit to preset the pin and the sms-center before to start the bearerbox
include = "/etc/kannel/seik.modems.conf"
# SMSC GSM
group = smsc
smsc = at
smsc-id = modem0
denied-smsc-id = clickatell
modemtype = wavecom
device = /dev/ttyS0
validityperiod = 167
sim-buffering = true
sms-center = +35989100000
in the /etc/kannel/seik.modems.conf i have for wavecom these settings :
group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
#AT+CGSN
#IMEI: 332055336044120
#OK
#AT+CNMI=?
#+CNMI: (0-3),(0-3),(0-3),(0-2),(0,1)
#init-string ="AT+CNMI=1,3,2,2,1"
#init-string ="AT+CNMI=2,1,0,0,0"
init-string ="AT+CNMI=2,2,0,0,0"
speed = 9600
# enable-hwhs = "AT\\Q3"
#message-storage = "MT"
#enable-mms = true
keepalive-cmd = "AT+CBC;+CSQ"
On Mon, Dec 18, 2006 at 09:17:09PM +0100, Fourat Zouari wrote:
> Hello all,
> Something strange with kannel, i've configured it for my WAVECOM 1213A
> GSM modem this way :
> ---------------------
> ...
> group = modems
> id = WAVECOM
> name = wavecom
> detect-string = WAVECOM
> init-string = "AT+CNMI=2,2,0,0,0;+CMEE=1"
> need-sleep = true
> sendline-sleep = 6000
> no-pin = true
> ...
> group = smsc
> smsc-id = MODEM-01
> smsc = at
> modemtype = WAVECOM
> device = /dev/ttyS0
> speed = 9600
> log-file = "/var/log/smgs/modem.log"
> log-level = 0
> ---------------------
> When kannel is started, no modem.log is created, and on the bearerbox
> log, all is working except that there's no "wavecom" in the log...
> Seems just if kannel didnt read the config to go and intiate the modem
> :(
> The same config is working on an SMSC, just added those two groups and
> a serial linked new modem.
> Any one can help ? thanks
|