I found another phone - some old ericsoon and it supports CNMI, however I get 
this error
when a new message arrives:

---
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: <-- >
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: <-- +CMGS: 0
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: <-- OK
2009-02-12 17:27:26 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: send command status: 0
2009-02-12 17:27:31 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: <-- +CMT: 23
2009-02-12 17:27:31 [6465] [6] DEBUG: AT2[/dev/rfcomm2]: <-- 
07918346011033F3040B918356312429F100009020217172524004F4F29C0E
2009-02-12 17:27:31 [6465] [6] ERROR: AT2[/dev/rfcomm2]: got +CMT but 
pdu_extract failed
2009-02-12 17:27:34 [6465] [8] DEBUG: Dumping 0 messages to store
---

I used this init string:
init-string = "AT+CNMI=2,3,2,0,0;+CMGF=0"

CNMI is described in ericsson docs:
http://developer.sonyericsson.com/site/global/docstools/misc/p_misc.jsp
(Technical Docs & Training → Developers' Guidelines - AT Commands (5.50 MB))

but I'm not sure how to properly set up parameters.
Also phone seems to be T61 model, not sure.


On Thu, 12 Feb 2009 16:57:04 +0100, Alvaro Cornejo <[email protected]> 
wrote:



There might be someone who uses nSeries phones. I don't know nokia
phones but it should have a way to set that feature... maybe there is
another command to do that.

Have you tried nokia forums?

Regards

On Thu, 2009-02-12 at 16:47 +0100, kriko wrote:
I was afraid of that.
I tried on n95 an n73, both doesn't support CNMI.

Thanks for clarifying!

On Thu, 12 Feb 2009 16:42:51 +0100, Alvaro Cornejo <[email protected]> wrote:

> Hi
>
> You need to set your phone to forward incoming messages to kannel.
>
> What phone do you use? You should use AT+CNMI=xxxx command to define
> that. Check your modem at manual for more info
>
> as a tip:
>
> For Sony  K510a:  init-string = "AT+CNMI=2,3,0,1,0;+CMEE=1"
> For Sony  T610:  init-string = "AT+CNMI=2,3,0,0,0;+CMEE=1"
> For Sony  T68:  init-string = "AT+CNMI=3,1,2,0,0;+CMEE=1"
> For  Enfora 1218: init-string = "AT+CNMI=2,1,2,1,0; +CMEE=2"
>
>
> as a sidenote: CMEE=1/2 is for enable modem error verbose. might not
> work with some modems
>
> Hope Helps
>
>
>
> |-----------------------------------------------------------------------------------------------------------------|
> 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 Thu, Feb 12, 2009 at 9:45 AM, kriko <[email protected]> wrote:
>> Default action like this?
>>
>> # Default service.
>> group = sms-service
>> keyword = default
>> text = "No services defined"
>>
>>
>> Is still cannot see received messages. Maybe it is gsm modem problem?
>> How
>> does it pool
>> the phone for new messages, it does that on keep-alive intervals?
>>
>> On Thu, 12 Feb 2009 15:21:25 +0100, Alvaro Cornejo
>> <[email protected]> wrote:
>>
>>> You need to setup an smsuser and an action for the keyword or define
>>> an default action, then kannel will send MO to your app for processing
>>>
>>>
>>>
>>> |-----------------------------------------------------------------------------------------------------------------| >>> 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 Thu, Feb 12, 2009 at 9:15 AM, kriko <[email protected]>
>>> wrote:
>>>>
>>>> Hello!
>>>>
>>>> I'm using GSM modem for sending messages (nokia n95) and it works
>>>> great.
>>>> Starting bearerbox and smsbox in debug mode 0 from 2 separate
>>>> consoles, I
>>>> can see sms
>>>> send requests, but no received messages.
>>>>
>>>> I would like to catch all incoming messages, tried sim-buffering and
>>>> my
>>>> phone
>>>> doesn't like it (Generic error: ERROR). Setting message storage to SM
>>>> or
>>>> ME
>>>> doesn't help either.
>>>>
>>>> My working config:
>>>> http://pastebin.com/m1f302bc1
>>>>
>>>> Are there any other settings to explore for controlling incoming
>>>> messages?
>>>>
>>>>
>>>>
>>>> --
>>>> kriko
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>> --
>> kriko
>>
>>
>>
>







--
kriko



Reply via email to