<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you Marco!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Enabling "<span style="font-family: monospace; font-size: medium; display: inline !important; background-color: rgb(255, 255, 255);" class="ContentPasted1">proxy.allow_peer_relay" works perfectly!</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you so much!</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Marcos.</div>
</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>De:</b> Marco Capetta via Spce-user <spce-user@lists.sipwise.com><br>
<b>Enviado:</b> jueves, 11 de mayo de 2023 4:15<br>
<b>Para:</b> spce-user@lists.sipwise.com <spce-user@lists.sipwise.com><br>
<b>Asunto:</b> Re: [Spce-user] re-route inbound call</font>
<div> </div>
</div>
<div><font face="monospace" class="elementToProof">Hi Marcos,<br>
<br>
to connect an IPBX system you can also use a simple subscriber, you don't need a peer.<br>
You can just assign the root number to the subscriber, then the system will locate the subscriber by longest matching prefix.<br>
Please refer to this section of the handbook: <a href="https://www.sipwise.com/doc/mr11.3.1/spce/ce/mr11.3.1/advancedconfiguration/advancedconfiguration.html#inbound-calls-routing" data-auth="NotApplicable" class="x_moz-txt-link-freetext">
https://www.sipwise.com/doc/mr11.3.1/spce/ce/mr11.3.1/advancedconfiguration/advancedconfiguration.html#inbound-calls-routing</a><br>
<br>
In case you really need to configure the IPBX as a peer, then consider to activate 'kamailio.proxy.allow_peer_relay' param in the config.yml file. This will allow to relay calls coming from peers to other peers.<br>
<br>
Thanks<br>
Marco<br>
<br>
</font><br>
<div class="x_moz-cite-prefix">On 10/05/23 16:44, Marcos Pablo Pytel via Spce-user wrote:<br>
</div>
<blockquote type="cite">
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hello!</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I have 2 sip peerings, one to the PSTN and other to IPBX.</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
How I can configure the sipwise to when I receive a call from PSTN, it re route the call to other peer (IPBX)</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Call from PSTN - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Inbound peering group '1' matched, looking up peer host - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Selected peering host id '1' as inbound peer - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Dialog managed, lua_dlg_callid:[<a href="mailto:1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">1833815809@x.x.x.x</a>]
- R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: User-Provided CLI '2972427000' taken from From-User - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Network-Provided CLI '2972427000' taken from From-User - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Setting '<a href="mailto:2972427000@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">2972427000@x.x.x.x</a>' as initiating user-provided
CLI - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Setting '<a href="mailto:2972427000@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">2972427000@x.x.x.x</a>' as initiating network-provided
CLI - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Rewriting called party '428355' to '542972428355' - R=<a href="sip:428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Callee is not local - R=<a href="sip:542972428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:542972428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="x_ContentPasted1">May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Call to unknown user - R=<a href="sip:542972428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:542972428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Setting acc source-leg for uuid '0': '0|2972427000|x.x.x.x|2972427000|||0|||0|call|127.0.0.1|1683727207.068303||||||||||||2972427000||||' - R=<a href="sip:542972428355@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-freetext">sip:542972428355@x.x.x.x</a>
<a href="mailto:ID=1833815809@x.x.x.x" data-auth="NotApplicable" class="x_moz-txt-link-abbreviated" data-loopstyle="link">
ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Thank you in advance!</div>
<br>
<fieldset class="x_moz-mime-attachment-header"></fieldset> </blockquote>
<br>
<div class="x_moz-signature">-- <br>
<div style="line-height: 16px; margin: 6px 0px; padding: 8px; border-top: 1px dotted rgb(174, 177, 166); border-bottom: 1px dotted rgb(174, 177, 166); font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; font-size: 11px; color: rgb(85, 85, 85);">
<strong style="text-transform: uppercase; font-size: 10px; color: rgb(51, 51, 51);">Marco Capetta
</strong><br>
R&D Manager
<p style="margin-top: 0px; margin-bottom: 0px;"><a href="http://www.sipwise.com" data-auth="NotApplicable" style="border-bottom: 1px dotted rgb(170, 170, 170); text-decoration: none !important; color: rgb(0, 136, 204);" data-loopstyle="link">Sipwise GmbH |
an ALE Company </a><br>
c/o ALE International – Austria Branch<br>
Saturn Tower<br>
Leonard-Bernstein-Straße 10<br>
1220 Vienna, Austria </p>
<p style="margin-top: 0px; margin-bottom: 0px;">Email: <a href="mailto:mcapetta@sipwise.com" data-auth="NotApplicable" class="x_moz-txt-link-freetext" style="border-bottom: 1px dotted rgb(170, 170, 170); text-decoration: none !important; color: rgb(0, 136, 204);" data-loopstyle="link">
mcapetta@sipwise.com </a><br>
Website: <a href="http://www.sipwise.com" data-auth="NotApplicable" style="border-bottom: 1px dotted rgb(170, 170, 170); text-decoration: none !important; color: rgb(0, 136, 204);" data-loopstyle="link">
www.sipwise.com </a></p>
</div>
</div>
</div>
</body>
</html>