Resending a patch I've submitted a couple of weeks ago and went unnoticed. I'm using it already and have not problems so far.

It's very useful to add parameters to http-smsc and to pass meta-data to existing applications without having to modify the code.

Any objections?

Regards,
--
Alejandro Guerrieri
[email protected]



Begin forwarded message:

From: Alejandro Guerrieri <[email protected]>
Date: 30 de mayo de 2009 00:01:40 GMT+02:00
To: Kannel Devel <[email protected]>
Subject: [PATCH] url translation for meta-data parameters

This patch allows you to use individual meta-data components in your http-smsc's send-url and service's get-url definitions. This allows, for example, to add extra dynamic parameters on a generic smsc-http by passing the parameters as meta-data and referencing them on the url with the following syntax:

%#group#parameter#

Where "group" is the meta-data group (smpp or whatever you use if you do it from the sendsms interface) and "parameter" is the meta- data field you want to replace.

This should also work for get-url on services definitions, though I didn't really tested it yet (volunteers welcomed ;) ).

More information and the patch here:

http://www.blogalex.com/archives/182

Regards,
--
Alejandro Guerrieri
[email protected]




Reply via email to