Hi,

This is a very common configuration mistake. Users keep configuring a bunch of init-scripts, and they expect that all of them will be given to the modem. In fact, the way configuration works in kannel, only the first of those will be used. I suspect that If it is only "AT" or something inadequate, kannel will supplement its own values (AT&F ?).

So, either concatenate everyting in 1 init-string like:

init-string="ATE0V1 &C1 &D2 S0=0"

or for better debuging or sequential multi-stage initialization:

init-string="ATE0V1;AT &C1 &D2 S0=0"

However skip the <cr>. :-)

I don't know if that will fix your problem, but at least you should be able to initialize your modem the way you want to.

BR,
Nikos
----- Original Message ----- From: "ravurisuman" <[email protected]>
To: <[email protected]>
Sent: Saturday, July 18, 2009 9:48 AM
Subject: Unable to connecy to teltonika gsm modem



Hi All,
        I am trying to configure kannel with 'TELTONIKA' GSM modem. I used
the following modem configuration.

# MODEM DEFINITIONS
group = modems
id = Teltonika
name = "Teltonika ModemUSB G10"
detect-string = "Teltonika"
init-string = "AT<cr>"
init-string = "ATE0V1<cr>"
init-string = "AT &C1 &D2 V1 S0=0<cr>"

   I have not pasted remaining configuartion infromation as it is pretty
much same for all configurations. When I try to bearer box I got the
following error in logs.

009-07-18 23:47:23 [3254] [0] INFO: ----------------------------------------
2009-07-18 23:47:23 [3254] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2009-07-18 23:47:23 [3254] [0] INFO: MAIN: Start-up done, entering mainloop
2009-07-18 23:47:23 [3254] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
2009-07-18 23:47:24 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2009-07-18 23:47:24 [3254] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2009-07-18 23:47:24 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is
115200
2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
type
2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2009-07-18 23:47:27 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2009-07-18 23:47:27 [3254] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2009-07-18 23:47:27 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
2009-07-18 23:47:29 [3254] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
ERROR

I think GSM modem I am using is unable to detect the  AT&F command. GSM
modem  I am using is TELTONIKA G10 modem, I tried to get some information
about this modem, but user guide is not useful to me.


Thanks,
Suman



--
View this message in context: http://www.nabble.com/Unable-to-connecy-to-teltonika-gsm-modem-tp24545192p24545192.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Reply via email to