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

If that didn't work set sim-buffer = true to have kannel query the modem
for messages.

Alvaro


On Mon, 2009-04-06 at 10:51 +0200, Dusan Djordjevic 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...


Reply via email to