RE: Problem getting Kannel to receive SMS

2010-05-20 Thread Ahmad Pakhri Yahya
Hi Alvaro,

The Sony Ericsson I tried was K500i.

Regards,
Ahmad Pakhri Yahya

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

Good news


However, can you specify which sony did not work? I've used several
sony phones with no problems.

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 Wed, May 19, 2010 at 3:16 AM, Ahmad Pakhri Yahya
pakhri.ya...@ymail.com wrote:
 Hi Rene,



 The earlier phones I was using are nokia and sony ericsson, does not
support
 feature.  I switch to Motorola phone, and it worked.  Thank for all the
 help.



 Cheers,

 Ahmad Pakhri Yahya



 From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
 Sent: Tue, 18 May, 2010 19:14

 To: pakhri.ya...@ymail.com; users@kannel.org
 Subject: RE: Problem getting Kannel to receive SMS



 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]: -- ATF^M

 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

 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

RE: Problem getting Kannel to receive SMS

2010-05-19 Thread Ahmad Pakhri Yahya
Hi Rene,

 

The earlier phones I was using are nokia and sony ericsson, does not support
feature.  I switch to Motorola phone, and it worked.  Thank for all the
help.

 

Cheers,

Ahmad Pakhri Yahya

 

From: Rene Kluwen [mailto:rene.klu...@chimit.nl] 
Sent: Tue, 18 May, 2010 19:14
To: pakhri.ya...@ymail.com; users@kannel.org
Subject: RE: Problem getting Kannel to receive SMS

 

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]: -- ATF^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

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

RE: Problem getting Kannel to receive SMS

2010-05-19 Thread Ahmad Pakhri Yahya
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]: -- ATF^M

 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

 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

Re: Problem getting Kannel to receive SMS

2010-05-19 Thread Alvaro Cornejo
Good news


However, can you specify which sony did not work? I've used several
sony phones with no problems.

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 Wed, May 19, 2010 at 3:16 AM, Ahmad Pakhri Yahya
pakhri.ya...@ymail.com wrote:
 Hi Rene,



 The earlier phones I was using are nokia and sony ericsson, does not support
 feature.  I switch to Motorola phone, and it worked.  Thank for all the
 help.



 Cheers,

 Ahmad Pakhri Yahya



 From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
 Sent: Tue, 18 May, 2010 19:14

 To: pakhri.ya...@ymail.com; users@kannel.org
 Subject: RE: Problem getting Kannel to receive SMS



 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]: -- ATF^M

 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

 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

RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
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



Re: Problem getting Kannel to receive SMS

2010-05-18 Thread sangprabv
capture your log, with log-level 0 and share to us.



sangprabv
sangpr...@gmail.com


On May 18, 2010, at 3:58 PM, Ahmad Pakhri Yahya wrote:

 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
 



RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Ahmad Pakhri Yahya
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]: -- ATF^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

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



RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Ahmad Pakhri Yahya
'.

2010-05-18 17:24:09 [444] [0] INFO: HTTP: Opening server at port 13000.

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2010-05-18 17:24:09 [444] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to
pid 444.

2010-05-18 17:24:09 [444] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 444.

2010-05-18 17:24:09 [444] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 444.

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

2010-05-18 17:24:09 [444] [0] DEBUG: starting smsbox connection module

2010-05-18 17:24:09 [444] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).

2010-05-18 17:24:09 [444] [0] DEBUG: Adding smsbox routing to id smsbox
for smsc id nokiaphone

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)

2010-05-18 17:24:09 [444] [0] INFO: Set SMS resend frequency to 60 seconds.

2010-05-18 17:24:09 [444] [0] INFO: SMS resend retry set to unlimited.

2010-05-18 17:24:09 [444] [0] DEBUG: smsbox MO concatenated message handling
enabled

2010-05-18 17:24:09 [444] [0] INFO: DLR rerouting for smsc id nokiaphone
disabled.

2010-05-18 17:24:09 [444] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `0'.

2010-05-18 17:24:09 [444] [0] INFO: AT2[nokiaphone]: configuration shows
modemtype nokiaphone

2010-05-18 17:24:09 [444] [0] DEBUG: AT2[nokiaphone]: Reading modem
definitions from /etc/kannel/kannel.conf

2010-05-18 17:24:09 [444] [0] DEBUG: AT2[nokiaphone]: Found 1 modems in
config

2010-05-18 17:24:09 [444] [0] INFO: AT2[nokiaphone]: read modem definition
for Nokia 6500 config

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)

2010-05-18 17:24:09 [444] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)

2010-05-18 17:24:09 [444] [0] INFO: 

2010-05-18 17:24:09 [444] [0] INFO: Kannel bearerbox II version 1.4.3
starting

2010-05-18 17:24:09 [444] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 444.

2010-05-18 17:24:09 [444] [6] INFO: Logging thread `6' to logfile
`/var/log/kannel/smsbox.log' with level `0'.

2010-05-18 17:24:09 [444] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 444.

2010-05-18 17:24:09 [444] [0] INFO: MAIN: Start-up done, entering mainloop

2010-05-18 17:24:09 [444] [0] DEBUG: AT2[nokiaphone]: start called

2010-05-18 17:24:09 [444] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
maps to pid 444.

2010-05-18 17:24:09 [444] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
maps to pid 444.

2010-05-18 17:24:10 [444] [5] INFO: Client connected from 127.0.0.1

2010-05-18 17:24:10 [444] [5] DEBUG: Started thread 8
(gw/bb_boxc.c:function)

2010-05-18 17:24:10 [444] [8] DEBUG: Thread 8 (gw/bb_boxc.c:function) maps
to pid 444.

2010-05-18 17:24:10 [444] [8] DEBUG: Started thread 9
(gw/bb_boxc.c:boxc_sender)

2010-05-18 17:24:10 [444] [8] DEBUG: boxc_receiver: got boxc_id smsbox
from 127.0.0.1

2010-05-18 17:24:10 [444] [9] DEBUG: Thread 9 (gw/bb_boxc.c:boxc_sender)
maps to pid 444.

 

 

Cheers,

Ahmad Pakhri Yahya

 

From: sangprabv [mailto:sangpr...@gmail.com] 
Sent: Tue, 18 May, 2010 17:09
To: pakhri.ya...@ymail.com
Cc: users@kannel.org
Subject: Re: Problem getting Kannel to receive SMS

 

capture your log, with log-level 0 and share to us.

 

 

 

sangprabv
sangpr...@gmail.com




 

On May 18, 2010, at 3:58 PM, Ahmad Pakhri Yahya wrote:





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

RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
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]: -- ATF^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

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

RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Ahmad Pakhri Yahya
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]: -- ATF^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

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

RE: Problem getting Kannel to receive SMS

2010-05-18 Thread Rene Kluwen
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]: -- ATF^M

2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

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

Re: Problem getting Kannel to receive SMS

2010-05-18 Thread Alvaro Cornejo
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]: -- ATF^M

 2010-05-18 16:25:29 [31637] [6] DEBUG: AT2[nokiaphone]: -- ATF

 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