Hi to everyone!
I have a modem D301 (with ATI1 command in minicom returns GW01 USB WMC Modem). When i start the kannel my log show me the following lines:

2008-01-08 13:04:15 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
2008-01-08 13:04:19 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type
2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device
2008-01-08 13:04:23 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to open device with not closed device!!! Please report!!!
2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device
2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2008-01-08 13:04:24 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600
2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M
2008-01-08 13:04:26 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
2008-01-08 13:04:30 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem type
2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device
2008-01-08 13:04:34 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to open device with not closed device!!! Please report!!!
2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device
2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2008-01-08 13:04:35 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
2008-01-08 13:04:35 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600

Kannel Conf:
group = core
admin-port = 13000
admin-password = bar
admin-allow-ip = ""
smsbox-port = 13001
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-allow-ip = ""


group = smsc
smsc = at
modemtype = "usb modem"
device = /dev/ttyACM0
pin = 3636
speed = 9600
sim-buffering = true
log-file = "/var/log/kannel/sms.log"
log-level = 0

group = modems
id = auto
name = “GW01 USB WMC Modem?
broken = true
detect-string = "D301"
detect-string2 = "GW01"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
#message-storage = "ME"
keepalive-cmd = "AT+CSQ"

group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
group = core
admin-port = 13000
admin-password = bar
admin-allow-ip = ""
smsbox-port = 13001
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-allow-ip = ""


group = smsc
smsc = at
modemtype = "usb modem"
device = /dev/ttyACM0
pin = 3636
speed = 9600
sim-buffering = true
log-file = "/var/log/kannel/sms.log"
log-level = 0

group = modems
id = auto
name = “GW01 USB WMC Modem?
broken = true
detect-string = "D301"
detect-string2 = "GW01"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
#message-storage = "ME"
keepalive-cmd = "AT+CSQ"

group = smsbox
bearerbox-host = localhost
sendsms-port = 13003
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

Regards

Rafael



<http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018>


<http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>


Reply via email to