AT+CNMI makes modem pass MO messages to kannel
parameter sim-bufferin = true tells kannel to look for messages in modem

try at+cmee=1 or =2 to get verbose errors from modem

But as stated before, many nokia phones does not support at+cnmi

Regards

Alvaro



On Mon, 2009-04-06 at 15:31 +0200, Dusan Djordjevic wrote:
> On Mon, Apr 6, 2009 at 3:07 PM, Alvaro Cornejo <[email protected]> 
> wrote:
> > you need to tell your modem to send inc messages to kannel. Use AT+CNMI
> > command in init string. Check supported values for your modem
> 
> I tried this:
> 
> init-string = "AT+CNMI"
> 
> in modems section, which resulted with bunch of errors, like:
> 
> 2009-04-06 09:28:27 [20712] [6] DEBUG: AT2[Nokia_smsc]: --> AT+CNMI^M
> 2009-04-06 09:28:27 [20712] [6] DEBUG: AT2[Nokia_smsc]: <-- ERROR
> 2009-04-06 09:28:27 [20712] [6] ERROR: AT2[Nokia_smsc]: Generic error: ERROR
> 2009-04-06 09:28:27 [20712] [6] ERROR: AT2[Nokia_smsc]: Opening
> failed. Terminating
> 
> > If that didn't work set sim-buffer = true to have kannel query the modem
> > for messages.
> 
> I reverted previous init string to ATZ and addedd:
> 
> sim-buffering = true
> 
> to smsc section. That resulted with same error messages as mentioned.
> 
> It seems that Kannel uses AT+CNMI to pull messages from my phone, and
> that command is not supported by it (If i understand everything
> properly).
> 
> Any other method maybe ?


Reply via email to