On Fri, 2011-01-21 at 13:37, Bob O'Souna wrote:
> Apologies - let me make the question crystal clear.
> 
> I am receiving SMS's from another SMSC. The task is to receive these SMS's and
> forward them after changing the parameters of the SMS (i.e. append some
> commercial text, change the sender info etc)
> 
> At the moment, I receive the SMS and retransmit without a problem. I now need 
> to
> capture the SMS and change the relevant parameters (hence the script) and then
> relay the SMS.

I presume that you have Kannel connected to two SMSCs. Right?

Set the get-url in sms-service group over which you receive sms to
point to your script.
Do whatever you want with the received sms and then send it to the
Kannel via (default, or change it if you prefer) sendsms-url
(/cgi-bin/sendsms).

You can add smsc id parameter to /cgi-bin/sendsms if you want to send
sms over preferred SMSC.

> My script sends the SMS in the format I require (when run from the command
> line). I now need Kannel to run that script instead of sending out the SMS via
> the default Kannel sendsms
> 
> Can you help?

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

Reply via email to