Kannel detected your modem config but is unable to open the modem.
There is no info about kannel been able to open /dev/ttyACM0
Check permissions for kannel to read/write on your /dev/ttyACM0
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com
On Mon, Oct 19, 2009 at 2:25 AM, st2forget <[email protected]> wrote:
>
> Hi all, i'm having trouble with Kannel and Nokia N70 Music Edition. I wonder
> if Kannel can read that phone or not? :(.
> Here is my situation:
>
> 2009-10-17 01:13:21 [7238] [6] INFO: AT2[N70]: opening device
> 2009-10-17 01:13:21 [7238] [0] INFO: Adding interface *
> 2009-10-17 01:13:21 [7238] [0] INFO:
> ----------------------------------------
> 2009-10-17 01:13:21 [7238] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2009-10-17 01:13:21 [7238] [0] INFO: MAIN: Start-up done, entering mainloop
> 2009-10-17 01:13:22 [7238] [6] INFO: AT2[N70]: speed set to 115200
> 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: Closing device
> 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: detect speed is 115200
> 2009-10-17 01:13:24 [7238] [6] INFO: AT2[N70]: opening device
> 2009-10-17 01:13:25 [7238] [6] INFO: AT2[N70]: speed set to 115200
> 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: Closing device
> 2009-10-17 01:13:27 [7238] [6] INFO: AT2[N70]: opening device
> 2009-10-17 01:13:28 [7238] [6] INFO: AT2[N70]: Logging in
> 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: init device
> 2009-10-17 01:13:29 [7238] [6] INFO: AT2[N70]: speed set to 115200
> 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Generic error: ERROR
> 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Initialization of device
> failed.
> 2009-10-17 01:13:30 [7238] [6] INFO: AT2[N70]: Closing device
> 2009-10-17 01:13:30 [7238] [6] ERROR: AT2[N70]: Couldn't connect (retrying
> in 10 seconds).
>
> It seems that Kannel entered mainloop and could listen to mobile phone, but
> when it set speed for mobile, there is and error occured. Is there any way
> to configure or install package for my phone to detect kannel? Or any way to
> update kannel to detect my phone co'z it's Nokia N70 Music Edition, not N70.
>
> Here is my Kannel.conf file:
>
> group = core
> admin-port = 13000
> admin-password = hoanggia
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> smsbox-port = 13001
> wapbox-port = 13002
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
>
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
>
> #group = smsc
> #smsc = at
> #modemtype = auto
> #device=/dev/ttyACM0
> #my-number = 123123123123 #The my-number field contains the number of #your
> GSM modem’s SIM chip
> ##log-level = 0
>
> group = smsc
> smsc = at
> smsc-id = N70
> device = /dev/ttyACM0
> my-number = 0983040785
> modemtype = nokiaphone # phone type
> speed = 0
> connect-allow-ip = "127.0.0.1"
> #sms-center = "+84980200030"
>
> group = modems
> id = nokiaphone
> name = "Nokia N70"
> detect-string = "Nokia"
> init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" #use sudo wvdialconf
> /etc/wvdial.conf
> keepalive-cmd = "AT+CBC;+CSQ"
> #detect-string2 = N70
> speed = 0
> need-sleep = true
> #pin = 1111
>
> group = modems
> id = wavecome
> name = Wavecom
> detect-string = "WAVECOM"
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> sendsms-chars = "0123456789+"
> log-file = "/etc/kannel/smsbox.log"
> #global-sender = 123123123123
> log-level = 0
>
> group = sendsms-user
> username = baochau
> password = hoanggia
> concatenation= true
> max-messages = 10
>
> group = sms-service
> keyword = ""
> keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = "http://localhost/php.php?phone=%p&text=%a"
>
> --
> View this message in context:
> http://www.nabble.com/GENERIC%3A-ERROR-when-openning-device-tp25930608p25930608.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>