Hi check you get url. This is meant to be a server script say a php
script in which you can pick the prameters sents by kannel. you can
then decide to store these in a DB. in php you'd have say
http://localhost/sms.php?phone=%p&text=%a";
and then you'd get the sms like $sms=$_GET['text]; $number
=$_GET["phone"]; you can then decide to store these.

On 23/09/2010, Rene Kluwen <rene.klu...@chimit.nl> wrote:
> Maybe you should +CNMI in your init string.
> Read users guide about it.
>
> == Rene
>
> -----Original Message-----
> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
> Of Harbhag Singh Sohal
> Sent: Thursday, 23 September, 2010 12:01
> To: users@kannel.org
> Subject: unable to receive SMS
>
> Hi,
> I am able to send SMS using kannel. But I am not able to receive SMS.
> I am trying to send SMS from my cellphone to the PC where kannel is
> running. But kannel is not showing any activity about SMS being
> received. Below is my configuration file.
> Thanks
>
> #Sample configuration file for Kannel bearerbox on Debian.
> # See the documentation for explanations of fields.
> #
>
> # HTTP administration is disabled by default. Make sure you set the
> # password if you enable it.
>
> group = core
> admin-port = 13015
> admin-password = bar
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = ""
> dlr-storage = mysql
> smsbox-port = 13016
> #wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> access-log = "/var/log/kannel/access.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> log-level = 1
>
> #group = wapbox
> #bearerbox-host = localhost
> #log-file = "/var/log/kannel/wapbox.log"
>
> group = smsc
> smsc = at
> modemtype = auto
> device= /dev/ttyUSB0
> my-number = +919*********
> connect-allow-ip = 127.0.0.1
> log-level = 0
>
> # DLR with MySQL support configuration
> group = mysql-connection
> id = mydlr
> host = localhost
> username = foo
> password = bar
> database = bar
>
> group = dlr-db
> id = mydlr
> table = dlr
> field-smsc = smsc
> field-timestamp = ts
> field-source=source
> field-destination = destination
> field-service = service
> field-url = url
> field-mask = mask
> field-status = status
> field-boxc-id = boxc
>
> group = modems
>  id = huawei
>  name = "Huawei E220"
>  detect-string = "huawei"
>  init-string = "ATZ"
>  init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13017
> global-sender = +91941*******
> access-log = "/var/log/kannel/smsbox-access.log"
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
>
> group = sendsms-user
> username = foo
> password = bar
> concatenation= true
> max-messages = 10
>
> group = sms-service
> keyword-regex = .*
> catch-all = yes
> max-messages = 0
> get-url = "http://localhost/sms?phone=%p&text=%a";
>
>
>
>
>


-- 
Best regards,
Alex

Reply via email to