<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">You're right Marc.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Seems like the help text, left of that option, needs to be corrected. It currently states:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">"<span style="color:rgb(51,51,51);font-family:'Open Sans',arial,sans-serif;font-size:12px;line-height:20.4px">Force calls from this user/domain/peer to be routed to PSTN <b>even if the callee is local</b>. Use with caution, as this setting may increase your costs! When enabling this option in a peer, make sure you trust it, as the NGCP will become an open relay for it!"</span></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><font face="tahoma, sans-serif"><br></font></div><div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">---</font></div><div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">Cumprimentos / Best regards</font></div><div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">Marco<br></font></div><div><span style="background-color:rgb(255,255,255)"><font face="tahoma, sans-serif"><div>---</div><br></font></span></div></div></div></div>
<br><div class="gmail_quote">On Thu, Oct 15, 2015 at 8:24 PM, Marc Storck <span dir="ltr"><<a href="mailto:mstorck@voipgate.com" target="_blank">mstorck@voipgate.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div style="word-wrap:break-word">
Go check the (undocumented) options available and try the “If callee is not local” option.
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Marc<br>
<br>
<div>
<blockquote type="cite"><span class="">
<div>On 15 Oct 2015, at 20:26, Marco Teixeira <<a href="mailto:admin@marcoteixeira.com" target="_blank">admin@marcoteixeira.com</a>> wrote:</div>
<br>
</span><div>
<div dir="ltr"><span class="">
<div style="font-family:tahoma,sans-serif;font-size:small">
Hi, </div>
<div style="font-family:tahoma,sans-serif;font-size:small">
<br>
</div>
<div style="font-family:tahoma,sans-serif;font-size:small">
I was going to say that my self, but that option completely ignores if there is or not a local user with that number.</div>
<div style="font-family:tahoma,sans-serif;font-size:small">
It will always force out to peer. Read the description carefully "...even if the callee is local..."</div>
<div style="font-family:tahoma,sans-serif;font-size:small">
<br>
</div>
</span><div class="gmail_extra"><span class=""><br clear="all">
<div>
<div>
<div dir="ltr">
<div><font face="tahoma, sans-serif"><br>
</font></div>
<div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">---</font></div>
<div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">Cumprimentos / Best regards</font></div>
<div><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)">Marc
<div style="font-family:tahoma,sans-serif;font-size:small;display:inline">
​o​</div>
<br>
</font></div>
<div><span style="background-color:rgb(255,255,255)"><font face="tahoma, sans-serif"><br>
</font></span></div>
</div>
</div>
</div>
<br>
</span><div class="gmail_quote"><span class="">On Thu, Oct 15, 2015 at 7:01 PM, Marc Storck <span dir="ltr">
<<a href="mailto:mstorck@voipgate.com" target="_blank">mstorck@voipgate.com</a>></span> wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><span class="">Good evening,
<div><br>
</div>
<div>I think you can now enable this feature for certain peering servers only. See screenshot.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
</span><div>Marc<span><Peer Host Preferences.png></span><div><div class="h5"><br>
<br>
<div>
<blockquote type="cite">
<div>
<div>
<div>On 15 Oct 2015, at 19:46, John Murray <<a href="mailto:john.murray@skyracktelecom.com" target="_blank">john.murray@skyracktelecom.com</a>> wrote:</div>
<br>
</div>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>Hi Mac,<br>
<br>
Set <br>
<br>
allow_peer_relay: 'yes'<br>
<br>
in<br>
<br>
/etc/ngcp-config/config.yml<br>
<br>
and do<br>
<br>
ngcpcfg apply<br>
<br>
Be sure you know the risks with this however.<br>
<br>
Regards<br>
<br>
John<br>
<br>
<br>
<div>On 15/10/2015 17:49, Maciej Bylica wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div><span style="font-size:12.8px">Hello,</span><br>
</div>
<div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">I'm having troubles to configure Peer1 to Peer2 type of routing.</span></div>
<div><span style="font-size:12.8px">Apart of heaving some UAs registered i just wanted to achieve following config:</span></div>
<div><span style="font-size:12.8px">- if Peer1 sends call request it should be first checked
</span><span style="font-size:12.8px">against NGCP configured subscribers and its numbers then rerouted over Peer2 (if requested number is not found).</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div><span style="font-size:12.8px">Could you please give me a hint how to do this?</span></div>
<div><span style="font-size:12.8px"><br>
</span></div>
<div>Regards</div>
</div>
<div>Mac</div>
</div>
<br>
<fieldset></fieldset> <br>
<pre>_______________________________________________
Spce-user mailing list
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</div>
</div>
<div>-- <br>
<br>
<div>
<div>
<div><font face="Calibri">--------------------------------------------------------------------------------------------------------
</font><br>
<font face="Calibri"><b><font color="#0157ac">John Murray
</font></b></font><br>
<font color="#0157ac" face="Calibri">Director, Skyrack Telecom </font><br>
<br>
<font face="Calibri">T: +441133971100 </font><br>
<font face="Calibri">X: +441133204503 </font><br>
<font face="Calibri">M: +447979755161 </font><br>
<font face="Calibri">E: <a href="mailto:john.murray@skyracktelecom.com" target="_blank">
john.murray@skyracktelecom.com</a> </font><br>
<font face="Calibri">W: <a href="http://www.skyracktelecom.com/" target="_blank">
www.skyracktelecom.com</a> </font><br>
<br>
<font face="Calibri"><a href="https://twitter.com/intent/follow?region=follow_link&screen_name=SkyrackSupport&tw_p=followbutton&variant=2.0" target="_blank">Follow us on Twitter</a> for real time status updates
</font><br>
<font face="Calibri">--------------------------------------------------------------------------------------------------------
</font><br>
</div>
</div>
<span><skyrack_telecom_signature_graphic_2015.jpg></span><span><br>
<br>
<hr size="2" width="100%">
The information contained in this electronic mail may be confidential or legally privileged. It is for the intended recipient(s) only. Should you receive this message in error, please notify the sender by replying to this mail. Unless expressly stated, opinions
 in this message are those of the individual sender and not of Skyrack Technology Ltd. Unauthorised use of the contents is strictly prohibited. While all care has been taken, Skyrack Technology Ltd is not responsible for the integrity of the contents of this
 electronic mail and any attachments included within.<br>
<hr size="2" width="100%">
</span></div>
</div>
</div>
<span>_______________________________________________<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/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
</span></div>
</blockquote>
</div>
<br>
</div></div></div>
</div><div><div class="h5">
<br>
_______________________________________________<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/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br>
</div></div></blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>

</blockquote></div><br></div></div>