Hello.
I think that you have not used the right parameters.Try this in your case.
http://127.0.0.1:9000/cgi-bin/sendsms?username=foobar&password=foobar&to=xxx&text=test
that i use to send message
> default-smsc = cosmote_SMSC
>
concatenation = true
> max-messages = 10
> #dlr-url =
"http://192.168.1.118/acronsms/acronsms.php?dlr=%d
> #user-deny-ip =
"*.*.*.*"
> #user-allow-ip = "127.0.0.1,192.168.1.*"
On Wed, 11 Jan
m browser.
>
> "Authorization failed for sendsms" the user name and the password are
> right, the ip for that request is ok, but still i get this error, any ideea
> way?
>
> this is the kannel info:
>
> "Kannel bearerbox version `1.4.3'. Build `May 19 2011 22:12
hi, i get this error message when i try to send a message from
browser.
"Authorization failed for sendsms" the user name and the
password are right, the ip for that request is ok, but still i get this
error, any ideea way?
this is the kannel info:
"Kannel bearerbox
version
Hi,
Try escaping the '&' and '?' in your curl arguments. They are meaningful to
the shell.
BR,
Nikos
- Original Message -
From: "Danny Francisco"
To: "Nikos Balkanas"
Cc:
Sent: Saturday, March 06, 2010 3:13 AM
Subject: Re: Authorizati
> GET /cgi-bin/sendsms?username=sms HTTP/1.1
> User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2
OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10
> Host: localhost:14000
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Server: Kannel/1.4.3
< Date: Sat, 06 Mar 2010 01:10:57 GMT
<
quot;Nikos Balkanas"
To: "Francis Vidal" ;
Sent: Tuesday, December 16, 2008 7:44 AM
Subject: Re: Authorization failed for XML post
Dear Francis,
I see a possible problem by Curl. In POST it sends Content-Length: 17,
when the length of the xml file > 50. This normally would l
l"
To:
Sent: Tuesday, December 16, 2008 6:20 AM
Subject: Re: Authorization failed for XML post
/var/log/kannel/smsbox.log:
2008-12-16 12:14:49 [4507] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2008-12-16 12:14:49 [4507] [2] DEBUG: HTTP: Created HTTPClient area
0x97aefd0.
20
CURL output from your (succesful)
> GET operation? Seems like your URL is not what kannel expects.
>
> BR,
> Nikos
> - Original Message - From: "Francis Vidal"
> To: "seikath"
> Cc:
> Sent: Monday, December 15, 2008 11:21 AM
> Subject: Re: Au
curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g
>>> zlib/1.2.3.3 libidn/1.8
>>> Host: localhost:8081
>>> Accept: */*
>>> Content-type: text/xml
>>> Content-Length: 17
>>>
>> < HTTP/1.1 403 Forbidden
>> < Server: Kannel/1.4.1
: "Francis Vidal"
To: "seikath"
Cc:
Sent: Monday, December 15, 2008 11:21 AM
Subject: Re: Authorization failed for XML post
Okay, tried adding "?username=user&password=pass" to the URL:
curl -v -H "Content-type: text/xm
localhost:8081/cgi-bin/sendsms?u
so great if you could get a tcpdump of the packets sent and
> received.
>
> BR,
> Nikos
>
> ----- Original Message - From: "Francis Vidal"
> To:
> Sent: Monday, December 15, 2008 9:30 AM
> Subject: Authorization failed for XML post
>
>
>> Hi al
ext/xml
> Content-Length: 17
>
< HTTP/1.1 403 Forbidden
< Server: Kannel/1.4.1
< Content-Length: 32
< Content-type: text/html
< Pragma: no-cache
< Cache-Control: no-cache
<
* Connection #0 to host localhost left intact
* Closing connection #0
Authorization failed for sendsms
s
>
> Here's the content of test.xml:
>
>
>
>
> the_number
> Another+test+sms
>
>
>
> user
> user
>
>
>
>
> I can send SMS using the normal HTTP method (i.e.
> http://localhost:8081/cgi
&' and 'smsbox &' and check the
logs generated.
It would be also great if you could get a tcpdump of the packets sent and
received.
BR,
Nikos
- Original Message -
From: "Francis Vidal"
To:
Sent: Monday, December 15, 2008 9:30 AM
Subject: Authorizati
n send SMS using the normal HTTP method (i.e.
http://localhost:8081/cgi-bin/sendsms?user=user&pass=user&;...) but
when I use the CURL method above, I get "Authorization failed". What
am I doing wrong?
PM
To: Kent Walker
Cc: users@kannel.org
Subject: Re: Authorization Failed When Sending Text SMS
Hi Kent,
Connection between the bearerbox and the SMSC is ok.
> group = sendsms-user
> username = kent
> password = testpass
add:
user-allow-ip = "*.*.*.*"
max-messages = 4
us
Hi Kent,
Connection between the bearerbox and the SMSC is ok.
> group = sendsms-user
> username = kent
> password = testpass
add:
user-allow-ip = "*.*.*.*"
max-messages = 4
user-allow-ip sets the IPs which are allowed to issue sendsms requests
max-message defines globally how many messages can
enced weird problem:
After adding another kannel gw user: (group = sendsms-user block) I
got
the "Authorization failed for sendsms" error for one of the
existing/old users.
I created the user by coping and editing the configuration from one
of
the existing users:
group = sendsm
On Mon, Jun 23, 2008 at 5:05 PM, Jovan Kostovski <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've experienced weird problem:
> After adding another kannel gw user: (group = sendsms-user block) I got
> the "Authorization failed for sendsms" error for one of the existin
Hi,
I've experienced weird problem:
After adding another kannel gw user: (group = sendsms-user block) I got
the "Authorization failed for sendsms" error for one of the existing/old users.
I created the user by coping and editing the configuration from one of
the existing users:
,
Rodrigo.
On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
fine and thank you for your guide line but the same code is not
functioning for me.
Insteadof xxx in system-id I use the user id what I got from
clickatell
and corresponding username and my pwd I used.
sti
Hi,
fine and thank you for your guide line but the same code is not
functioning for me.
Insteadof xxx in system-id I use the user id what I got from clickatell
and corresponding username and my pwd I used.
still I got an error as
"Authorization failed for sendsms"
how did
/http/sendmsg?";
While I try to use the browser with
http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=mobileno&text=hello
but I have got an error as "Authorization failed for sendsms"
What it means how can I o
/http/sendmsg?";
While I try to use the browser with
http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=mobileno&text=hello
but I have got an error as "Authorization failed for sendsms"
What it means how can I o
my asp script message is not
send and I get Authorization failed for sendsms
If I use the constructed link to send the sms from the
browser it works ok.
Why is this happening. Previwsly I had installed kannel
on freebsd and had the same problem.
Anybody has used asp to send sms with
No, your includes are fine.
So in order to use the sendsms interface you must use one of the
sendsms-user defined on the smsbox.conf file.
regards
Leonardo
2006/3/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi Rene,
>
> Thanks. My kannel.conf uses 'Includes':
>
>
Hi Rene,
Thanks. My kannel.conf uses 'Includes':
include = /etc/kannel/modems.conf
include = /etc/kannel/smsbox.conf
include = /etc/kannel/wapbox.conf
My 'group = sendsms-user' is actually in /etc/kannel/smsbox.conf, are
you saying that it *must* be in kannel.con
8.100.20:13013/cgi-bin/sendsms?username=kannel&password=123456&to=04xxxx&text=Test%20SMS
>
> with an error returned of:
>
> Authorization failed for sendsms
>
> I did a systems status check via cmd:
>
> http://192.168.100.20:13000/status?password=123456
&g
=Test%20SMS
with an error returned of:
Authorization failed for sendsms
I did a systems status check via cmd:
http://192.168.100.20:13000/status?password=123456
with output of:
Kannel bearerbox version `1.4.0'. Build `Mar 4 2006 11:40:31', compiler
`3.3.5-20050130 (Gentoo 3.3.5.20050130
rror returned of:
Authorization failed for sendsms
I did a systems status check via cmd:
http://192.168.100.20:13000/status?password=123456
with output of:
Kannel bearerbox version `1.4.0'. Build `Mar 4 2006 11:40:31', compiler
`3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.2005013
Do not use +, escape it (%2b). + means space.
Aarno
On 11.6.2005, at 19.30, Allan hank wrote:
Hi,
I've beeb using kannel for about 3 months but i wanted to add mysql
dlr-db and all became a mess instead.
1) I can longer send sms, the error "Authorization failed for sendsms"
Hi,
I've beeb using kannel for about 3 months but i wanted to add mysql
dlr-db and all became a mess instead.
1) I can longer send sms, the error "Authorization failed for sendsms"
when i issue the command below
/usr/local/bin/lynx -dump
http://localhost:13013/cgi-bin/send
Hello I installed Kannel 1.4.0 on a Fedora core 2 and I always get this from
smsbox:
[3] INFO: smsbox: Got HTTP request from <*.*.*.*>
2005-03-25 13:03:08 [31336] [3] DEBUG: Status: 403 Answer:
2005-03-25 13:03:08 [31336] [3] DEBUG: HTTP: Resetting HTTPClient for
`*.*.*.*'.
2005-03-25 13:04:0
/jpeg, image/pjpeg, application/msword, application/vnd.ms-excel,
> */*\r\n";
>
> objHTTP.RequestHeaders += "Accept-Language: en-us\r\n";
>
> objHTTP.RequestHeaders += "Content-Length: " +
> objHTTP.RequestBody.length + "\r\n";
>
> objHTTP.Requ
ER whereas your GET request gets originated from a HTTP
CLIENT. Thus effectively these cannot be same app.
Although
the response was sent to my phone, I
see the “Authorization failed for sendsms”
answer of Kannel in my smsbox
log.
The response which you get on phone obviously is n
the response was sent to my phone, I
see the “Authorization failed for sendsms”
answer of Kannel in my smsbox
log.
MT
(from my web app to phone)
My web app sends a message to the phone via Kannel using a HTTP GET request (using the same function below)
to sendsms of Kannel.
I
Hello! When doing a GET HTTP request from my application to sendsms of Kannel, I receive an “Authorization
Failed for sendsms” reply from Kannel. Where should I set the authentication/authorization
details? I’ve already placed the username and password variables in my sendsms-user group as
38 matches
Mail list logo