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 ?
-- 
Dusan Djordjevic
http://dj-dule.blogspot.com | http://www.mravojed.com

Reply via email to