[SR-Users] Header Manipulation with returned REST data

Mark Lawrence marklawrence at hotmail.co.uk
Tue Jan 19 21:49:28 CET 2021


Hi All,

Sorry for the intrusion and asking directly, but there’s so much information out there that I would spend years looking for the answer myself and spending equal amount of time in a lab playing. I do like the last idea but time is a little short.

I’m thinking of using Kamailio to overcome a few downfalls in the main SBC/PBX commercial product space that I’ve typically deployed and wanted to ask if it is possible to use as a stateful proxy and carry out the following header manipulation type scenario with a bit more dynamassium:

Use the FROM and TO header to create two value pairs that would be sent via a REST request to an external application, which will return two corresponding values to (a) supply a different value to update the original FROM header and (b) a full PAI sting to add on to the outgoing message.

If you have experience of this or if it’s a nonstarter I’d love to know.

There’s so many modules and great stuff that you have in your toy chest it is amazing and kudos to all you developers being so inventive out there: it leaves me to think I’ve been deploying SIP wrong all these years.

Thanks and keep safe and well, Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210119/9b5bd7c9/attachment.htm>


More information about the sr-users mailing list