Again
The call to call kannel should be like:
http://127.0.0.1:13013/cgi-bin/sendsms?username=user&password=pass&to=12345678&text=test
Therefore you need to adjust your script to do so.
Test the above url in your browser or with lynx changing the phone number.
Do a smaller/less complex script
url variable created in sendsms.php is passed to the function written
below. i didnt get the way to pass values collected from sendsms.php to
kannel, please guide me in configuring kannel.conf, what variables under
which group are to be added.
thanx in advance.
*function http_send($URL,$port)
{
What does your sendsms.php sends to kannel?
It --your sendsms.php-- should send something like:
http://127.0.0.1:13013/cgi-bin/sendsms?username=user&password=pass&to=12345678&text=test
sendsms.php is in your local webserver and kannel has nothing to do with it.
Also, white listing allows for IP
i am calling the url http://localhost/sendsms.php from firefox the error i
am getting back is :
*Sending the SMS Text message hello to the phone **97xx.
\n*
*Server: Kannel/1.4.3 *
*Date: Wed, 30 Jun 2010 10:45:12 GMT *
*Pragma: no-cache *
*Cache-Control: no-cache *
*Authorization fai
your url call should be someting like:
http://127.0.0.1:13013/cgi-bin/sendsms?username=user&password=pass&to=12345678&text=test
where username/password are the ones defined in SENDSMS-USER config.
Post your full url.
have you tried to call your url from a browser or with lynx? What did
you get
i am using the yourpassword defined in sendsms group as well as in
config.inc file(please see the kannel.conf file in the mail).
i am creating the url in sendsms.php as $url where i am passing the
username,password,phone no,text.
if possible please elaborate the process of calling kannel that u
men
Which "yourpassword" are you usring to send the message to kannel? You
must use sendsms-user password when calling kannel.
Regards
Alvaro
|-|
EnvĂe y Reciba Datos y mensajes de Texto (
whenever i try 2 send sms thru my script sendsms.php ,i m getting
authentication failed error. Exact trace is as follows:
Sending the SMS Text message *hello* to the phone *97xx*.
\n
Server: Kannel/1.4.3
Date: Wed, 30 Jun 2010 10:45:12 GMT
Pragma: no-cache
Cache-Control: no-cache
Auth