<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">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 class="moz-txt-link-freetext" href="https://www.sipwise.com/doc/mr11.3.1/spce/ce/mr11.3.1/advancedconfiguration/advancedconfiguration.html#inbound-calls-routing">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="moz-cite-prefix">On 10/05/23 16:44, Marcos Pablo Pytel
via Spce-user wrote:<br>
</div>
<blockquote type="cite"
cite="mid:RO2P152MB69045DD81D051E8E8A7AB117B1779@RO2P152MB6904.LAMP152.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello!</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">
I have 2 sip peerings, one to the PSTN and other to IPBX.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
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 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">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof
ContentPasted0 ContentPasted1">
May 10 11:00:07 spce proxy[31695]: NOTICE: <script>: Call
from PSTN - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Inbound peering group '1' matched,
looking up peer host - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Selected peering host id '1' as
inbound peer - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Dialog managed,
lua_dlg_callid:[<a class="moz-txt-link-abbreviated" href="mailto:1833815809@x.x.x.x">1833815809@x.x.x.x</a>] - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: User-Provided CLI '2972427000' taken
from From-User - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Network-Provided CLI '2972427000'
taken from From-User - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Setting '<a class="moz-txt-link-abbreviated" href="mailto:2972427000@x.x.x.x">2972427000@x.x.x.x</a>' as
initiating user-provided CLI - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Setting '<a class="moz-txt-link-abbreviated" href="mailto:2972427000@x.x.x.x">2972427000@x.x.x.x</a>' as
initiating network-provided CLI - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a>
<a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a> UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Rewriting called party '428355' to
'542972428355' - R=<a class="moz-txt-link-freetext" href="sip:428355@x.x.x.x">sip:428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Callee is not local -
R=<a class="moz-txt-link-freetext" href="sip:542972428355@x.x.x.x">sip:542972428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'</div>
<div class="ContentPasted1">May 10 11:00:07 spce proxy[31695]:
NOTICE: <script>: Call to unknown user -
R=<a class="moz-txt-link-freetext" href="sip:542972428355@x.x.x.x">sip:542972428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">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 class="moz-txt-link-freetext" href="sip:542972428355@x.x.x.x">sip:542972428355@x.x.x.x</a> <a class="moz-txt-link-abbreviated" href="mailto:ID=1833815809@x.x.x.x">ID=1833815809@x.x.x.x</a>
UA='Synway/5.3.2.1'<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof
ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof
ContentPasted0">
Thank you in advance!</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong
style="color:#333333; text-transform:uppercase;
font-size:10px;"> Marco Capetta </strong> <br>
R&D Manager
<p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;"> 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> Email: <a href="mailto:mcapetta@sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;" class="moz-txt-link-freetext"> mcapetta@sipwise.com </a>
<br>
Website: <a href="http://www.sipwise.com"
style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;"> www.sipwise.com </a>
</p>
</div>
</div>
</body>
</html>