<div dir="ltr">Hi Andrew,<div><br></div><div>Thanks for your feedback.<br><div><br></div><div>I didn't use FQDN in my server. I've created domain with 192.168.x.x IP and users are created under that domain. Peering is with 172.18.79.20. So I will try to create empty domain with 172.18.79.20 as well since peering server is sending with that IP. I don't know how NGCP will translate this to actual domain to terminate the call to users. </div><div><br></div><div>Best regards,</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 12, 2019 at 2:09 PM Andrew Pogrebennyk <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I guess this could be due to domain mismatch.<br>
If the subscribers are created inside domain with your FQDN for<br>
instance, and peering server sends request with IP 172.18.79.20 in<br>
R-URI, you need to create this 172.18.79.20 as domain (empty one)..<br>
Normally this is enough and then calls should pass.<br>
But that's a tricky one if you don't assign E.164 to a subscriber,<br>
because then both username and R-URI domain should match the ones<br>
assigned to subscriber.<br>
<br>
Unfortunately we don't allow changing domain part with a rewrite-rule so<br>
the best thing to do is to assign DDI to a subscriber as alias. If you<br>
can't do that, you may change domain in proxy.cfg logic but if you don't<br>
know where to put you are out of luck :/<br>
<br>
Other alternative is to enable setting ignore_auth_realm: yes in<br>
config.yml, but there must be a good reason to do so, because when you<br>
do it and you have two domains IP and FQDN then subscribers are able to<br>
register wherever they like, and this is an irreversible change (setting<br>
ignore_auth_realm back to no will break the system).<br>
<br>
BR,<br>
Andrew<br>
<br>
On 9/12/19 6:28 AM, Yazar Lwin wrote:<br>
> Hi All,<br>
> <br>
> One update info:<br>
> I didn't configure E.164 for user. We just simply use number as SIP<br>
> user name. Peering is FPBX server and it just simply route user prefix<br>
> to our NGCP. Inbound peer rule is passed. Here is the log.<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Call from<br>
> PSTN - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Inbound<br>
> peering group '1' matched, looking up peer host -<br>
> R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Selected<br>
> peering host id '1' as inbound peer - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a><br>
> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Dialog<br>
> managed,<br>
> lua_dlg_callid:[<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>>] -<br>
> R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>:<br>
> User-Provided CLI '308000' taken from From-User -<br>
> R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>:<br>
> Network-Provided CLI '308000' taken from From-User -<br>
> R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Setting<br>
> '<a href="mailto:308000@172.18.79.15" target="_blank">308000@172.18.79.15</a> <mailto:<a href="mailto:308000@172.18.79.15" target="_blank">308000@172.18.79.15</a>>' as initiating<br>
> user-provided CLI - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a><br>
> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Setting<br>
> '<a href="mailto:308000@172.18.79.15" target="_blank">308000@172.18.79.15</a> <mailto:<a href="mailto:308000@172.18.79.15" target="_blank">308000@172.18.79.15</a>>' as initiating<br>
> network-provided CLI - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a><br>
> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Callee is<br>
> not local - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Call to<br>
> unknown user - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a><br>
> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Setting<br>
> acc source-leg for uuid '0':<br>
> '0|308000|172.18.79.105|308000|||0|||0|call|127.0.0.1|1568107703.880597||||||||||||308000||||'<br>
> - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Setting<br>
> acc destination-leg for uuid '0':<br>
> '0|||0|502491|0|502491|172.18.79.20|502491|172.18.79.20|0||||||||||||502491|||'<br>
> - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> Sep 10 15:58:23 office-voice-gw proxy[2978]: NOTICE: <script>: Sending<br>
> reply S=404 Not Found fs='<a href="http://127.0.0.1:5062" rel="noreferrer" target="_blank">127.0.0.1:5062</a> <<a href="http://127.0.0.1:5062" rel="noreferrer" target="_blank">http://127.0.0.1:5062</a>>'<br>
> du='<a href="http://127.0.0.1:5060" rel="noreferrer" target="_blank">127.0.0.1:5060</a> <<a href="http://127.0.0.1:5060" rel="noreferrer" target="_blank">http://127.0.0.1:5060</a>>' - R=<a href="mailto:sip%3A502491@172.18.79.20" target="_blank">sip:502491@172.18.79.20</a><br>
> <mailto:<a href="mailto:sip%253A502491@172.18.79.20" target="_blank">sip%3A502491@172.18.79.20</a>><br>
> ID=<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a><br>
> <<a href="http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060" rel="noreferrer" target="_blank">http://1dbc5525128e3293633935166acbb3b3@172.18.79.15:5060</a>><br>
> UA='FPBX-14.0.13.4(16.5.0)'<br>
> <br>
> On Thu, Sep 12, 2019 at 10:29 AM Yazar Lwin <<a href="mailto:yarzarlwin@gmail.com" target="_blank">yarzarlwin@gmail.com</a><br>
> <mailto:<a href="mailto:yarzarlwin@gmail.com" target="_blank">yarzarlwin@gmail.com</a>>> wrote:<br>
> <br>
> Hi All,<br>
> <br>
> I've looked for the resolution in older posts but didn't find yet.<br>
> We set up NGCP (CE version mr 7.2.1) with 2 IP. <br>
> One is used for domain IP and another is used for peering. User<br>
> registered to domain IP. User can't reach to peering IP as it's for<br>
> external communications with peer server.<br>
> When incoming call hit to NGCP with peering IP, NGCP can't treat the<br>
> subscriber as local user since registered domain IP is different<br>
> with peering IP. <br>
> Please help how to resolve this in NGCP. I believe it's been solved<br>
> somewhere in forum but I can't find it.<br>
> <br>
> Best regards,<br>
> Yazar<br>
> <br>
> <br>
> <br>
> <br>
> <br>
<br>
</blockquote></div>