2014-06-07 22:26 GMT+04:00 Ayubu Lulesu <alul...@gmail.com>:

> Dear friends, i have been struggling without success to send sms to users
> phone from my system. some people said that i have to grant permission to
> user kannel to access the file. My problem is:
> 1. I dont know how to give the permission to that user (kannel)
> 2. i dont know which file i should give permission to kannel.
>
> when i try to send the sms i get the following error, please help me :'(
>
> *Warning:
> file(http://localhost:13013/cgi-bin/sendsms?username=ayubu&password=lulesu&to=0769261977&text=secret+number+is+roll
> <http://localhost:13013/cgi-bin/sendsms?username=ayubu&password=lulesu&to=0769261977&text=secret+number+is+roll>):
> failed to open stream: Connection refused
> in/var/www/html/booking-final/mail.php on line 3*
>

It clearly says *Connection Refused*.

Which means kannel's web-server is not working properly, check logs of
bearerbox.log and smsbox.log, try starting bearerbox/smsbox from console to
see output if you're not sure where to look for logs.

Reply via email to