<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: medium; "><table class="Bs nH iY" cellpadding="0" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); width: 1448px; position: relative; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-collapse: collapse; background-position: initial initial; background-repeat: initial initial; ">
<tbody><tr><td class="Bu" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; vertical-align: top; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
<div class="nH if" style="padding-top: 0px; padding-right: 0px; padding-bottom: 1px; padding-left: 0px; "><div class="nH"><div class="nH hx" style="color: rgb(0, 0, 0); padding-top: 4px; padding-right: 8px; padding-bottom: 4px; padding-left: 8px; ">
<div class="nH"><div class="h7 hn ie nH oy8Mbf j23lnd aW" style="padding-bottom: 0px; clear: both; "><div class="Bk" style="position: relative; margin-bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(239, 239, 239); border-right-color: rgb(239, 239, 239); border-left-color: rgb(239, 239, 239); border-bottom-color: rgb(226, 226, 226); border-top-width: 0px; border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; width: 1199px; ">
<div class="G3 G2" style="padding-top: 3px; background-color: rgb(255, 255, 255); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: rgb(188, 188, 188); border-bottom-color: rgb(188, 188, 188); border-left-color: rgb(188, 188, 188); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(188, 188, 188); border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; ">
<div><div id=":1ck"><div class="HprMsc mNrSre"><div class="gs"><div id=":1cs" class="ii gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; position: relative; z-index: 2; ">
<div id=":1cv"><div>I would like <span style="font-family: monospace; white-space: pre-wrap; font-size: medium; ">to add data in each failure block and be able to determine what failure block was triggered by querying sip headers in Asterisk?</span></div>
<div><font face="monospace" size="3"><span style="white-space: pre-wrap; ">Are there any guidelines for using custom sip headers to communicate information to Asterisk .. are custom headers always passed through to and back from the carrier and any intervening sip routing framework? Whats the function call syntax in Asterisk to retrieve a custom header added using </span></font>append_hf(<span style="font-family: monospace; white-space: pre-wrap; font-size: medium; ">"C-hint: XYZ\r\n")?</span></div>
<div><font face="monospace" size="3"><span style="white-space: pre-wrap; "><br></span></font></div><div>Thanks</div></div></div></div></div></div></div></div></div></div></div></div></div></div></td></tr></tbody></table>
</span><br>
<div class="gmail_quote">On Thu, Sep 8, 2011 at 7:47 PM, Ovidiu Sas <span dir="ltr"><<a href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Check out the textops module:<br>
<a href="http://www.opensips.org/html/docs/modules/1.7.x/textops.html#id292953" target="_blank">http://www.opensips.org/html/docs/modules/1.7.x/textops.html#id292953</a><br>
<br>
Regards,<br>
Ovidiu Sas<br>
<div><div></div><div class="h5"><br>
On Thu, Sep 8, 2011 at 5:32 PM, Irfan Baig <<a href="mailto:glasswing09@gmail.com">glasswing09@gmail.com</a>> wrote:<br>
> Hi,<br>
> Is there a way to set a header value that will be available for asterisk to<br>
> read when opensips is used as a router (call completion on the outbound)<br>
> eg: I want to save what carrier I am using to complete the call from a<br>
> failure_route block, so I can use it to track call completions<br>
> Thanks,<br>
> Irfan<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>