<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word;line-break:after-white-space"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">it’s not working as I expected. Peer is registered to subscriber but I get No PSTN Available response:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: New request on proxy - M=INVITE R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone F=<a href="mailto:sip%3A0118118673@d.voceblu.it">sip:0118118673@d.voceblu.it</a> T=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone IP=<a href="http://172.31.255.180:2051">172.31.255.180:2051</a> (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>) ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: IMS marker, s:ims_role='<null>', s:caller_uuid='f091ad4c-c8a2-42e4-8fae-bcba92b63fb2', s:callee_uuid='<null>', s:acc_caller_user='0118118673', s:acc_caller_domain='<a href="http://d.voceblu.it">d.voceblu.it</a>'  - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Dialog managed, lua_dlg_callid:[3c4632c304e2-1vukdq0ac0ql@snom190] - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: User-Provided CLI '0118118673' taken from From-User - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: User-provided CLI '0118118673' rejected, using network-provided CLI '390118118673' - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting '<a href="mailto:390118118673@d.voceblu.it">390118118673@d.voceblu.it</a>' as initiating user-provided CLI - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting '<a href="mailto:390118118673@d.voceblu.it">390118118673@d.voceblu.it</a>' as initiating network-provided CLI - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Callee is not local - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Call to SIP Peering - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Load gws matching calling part '<a href="mailto:sip%3A390118118673@d.voceblu.it">sip:390118118673@d.voceblu.it</a>' and called user '3355416588' and called part '<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone' - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: ERROR: <script>: No PSTN gateways available - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Nov 30 11:15:35 centrale proxy[4776]: NOTICE: <script>: Setting acc source-leg for uuid 'f091ad4c-c8a2-42e4-8fae-bcba92b63fb2': 'f091ad4c-c8a2-42e4-8fae-bcba92b63fb2|0118118673|<a href="http://d.voceblu.it">d.voceblu.it</a>|390118118673||Associazione Vivere|170|||0|call|172.31.255.180|1512036935.048282||||||||||||390118118673|' - R=<a href="mailto:sip%3A3355416588@d.voceblu.it">sip:3355416588@d.voceblu.it</a>;user=phone ID=3c4632c304e2-1vukdq0ac0ql@snom190 UA='snom190/3.60x'</span></p></div> <br> <div id="bloop_sign_1512037023868377088" class="bloop_sign"></div> If I check with the ‘call routing tool’ I get this:<div><br></div><div><div>found caller subscriber '<a href="mailto:0118118673@d.voceblu.it">0118118673@d.voceblu.it</a>' with id 178</div><div>call from 0118118673 using subscriber '<a href="mailto:0118118673@d.voceblu.it">0118118673@d.voceblu.it</a>' id 178</div><div>no caller subscriber/domain rewrite rule sets were found</div><div>caller 0118118673 is rejected as it does not match subscriber's 'allowed_clis'</div><div>'allowed_cli' reject policy is 'override_by_usernpn', taken from 'cli' 390118118673</div><div>callee subscriber lookup based on 3355416588</div><div>no callee subscriber found, performing peer lookup with caller uri <a href="mailto:390118118673@d.voceblu.it">390118118673@d.voceblu.it</a> and callee uri 3355416588 and callee 3355416588</div><div>no callee peers found   </div><div><br></div><div>The CLI is in the allowed_cli list of the subscriber</div><div><br></div><div>what am I doing wrong?</div><div><br></div><div>thanks</div><div><br></div><div>stefano</div><div><br></div><p class="airmail_on">Il giorno
 30 novembre 2017 @ 09:22:50, Daniel Grotti (<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>) ha scritto:</p> <blockquote type="cite" class="clean_bq"><span><div text="#000000" bgcolor="#FFFFFF"><div></div><div>



<title></title>


<tt>Hi Stefano,<br>
you can just route calls to the other peer via subscribers aliases,
indeed.<br>
<br>
<br></tt>
<pre class="moz-signature" cols="72">--  
Daniel Grotti
Head of Customer Support
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)130120332
Email: <a class="moz-txt-link-abbreviated" href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>
Website: <a class="moz-txt-link-freetext" href="https://www.sipwise.com">https://www.sipwise.com</a>
</pre>
<div class="moz-cite-prefix">On 11/29/2017 09:58 PM, stefanormc
wrote:<br></div>
<blockquote type="cite" cite="mid:CAHTRqyVhgQzBSzWnBLdHzwqmX5Q0L_3+bi_E_171ESzzpxOE1Q@mail.gmail.com">

<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Hi all, thanks for the support. </div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Trial is working, tomorrow I’ll check in production. I don’t think
you have to setup 2 peers but I think you have to set all aliases
subscriber side to route calls correctly.</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
I’m using <a href="https://centrale03.avanzati.it:1443/statistics/versions" style="color:rgb(192,222,179);outline:0px;font-family:"Open Sans",arial,sans-serif;font-size:12px;font-variant-ligatures:normal;background-color:rgb(73,119,52)">mr5.4.1<br></a></div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">Please
note that on this version peer_auth only works manually as
described on documentation</div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
<br></div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
Thanks</div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
<br></div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
Ciao</div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
<br></div>
<div id="bloop_sign_1511988657300451072" class="bloop_sign">
Stefano </div>
<br>
<p class="airmail_on">On 29 November 2017 at 21:49:53, Jon Bonilla
(Manwe) (<a href="mailto:manwe@sipdoc.net">manwe@sipdoc.net</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div><span>El Wed, 29 Nov 2017 20:09:06 +0000<br>
Barry Flanagan <<a href="mailto:barry@flanagan.ie">barry@flanagan.ie</a>> escribió:<br>
<br>
<br>
> ><br>
> ><br>
> I think you would also need to do the reverse as well, so both
SPCE have a<br>
> peer to the other for outbound, and a subscriber for the
inbound. Peers and<br>
> Subscribers would need to use authentication as mentioned
above, so that<br>
> they don't get mixed up.<br>
><br>
> Alternatively, I think you can set allow_peer_relay to "yes"
in<br>
> /etc/ngcp-config/config.yml which would allow a call to come
in from one<br>
> peer and get sent out to another peer (based on routing
rules), although<br>
> this only would work if you did not need to bill, as
peer-to-peer does not<br>
> get billed.<br>
><br>
><br>
<br>
If you set another system as peer and subscriber when an incoming
call comes it<br>
will be detected as peer and won't be authenticated. No need for
authenticate<br>
the peer, right?<br>
<br>
Maybe it could work, yes. You would send via subscriber with
permanent contact<br>
and it would be detected as incoming form peer in the other side.
No need for<br>
enable_peer_relay in that case.<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br></span></div>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Spce-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a>
<a class="moz-txt-link-freetext" href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a>
</pre></blockquote>
<br>


_______________________________________________<br>Spce-user mailing list<br><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br><a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a><br></div></div></span></blockquote></div></body></html>