You also have to specify smsc-id in your smsbox-route. Read the manual.

BR,
Nikos
----- Original Message ----- From: "Alvaro Cornejo" <cornejo.alv...@gmail.com>
To: "Munir Ahmad" <munir.eh...@gmail.com>
Cc: <users@kannel.org>
Sent: Tuesday, January 19, 2010 3:46 PM
Subject: Re: cannot recieve sms


You need to tell your modem to pass the sms to kannel using at+cnmi
command and/or tell kannel to look for the messages in the modems:
sim-buffering = true...

read the manual for details.

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
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 Tue, Jan 19, 2010 at 8:25 AM, Munir Ahmad <munir.eh...@gmail.com> wrote:
Thankyou, my configuration file is now like this but still no luck

group = core
admin-port = 13330
smsbox-port = 13331
admin-password = bar
log-file = "./kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = smsc
smsc = at
smsc-id = "MainSMSC"
modemtype = auto
device = /dev/ttyACM0
my-number = 03214542634
connect-allow-ip = 127.0.0.1
keepalive = 60
log-file = "smsc.log"
log-level = 0
speed = 115200

group = smsbox
bearerbox-host = 127.0.0.1
smsbox-id = main
sendsms-port = 13332
global-sender = 03214542634
#sendsms-chars = 0123456789
#black-list = "banned_nos.txt"
log-level = 0
log-file = "smsbox.log"

group = sendsms-user
username = black
password = pathanrox69
concatenation = true
max-messages = 10

group = sms-service
keyword = service
catch-all = yes
max-messages = 0
exec = gedit
#get-url = "http://localhost/getsms?from=%p";
#file = "msgs.txt"

group = sms-service
keyword = default
text = "No service specified"

group = smsbox-route
smsbox-id = main

group = modems
id = generic
name = MotoU6
no-pin = true
init-string = "AT+CNMI=3,2,0,0"


Γ�Ε�β�‚Ο‚�›!


On Tue, Jan 19, 2010 at 6:05 PM, Cezary Siwek <cza...@thebestisp.co.uk>
wrote:

you have to configure smsbox-route group. check the manual for more info.

BR


----- Original Message -----
From: Munir Ahmad
To: users@kannel.org
Sent: 19 January 2010 12:52
Subject: cannot recieve sms
I have been pulling hairs for two days but no luck please help me.

here is my config:

group = core
admin-port = 13330
smsbox-port = 13331
admin-password = bar
log-file = "./kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

group = smsc
smsc = at
smsc-id = "MainSMSC"
modemtype = auto
device = /dev/ttyACM0
my-number = 03214542634
connect-allow-ip = 127.0.0.1
keepalive = 60
log-file = "smsc.log"
log-level = 0
speed = 115200

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13332
global-sender = 03214542634
#sendsms-chars = 0123456789
#black-list = "banned_nos.txt"
log-level = 0
log-file = "smsbox.log"

group = sendsms-user
username = black
password = pathanrox69
concatenation = true
max-messages = 10

group = sms-service
keyword-regex = (.*)
catch-all = yes
max-messages = 0
get-url = "http://localhost/getsms?from=%p";
#file = "msgs.txt"

group = sms-service
keyword = default
text = "No service specified"


group = modems
id = generic
name = MotoU6
no-pin = true
init-string = "AT"

I can successfully receive msgs sent to my connected U6 but cannot hit the get-url when a message is sent to my U6, it simply goes to my cell in inbox.
Please help me

Γ�Ε�β�‚Ο‚�›!




Reply via email to