<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Hello,</div><div dir="ltr"><br></div><div dir="ltr">This is very simple.</div><div dir="ltr">You have just to add the CC in the rewrite rule you apply as inbound rewrite rule for caller. There you have to do a regex to remove the zero and change it to the CC.</div><div dir="ltr"><br></div><div dir="ltr">But normally, you get from a peering partner a full e164 number... like 491234 or +491234</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">Am 10.11.2020 um 17:09 schrieb Diego Ramos <diego.ramos1@gmail.com>:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Hi, <br><br>I have a peering and I am receiving an external call with destination caller_ac + number, how do I rewrite it to caller_cc + caller_ac + number so that it finds the subscriber's alias?<br><br></div>Diego Ramos<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 10 de nov. de 2020 às 05:05, Marco Capetta <<a href="mailto:mcapetta@sipwise.com">mcapetta@sipwise.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
Hi Diego,<br>
<br>
There is not incoming routing table in NGCP.<br>
The inbound Rewriting Rules associated to the Peer are applied to
the incoming caller and callee number.<br>
Then the resulting callee number is looked through the subscriber's
primary number or subscriber's alias numbers.<br>
<br>
Regards<br>
Marco<br>
<br>
<br>
<div>On 09/11/20 22:38, Diego Ramos wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I already configured the inbound peering rules but I don't
know how to direct the call to the subscriber. How do I direct
a call that arrives through peering to a caller?</div>
<div><br>
</div>
Diego Ramos<br>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<br>
</div>
-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote></div>
</div></blockquote></body></html>