It's "...&smsc=my-smsc-id" not "....&smsc-id=..."

Regards
Falko

Tony Kirkham schrieb:
> I am trying to shut down an SMSC but, all I get is a "Denied" page.
> I am sending
> http://localhost:13000/stop-smsc?password=my-admin-password&smsc-id=my-smsc-id
> The port 13000 is set as the admin-port in the core group.
>
> Must I have an smsc-password defined in the smsc group in the config file or
> can the admin-password defined in the core group perform this operation?
>
> Also, I have tried to simply shutdown kannel with:
>   http://localhost:13000/shutdown?password=my-admin-password
> and I get the same "Denied" response.  Why is this?
>
> I know I am using the correct password because "
> http://localhost:13000/status?password=my-admin-password " does work and
> show me the current status of the system.
>
> Your help is greatly appreciated.
> Thanks,
>
> -Tony
>
> Here are the relevant, I think, portions of my config file:
> group = core
> admin-port = 13000
> smsbox-port = 13001
> admin-password = my-admin-password
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1"
> # wapbox-port = 13002
> # wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
>
> # group = wapbox
> # bearerbox-host = localhost
> # log-file = "/var/log/kannel/wapbox.log"
>
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> global-sender = 12345678
> log-level = 0
> log-file = "/var/log/kannel/smsbox.log"
>
> group = smsc
> smsc = at
> smsc-id = vzn00
> allowed-smsc-id = vzn00;vzn01
> modemtype = wavecom
> speed = 19200
> device = telnet
> host = 192.168.1.120
> port = 5000
> keepalive = 240
> #smsc-username = admin
> #smsc-password = admin
> my-number = 4357572980
> connect-allow-ip = "127.0.0.1;192.168.1.*"
> log-file = "/var/log/kannel/vzn00.log"
> log-level = 0
>
>   

Reply via email to