Hi Rory,

should be /cgi-bin/sendsms?.....

not sendsms.cgi ... hence unknown request.

HTH,
Alan

On Thu, 2003-03-27 at 07:49, Rory Campbell-Lange wrote:
> I'm trying to setup smspush.
> 
> I'm getting the following stuff in the log files:
> 
> 2003-03-26 19:29:20 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms.cgi> from 
> <127.0.0.1>
> 2003-03-26 19:29:20 [3] DEBUG: Status: 404 Answer: <Unknown request.>
> 2003-03-26 19:29:20 [3] DEBUG: HTTP: Destroying HTTPClient area 0x80dc868.
> 2003-03-26 19:29:20 [3] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'.
> 2003-03-26 19:29:22 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
> 
> My calling url is:
> http://localhost:13002/cgi-bin/sendsms.cgi?username=xxx&password=xxx&from=80000&to=+447930000000&text=kannel+test
> 
> Http interface response is:
> "Unknown request"
> 
> I'd be grateful for some debugging/config help!
> Thanks a lot
> Rory
> 
> 
> My config file is:
> 
> ########################################################################
> # CORE
> ########################################################################
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = bar
> wdp-interface-name = "*"
> log-file = "/tmp/bearerbox.log"
> log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> access-log = "/tmp/access.log"
> store-file = "/tmp/kannel.store"
> 
> ########################################################################
> # SMSC
> ########################################################################
> group = smsc
> smsc-id = orange
> smsc = smpp
> host = 193.xx.xx.xx
> port = 8000
> receive-port = 8000
> smsc-username = "xxxxxx"
> smsc-password = xxxxxxxx
> system-type = "SMPP"
> 
> ########################################################################
> # SMSBOX 
> ########################################################################
> group = smsbox
> bearerbox-host = localhost
> sendsms-port =  13002
> log-file = "/tmp/smsbox.log"
> log-level = 0
> 
> ########################################################################
> # SMS SERVICE
> ########################################################################
> group = sms-service
> keyword = default
> get-url = 
> "http://localhost/sms/receive.php?all=%a&time=%t&source=%p&receiver=%P&delivery=%d";
> max-messages = 1
>  
> ########################################################################
> # SMS USER
> ########################################################################
> group = sendsms-user
> username  = xxx
> password = xxx
> name = default
> default-sender = 447800000000
-- 
Alan McNatty <[EMAIL PROTECTED]>

Reply via email to