You changed the sensms-url to be /sendsms, not /cgi-bin/sendsms...
Hope it helps.
--
Alex Guerrieri
On 12/01/2011, at 21:01, Daniel Camacho dcama...@promocionesacertadas.com
wrote:
Hi there,
I have never used the http interface for sending sms, since I have
installed the mysql box.
From my browser Im trying to send some sms, with no Sent result, just the
Unknown request.
The log(0) says:
2011-01-12 14:21:07 [3261] [2] DEBUG: HTTP: Creating HTTPClient for
`10.27.1.226'.
2011-01-12 14:21:07 [3261] [2] DEBUG: HTTP: Created HTTPClient area
0x2c000b60.
2011-01-12 14:21:07 [3261] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 10.27.1.226
2011-01-12 14:21:07 [3261] [3] DEBUG: Status: 404 Answer: Unknown request.
2011-01-12 14:21:07 [3261] [3] DEBUG: HTTP: Resetting HTTPClient for
`10.27.1.226'.
I have various sms-service groups defined on the smsbox within two or
three smsc.
This is the url I am trying to use:
http://kannelServer:13200/cgi-bin/sendsms?from=senderNumberto=cellphonesmsc=xxuser=userX=pass=passXtext=hello
as my configuration is:
***
smsbox.conf
***
group = smsbox
smsbox-id = smsbox1
bearerbox-host = localhost
bearerbox-port = 13003
sendsms-url= /sendsms
sendsms-port= 13200
reply-requestfailed = Send HELP
reply-emptymessage = Not Available
reply-couldnotfetch = Not Available
log-file = /var/log/kannel/smsbox.log
log-level = 0
mo-recode = 1
http-request-retry = 100
http-queue-delay = 18
group= sendsms-user
username= userX
password= passX
concatenation = true
max-messages = 8
group = sms-service
name = whatever
keyword-regex = .*
allowed-receiver-prefix = sender
accepted-smsc = xx
catch-all = true
get-url = http://webApps:/somepage.php?src=%pmsg=%a
omit-empty = true
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
**
kannel.conf
**
group = core
admin-port = 13000
#wapbox-port = 13002
smsbox-port = 13001
admin-password = bar
wdp-interface-name = *
log-file = /var/log/kannel/core.log
log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1;10.27.1.*,130.7.*.*,10.10.10.*
access-log = /var/log/kannel/access.log
unified-prefix = +502,00502,0;+,00
dlr-storage = internal
store-type = file
store-file = /var/log/kannel/sms-log3.log
#store-dump-freq = 1
#smsbox-max-pending = 1000
sms-outgoing-queue-limit = -1
sms-incoming-queue-limit = 1
sms-resend-freq = 15
sms-resend-retry = -1
sms-combine-concatenated-mo = 1
sms-combine-concatenated-mo-timeout = 150
group = mysql-connection
id = mydlr
host = localhost
username = kannel
password = kannel321
database = sms
max-connections = 10
group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
include = /etc/kannel/modems.conf
include = /etc/kannel/smsbox.conf
group = smsc
smsc-id= xx
smsc = smpp
host=a.b.c.d
port = 5000
smsc-username= usr1
smsc-password= pass1
system-type= type1
source-addr-ton= 0
source-addr-npi= 0
dest-addr-ton= 0
dest-addr-npi= 0
throughput = 10
wait-ack-expire = 1
transceiver-mode= false
source-addr-autodetect = true
receive-port = 0
msg-id-type = 0x01
allowed-smsc-id = xx
denied-smsc-id = yy;zz
alt-charset = ISO-8859-1
enquire-link-interval = 10
reconnect-delay = 60
validityperiod = 1000
group = smsc
smsc-id= yy
smsc = smpp
host=a.b.c.d
port = 5001
smsc-username= usr2
smsc-password= pass2
system-type= type2
source-addr-ton= 0
source-addr-npi= 0
dest-addr-ton= 0
dest-addr-npi= 0
throughput = 10
wait-ack-expire = 1
transceiver-mode= false
source-addr-autodetect = true
receive-port = 0
msg-id-type = 0x01
allowed-smsc-id = yy
denied-smsc-id = xx;zz
alt-charset = ISO-8859-1
enquire-link-interval = 10
reconnect-delay = 60
validityperiod = 1000
**
am I missing something?
--
Gerdaniels
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.