<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi All,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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. </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you have experience of this or if it’s a nonstarter I’d love to know.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and keep safe and well, Mark</p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>