Hi Suman,
I recently got the Teltonika PCI G10 modem working .. Pretty much worked
out of the box with the config below. try this below and see how you get on.
Cheers,
lLan
group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
smsbox-port = 13001
log-level=0
group = smsbox
bearerbox-host = 127.0.0.1
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/access.log"
global-sender=xxxxxxxxxx
log-level=0
sendsms-port=13013
group = smsc
smsc = at
modemtype = teltonika
device = /dev/ttyS2
log-level = 0
group = modems
id = teltonika
name = "Teltonika TM2"
detect-string = "Undefined"
message-storage = "SM"
speed = 115200
group = sms-service
keyword = default
text = "No action specified"
# get-url = "http://127.0.0.1/moHandler?smsc=%i&to=%P&from=%p&message=%a"
group = sendsms-user
username = tm2
password = 2mt
ravurisuman wrote:
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