Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread Alejandro Guerrieri
Ok, step 1 is to configure config.inc: Make sure that SENDSMS_PORT there matches what's on your kannel.conf (13013?). Also, try hitting from your browser: http://localhost:13013/cgi-bin/sendsms You should get something like "Authorization failed for sendsms" If not, recheck your configuratio

Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread prashant singh
hi alejandro my purpose is to send sms through a webpage like sendsms.php, i have installed apache on my rhel-4 and copied sendsms.php and all other file(.inc etc) in its html dir(in /var/www/html) now whenever i open it hrough my browser(by typing address - http://localhost)the page gets open but

Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread Alejandro Guerrieri
You're mixing things. If you need to use that PHP, deploy it on your WEB SERVER, and hit it from where the WEB SERVER could get it (usually port 80). That script would then contact sendsms on port 13013. If you wish to hit sendsms directly, then hit port 13013, but you won't hit the PHP on that p

Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread prashant singh
i m using the php script provided in the examples of gw folder. here i am not clear with the exact syntax for sendsms.php to be provided in smsbox group. it would be highly appreciated if some one could throw light on sending sms though a web browser using example sendsms.php script. Regards, Pras

Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread Alejandro Guerrieri
http://localhost:13013/sendsms.php ?? Kannel doesn't have any php code inside, where did you get that URL from? Assuming you've configured Kannel from the examples, "sendsms" interface is on port 13013: http://localhost:13013/cgi-bin/sendsms So, to send MT you need to hit that URL from your _ap

Re: unable to send sms through kannel using sendsms.php

2010-06-24 Thread Nikos Balkanas
Hi, This is to be expected. You configure 13014 as your sendsms port, yet you are trying to push to 13013. Comment out sendsms-url and try pushing to /cgi-bin/sendsms BR, Nikos - Original Message - From: prashant singh To: users@kannel.org Sent: Thursday, June 24, 2010 10:55 AM Subj