Murgor, the php script works fine when i test it alone. just when
called by kannel, it doesnt work.

On 9/1/14, Murgor Bendon <bendonmur...@gmail.com> wrote:
> Do you have the PHP script that picks out the URL Values (sender, text,
> recieverph, smscid... etc) sent in?
> Once you have that then you can use the normal INSERT query to save your
> messages.
>
>
>
>
> Best Regards,
> *Bendon Murgor *: Systems Engineer/IT Systems Auditor.
> *Phone*: Kenya:  +254-720529868
> Twitter: @bendonmurgor <http://twitter.com/bendonmurgor>
>
>
> On Mon, Sep 1, 2014 at 5:12 PM, MOSES KARIUKI <kariuk...@gmail.com> wrote:
>
>> Hi All,
>>
>> I have this configuration in my kannel:
>>
>> group = smsbox
>> bearerbox-host = localhost
>> sendsms-port = 13013
>> global-sender = 13013
>> smsbox-id = box1
>> log-file = "/var/log/kannel/smsbox.log"
>> log-level = 0
>>
>> group = sendsms-user
>> username =
>> password =
>>
>> group = sms-service
>> keyword = default
>> #get-url = "
>> http://localhost/kannel/receivesms.php?sender=%p&text=%a&receiverph=%P&smscid=%i
>> "
>> get-url = "
>> http://localhost/kannel/receivesms.php?sender=%p&text=%a&receiverph=%P&smscid=%i&coding=2&charset=ASCII&foreignid=%F
>> "
>> accept-x-kannel-headers = true
>> concatenation = true
>> catch-all = true
>> max-messages = 3
>>
>> I also have an OpenSMPPBox installed with this config:
>>
>> group = opensmppbox
>> opensmppbox-id = clsuu
>> opensmppbox-port = 2785
>> bearerbox-host = 127.0.0.1
>> bearerbox-port = 13001
>> our-system-id = clsuu
>> smpp-logins = /etc/kannel/smpplogins.txt
>> use-systemid-as-smsboxid = true
>> route-to-smsc = clcstsmpp
>> log-file = /var/log/kannel/smppbox.log
>>
>> Someone please tell me why my messages are not being saved in the
>> database. Bearer box log show no error.
>>
>> I have tested the get-url url and it is working.
>>
>> Please assist.
>>
>> MT
>>
>

Reply via email to