Hi Alvaro,

Yes it's the phone.  I switched to Motorola phones, and it is working now.
Thank you.

Cheers,
Ahmad Pakhri Yahya

-----Original Message-----
From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com] 
Sent: Tue, 18 May, 2010 21:23
To: pakhri.ya...@ymail.com; users@kannel.org
Subject: Re: Problem getting Kannel to receive SMS

Several Nokia phones do not support CNMI command. So kannel never
receives the MO's.

You must use sim-buffering=true in combination with message-storage=XX
to have kannel look at the messages in the modem Either the sim or the
TE. This does not work either with all nokia phones.

If this fails, you need to change the phone you are using as modem, or
use a gsm modem.

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 Tue, May 18, 2010 at 6:14 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote:
> CMS ERROR 303 means: The operation to be done by the AT command is not
> supported.
>
> But judging from your log file: Are you using a sony (ericsson?) phone? Or
a
> Nokia phone?
>
>
>
> Like I said: Try to send AT+CNMI=? And see what you get. Depending on the
> values returned you can adapt your final AT+CNMI command in the init
string.
>
>
>
> Maybe some other people on the list can recommend you a phone or gsm modem
> that will work. Personally I have experience with the (old) Siemens SL45,
> TC35 and related phones that work. But that was a long time ago.
>
>
>
> From: Ahmad Pakhri Yahya [mailto:pakhri.ya...@ymail.com]
> Sent: dinsdag 18 mei 2010 12:43
>
> To: 'Rene Kluwen'; users@kannel.org
> Subject: RE: Problem getting Kannel to receive SMS
>
>
>
> The error message I got is
>
>
>
> 2010-05-18 17:10:56 [32143] [6] DEBUG: AT2[sonyphone]: -->
> AT+CNMI=1,1,0,0,0^M
>
> 2010-05-18 17:10:56 [32143] [6] DEBUG: AT2[sonyphone]: <-- +CMS ERROR: 303
>
> 2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: CMS ERROR: +CMS
> ERROR: 303
>
> 2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: CMS ERROR:
Operation
> not supported (303)
>
> 2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: Initialization of
> device failed.
>
> 2010-05-18 17:10:56 [32143] [6] INFO: AT2[sonyphone]: Closing device
>
> 2010-05-18 17:10:56 [32143] [6] ERROR: AT2[sonyphone]: Couldn't connect
> (retrying in 10 seconds).
>
> 2010-05-18 17:11:06 [32143] [6] INFO: AT2[sonyphone]: opening device
>
> 2010-05-18 17:11:06 [32143] [6] DEBUG: AT2[sonyphone]: device opened.
Telnet
> mode = 0
>
>
>
>
>
> It could be due to the phone not supporting the feature.  Do you know any
> normal GSM phone that might work?
>
>
>
> Cheers,
>
> Ahmad Pakhri Yahya
>
>
>
> From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
> Sent: Tue, 18 May, 2010 18:30
> To: pakhri.ya...@ymail.com; users@kannel.org
> Subject: RE: Problem getting Kannel to receive SMS
>
>
>
> What do you get if you send AT+CNMI=? (in hyper terminal or as an init
> string in Kannel).
>
>
>
> -          If you get an error: Probably you are out of luck and your
phone
> doesn’t support relaying messages to the TE. Try another phone as modem.
>
> -          If you get a string like: +CNMI:
> (0,1,2,3),(0,1,2,3),(0,2),(0,1,2),(0,1) then try to get the best options,
> e.g.: AT+CNMI=3,1,0,2,0 (in this case), depending on the values returned.
>
>
>
>
>
> From: Ahmad Pakhri Yahya [mailto:pakhri.ya...@ymail.com]
> Sent: dinsdag 18 mei 2010 11:30
> To: 'Rene Kluwen'; users@kannel.org
> Subject: RE: Problem getting Kannel to receive SMS
>
>
>
> Hi Rene,
>
>
>
> I tried adding the AT+CNMI= command, but it gave me error during
> initialization.
>
>
>
> Messages from the log.
>
>
>
> 2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATZ^M
>
> 2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:28 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT&F^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- AT&F
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> ATE0^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ATE0
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+IFC=2,2^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CPIN?^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CPIN: READY
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CMGF=0^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: --> AT+CSMS=?^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- +CSMS: (0)
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- OK
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -->
> AT+CNMI=0,0,0,0,0^M
>
> 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: <-- ERROR
>
> 2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Generic error:
ERROR
>
> 2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Initialization of
> device failed.
>
> 2010-05-18 16:25:29 [31637] [6] INFO: AT2[nokiaphone]: Closing device
>
> 2010-05-18 16:25:29 [31637] [6] ERROR: AT2[nokiaphone]: Couldn't connect
> (retrying in 10 seconds).
>
>
>
> Cheers,
>
> Ahmad Pakhri Yahya
>
>
>
> From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
> Sent: Tue, 18 May, 2010 17:09
> To: pakhri.ya...@ymail.com; users@kannel.org
> Subject: RE: Problem getting Kannel to receive SMS
>
>
>
> Check your init string and in particular AT+CNMI=….
>
>
>
> This setting will let your phone notify if there is any incoming message
to
> Kannel. There’s a few options you have there. Depending on which settings
> your phone supports (not sure about the 5610).
>
>
>
>
>
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Ahmad Pakhri Yahya
> Sent: dinsdag 18 mei 2010 10:58
> To: users@kannel.org
> Subject: Problem getting Kannel to receive SMS
>
>
>
> Hi,
>
> I’m new to Kannel and am having problem to get Kannel to receive SMS from
> the phone.  Currently it’s running on Ubuntu and using Nokia 5610 as the
> modem.  I have no problem sending sms through kannel, but receiving SMS is
> still unsuccessful.  No messages in the log (bearer or sms) regarding
> received sms, which I suspect that kannel is not being notified by the
phone
> about the sms.  How do I get the phone to inform Kannel about the SMS
> received. Below is my config.
>
> # HTTP administration is disabled by default. Make sure you set the
>
> # password if you enable it.
>
> group = core
>
> admin-port = 13000
>
> admin-password = bar
>
> admin-deny-ip = "*.*.*.*"
>
> admin-allow-ip = "127.0.0.1"
>
> admin-allow-ip = "192.168.1.16"
>
> log-file = "/var/log/kannel/bearerbox.log"
>
> log-level = 0
>
> smsbox-port = 13001
>
> box-deny-ip = "*.*.*.*"
>
> box-allow-ip = "127.0.0.1"
>
> box-allow-ip = "192.168.1.16"
>
> #store-file="/etc/kannel/kannel.store"
>
> # SMSC
>
> group = smsc
>
> smsc = at
>
> modemtype = nokiaphone
>
> device = /dev/ttyACM6
>
> #device = /dev/ttyS0
>
> speed = 0
>
> smsc-id = nokiaphone
>
> port = 13013
>
> log-level = 0
>
> log-file = "/var/log/kannel/smsbox.log"
>
> #sim-buffering = true
>
> # Nokia mobile phone setup
>
> group = modems
>
> id = nokiaphone
>
> name = "Nokia 6500 config"
>
> detect-string="Nokia"
>
> detect-string2="Nokia 6500"
>
> init-string = "ATZ"
>
> #init-string = "AT+CMGF=1"
>
> #init-string = "AT+CNMI=1,2,0,0,0"
>
> #init-string = "AT+CNMI=?"
>
> #init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
> #speed = 19200
>
> enable-hwhs = "AT+IFC=2,2"
>
> message-storage = "SM"
>
> need-sleep=true
>
> keepalive-cmd="AT+CBC;+CSQ"
>
> group = smsbox
>
> smsbox-id = smsbox
>
> bearerbox-host = localhost
>
> sendsms-port = 13013
>
> global-sender = 13013
>
> log-level=0
>
> log-file = "/var/log/kannel/smsbox.log"
>
> sendsms-chars="0123456789 +-"
>
> access-log = "/var/log/kannel/access.log"
>
> group = smsbox-route
>
> smsbox-id = smsbox
>
> smsc-id = nokiaphone
>
> # SEND-SMS USERS
>
> group = sendsms-user
>
> username = kanneluser
>
> password = kannelpass
>
> max-messages = 10
>
> concatenation = true
>
> # SMS Service
>
> group = sms-service
>
> keyword = default
>
> #keyword-regex = .*
>
> catch-all = yes
>
> #max-messages = 10
>
> #concatenation = true
>
> get-url = "http://localhost/test";
>
> #exec /home/brite/watcer/stopwatch
>
> omit-empty = true
>
> accept-x-kannel-headers = true
>
> Please help me to read the SMS from the phone.  Thank you.
>
> Regards,
>
> Ahmad Pakhri Yahya


Reply via email to