hello,

in order to receive the incoming SMSs, your GSM Modem must support AT+CNMI
command. But most new Nokia Handys don't.

To config your modem to support receiving SMS, using the init-string with:

init-string = "AT+CNMI=1,2,0,1,0"


Regards

Pai



On Mon, Apr 6, 2009 at 10:51 AM, Dusan Djordjevic <[email protected]> wrote:

> Hi all,
>
> I am running Kannel on Ubuntu 8.04 with Nokia mobile phone as SMSC.
> This is my config file:
>
> group = core
> admin-port = 13000
> admin-password = bar
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> smsbox-port = 13001
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
>
> # SMSC
>
> group = smsc
> smsc = at
> modemtype = AT2
> device = /dev/ttyACM0
> speed = 0
> smsc-id = Nokia_smsc
> port = 13131
> log-level = 0
>
> # Nokia mobile phone setup
>
> group = modems
> id = AT2
> name = "Nokia 6085 config"
> detect-string="Nokia"
> detect-string2="Nokia 6085"
> init-string = "ATZ"
> speed = 19200
> enable-hwhs = "AT+IFC=2,2"
> message-storage = "SM"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13013
> global-sender = 13013
> log-level=0
> sendsms-chars="0123456789 +-"
>
> # SEND-SMS USERS
>
> group = sendsms-user
> username = tester
> password = foobar
>
> # SMS Service
>
> group = sms-service
> keyword =
> keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = "http://localhost/sms?phone=%p&text=%a";
>
>
>
> Sending works without any problem. But SMS receiving is not working at
> all. I suppose mistake is somewhere in SMS service part, but I do not
> know where. Any suggestions ?
> TIA...
> --
> Dusan Djordjevic
> http://dj-dule.blogspot.com | http://www.mravojed.com
>
>

Reply via email to