exec in sms-service doesn't execute

2009-03-17 Thread Albin Korbar
Hy!

Using the 1.4.1 version on Debian. I have a working configuration of Kannel 
which sends and recives messages correctly. But then, if I configure 
sms-service, and set it to exec a command on receiving a message it doesn't 
execute the command and the log doesn't show anything about the exec command (I 
have also tried to increase log level and still nothing). Exec command is only 
trying to touch a file in /tmp folder. The config is here:

group = core
admin-port = 13000
admin-password = adm_password
status-password = password
admin-allow-ip = 127.0.0.1;x.x.x.*
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/kannel_access.log
smsbox-port = 13001
wapbox-port = 13002
unified-prefix = 00,+
wdp-interface-name = *

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
log-file = /var/log/kannel/smsbox.log
global-sender = number_of_my_smsbox
smsbox-id = my_id
access-log = /var/log/kannel/access.log

group = sms-service
keyword = default
max-messages = 0
concatenation = true
catch-all = yes
exec = /usr/bin/touch /tmp/some_file
#white-list = http://localhost/whitelist;

I have even tried to uncomment the white-list line and still nothing.

Access log says it received the message, and other logs saying only about 
sending and receiving the messages, nothing about the exec command.

I have even tried with get-url and post-url instead of exec command, still no 
success.

If anyone could help me to overcome this issue I would be very thankful.


  

Re: exec in sms-service doesn't execute

2009-03-17 Thread Cezary Siwek

Hello 

You have to define smsbox-route group for icoming messages routing

regards