Hello,
On Dec 14, 2011 12:32 AM, "Rene Kluwen" wrote:
>
> Some Nokia phone don't support the AT+CNMI command.
> Try to remove it completely from your config and use sim-buffering in
stead.
thanks for your quick reply. Works nicely now.
Case closed. Cheers,
--
tuomas
> == Rene
>
> -Original Message-
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Tuomas Koski
> Sent: Tuesday, 13 December, 2011 21:19
> To: users@kannel.org
> Subject: Help with Nokia 6210 Navigator
>
> Hi guys,
>
> does anyone here have managed to get Nokia 6210 Navigator to work with
> Kannel 1.5.0 to SEND sms?
>
> If yes, could you please post your working conf?
>
> Here is my "current" conf (after trying all examples I found from web)
> which does not work:
>
> group = core
> admin-port = 13000
> admin-password = bar
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = ""
> 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-id = SMSC_01
> smsc = at
> modemtype = nokiaphone
> speed = 19200
> device = /dev/ttyACM0
> log-file = "/var/log/kannel/smsc.log"
> log-level = 0
> keepalive = true
>
> group = modems
> id = nokiaphone
> name = "Nokia Phone"
> need-sleep = true
> #sendline-sleep = 1000
> init-string = "AT+CNMI=1,2,0,1,0"
> keepalive-cmd = "AT+CBC;+CSQ"
> enable-mms = true
>
>
> This is the log from smsc.log:
> 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: opening device
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened.
> Telnet mode = 0
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: device opened
> 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: Logging in
> 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: init device
> 2011-12-13 21:11:01 [9154] [4] INFO: AT2[SMSC_01]: speed set to 19200
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: --> ATZ^M
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT^M
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: <-- AT
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:01 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT&F^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- AT&F
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --> ATE0^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- ATE0
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT+IFC=2,2^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT+CPIN?^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- +CPIN: READY
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -->
> AT+CSCA="+49177061"^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT+CMGF=0^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: --> AT+CSMS=?^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- +CSMS: (0)
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- OK
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: -->
AT+CNMI=1,2,0,1,0^M
> 2011-12-13 21:11:02 [9154] [4] DEBUG: AT2[SMSC_01]: <-- ERROR
> 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Generic error: ERROR
> 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Initialization of
> device failed.
> 2011-12-13 21:11:02 [9154] [4] INFO: AT2[SMSC_01]: Closing device
> 2011-12-13 21:11:02 [9154] [4] ERROR: AT2[SMSC_01]: Couldn't connect
> (retrying in 10 seconds).
>
> Any idea what could be the correct value instead of "AT+CNMI=1,2,0,1,0" ?
>
> All help would be highly appreciated.
>
>
> Cheers,
> Tuomas
>
>
>