Hi Abraham, Define only the "exec=" action in your configuration and print the text from within your executable. Regards,
Rodrigo. On 6/13/07, Abraham Teck <[EMAIL PROTECTED]> wrote:
I'm attempting to create a flat file for upstream processing and notify the SMS sender that the text has been received. the sms-service config is as follows: group = sms-service keyword = SUB text = "Thank you for subscribing - your request is being processed" exec = /usr/local/bin/imomgen %q %a In this instance, only the text is sent to the text originator, and the exec command is not executed, 2007-06-13 10:57:35 [5062] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2007-06-13 10:57:35 [5062] [0] INFO: Connected to bearerbox at 127.0.0.1 port 23001. 2007-06-13 10:57:35 [5062] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread) 2007-06-13 10:57:35 [5062] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 5062. 2007-06-13 10:57:35 [5062] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 5062. 2007-06-13 10:57:35 [5062] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 5062. 2007-06-13 10:57:47 [5062] [4] INFO: Starting to service <SUB> from <+5016001358> to <5016102261> 2007-06-13 10:57:47 [5062] [4] DEBUG: formatted text answer: <Thank you for subscribing - your request is being processed> 2007-06-13 10:57:47 [5062] [4] DEBUG: message length 59, sending 1 messages If the text = "Thank you for subscribing - your request is being processed" is removed, then the exec command is executed, but only if the text is removed. 2007-06-13 11:06:48 [5111] [4] INFO: Starting to service <SUB> from <+5016001358> to <5016102261> 2007-06-13 11:06:48 [5111] [4] DEBUG: executing sms-service '/usr/local/bin/imomgen %2B5016001358 SUB' 2007-06-13 11:06:48 [5111] [4] DEBUG: message length 35, sending 1 messages The 1 message refers to the <Empty reply from service provider>. Can anyone help in providing the required configuration to (a) run exec (b) send a customized text ? Is this doable? _________________________________________________________________ Don't miss your chance to WIN $10,000 and other great prizes from Microsoft Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/
