<div class="gmail_extra">Hi,<br><br> Sorry for posting again - but I've found a problem. Issue is with documentation not platform it self.<br><br>AVP that has stored emergency prefix/suffix is called $avp(s:caller_emergency_prefix) not $avp(s:emergency_prefix) so chapter 4.5.5 should be adjusted from:<br>
<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">"In order to normalize the emergency number to a valid format accepted by the peer, you need to assign an <span class=""><em>Outbound Rewrite
Rule For Callee</em></span>, which strips off the <code class="">emergency_</code> prefix. You can also use the variables <code class="">${emergency_cli}</code>,
<code class="">${emergency_prefix}</code> and <code class="">${emergency_suffix}</code> as well as <code class="">${caller_ac}</code> and <code class="">${caller_cc}</code>, which are all configurable per
subscriber to rewrite the number into a valid format."<br></blockquote><br>to<br><br><blockquote>In order to normalize the emergency number to a valid format accepted by the peer, you need to assign an <span class=""><em>Outbound Rewrite
Rule For Callee</em></span>, which strips off the <code class="">emergency_</code> prefix. You can also use the variables <code class="">${<b><span style="color:rgb(255,0,0)">caller_</span></b>emergency_cli}</code>,
<code class="">${<span style="color:rgb(255,0,0)"><b>caller_</b></span>emergency_prefix}</code> and <code class="">${<span style="color:rgb(255,0,0)"><b>caller_</b></span>emergency_suffix}</code> as well as <code class="">${caller_ac}</code> and <code class="">${caller_cc}</code>, which are all configurable per
subscriber to rewrite the number into a valid format.<br></blockquote><br>and in next lines, dialplan from<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<ul class="" type="disc"><li class="">
Match Pattern: <code class="">^emergency_(.+)$</code>
</li><li class="">
Replacement Pattern: <code class="">${emergency_prefix}${caller_ac}\1</code>
</li><li class="">
Description: <code class="">Normalize Emergency Numbers</code>
</li></ul></blockquote><br>to<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><ul class="" type="disc"><li class="">
Match Pattern: <code class="">^emergency_(.+)$</code>
</li><li class="">
Replacement Pattern: <code class="">${caller_emergency_prefix}${caller_ac}\1</code>
</li><li class="">
Description: <code class="">Normalize Emergency Numbers</code>
</li></ul></blockquote><br>Regards,<br>Marcin<br><br><div class="gmail_quote">2012/11/28 Marcin Kowalczyk <span dir="ltr"><<a href="mailto:marcin.kowalczyk@architekci.it" target="_blank">marcin.kowalczyk@architekci.it</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">caller_ac</blockquote></div><br></div>