<div dir="ltr">On 24 April 2013 16:33, Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El Wed, 24 Apr 2013 16:20:04 +0100<br>
Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>> escribió:<br>
<br>
> ><br>
<div class="im">> I need to route different subscribers within the same domain to different<br>
> peers in this case.<br>
><br>
> My steering digits are 3872<br>
><br>
> If I set an inbound caller rewrite to prepend these steering digits, they<br>
> change the user-provided CLI. This user-provided CLI is then checked<br>
> against the allowed CLI and it is rejected, and replaced with the<br>
> network-provided CLI. This removes the steering digits. See the logs below.<br>
><br>
> The only way I can see of getting around that is to set the<br>
> network-provided CLI to include my steering digits and then discard them<br>
> before the call is terminated.<br>
<br>
</div>I see when we call to function to load the pstn gws:<br>
<br>
$var(lcr_match_content) = "sip:" + $avp(s:first_caller_cli_userprov) + "@" +<br>
$avp(s:caller_domain_netprov);<br>
<br>
if(!load_gws("1", $rU, $var(lcr_match_content)))<br>
<br>
<br>
Maybe you would prefer to match the subscriber against the NPN (network<br>
provided number) instead of the UPN.<br>
<br></blockquote><div><br></div><div style>I'll look at that. </div><div style><br></div><div style>Thanks.</div><div style><br></div><div style>-Barry</div><div style><br></div></div></div></div>