<div dir="ltr"><div>Andrew,</div><div>You might be right. Unfortunately not sure how to create empty domain. I set only IP addresses from provider but same result. Please see below sample of my log</div><div>Thank for your help</div><div><br></div><div>My public IP: 45.156.145.45</div><div>I am calling from :41654442958</div><div>Provider IP: 189.28.112.214</div><div>DID :340416400629</div><div><br></div><div><br></div><div>---------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: New request on proxy - M=INVITE R=sip:45.156.145.45:5060;transport=udp F=<a href="mailto:sip%3A41654442958@189.28.112.214">sip:41654442958@189.28.112.214</a> T=<a href="http://sip:340416400629@189.28.112.214:5060">sip:340416400629@189.28.112.214:5060</a> IP=<a href="http://189.28.112.214:5060">189.28.112.214:5060</a> (<a href="http://124.0.0.1:5">124.0.0.1:5</a></div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Call from PSTN - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Dialog managed, lua_dlg_callid:[<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a>] - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: User-Provided CLI '41654442958' taken from From-User - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Network-Provided CLI '41654442958' taken from From-User - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Setting '<a href="mailto:41654442958@189.28.112.214">41654442958@189.28.112.214</a>' as initiating user-provided CLI - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Setting '<a href="mailto:41654442958@189.28.112.214">41654442958@189.28.112.214</a>' as initiating network-provided CLI - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Callee is not local - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Call to unknown user - R=sip:45.156.145.45:5060;transport=udp ID=<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a> UA='Asterisk'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Setting acc source-leg for uuid '0': '0|41654442958|189.28.112.214|41654442958|||0|||0|call|189.28.112.214|1481824156.941801||||||||||||' - R=sip:45.156.145.45:5060;transport=ud</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: Setting acc destination-leg for uuid '0': '0|||0|<null>|0|<null>|45.156.145.45||45.156.145.45|0||||||||||||' - R=sip:45.156.145.45:5060;transport=udp ID=4495409040c869504081f16a</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2444]: NOTICE: <script>: [dialog:failed] decreased redis counters lua_dlg_callid:[<a href="mailto:4495409040c869504081f16a4882d446@189.28.112.214">4495409040c869504081f16a4882d446@189.28.112.214</a>] - R=<a href="mailto:sip%3Ayou@kamailio.org">sip:you@kamailio.org</a> ID=124 UA='<null>'</div><div>Dec 15 14:42:46 ip-142-41-24-55 proxy[2448]: NOTICE: <script>: New request on proxy - M=ACK R=sip:45.156.145.45:5060;transport=udp F=<a href="mailto:sip%3A41654442958@189.28.112.214">sip:41654442958@189.28.112.214</a> T=<a href="http://sip:340416400629@189.28.112.214:5060">sip:340416400629@189.28.112.214:5060</a> IP=<a href="http://189.28.112.214:5060">189.28.112.214:5060</a> (<a href="http://124.0.0.1:5060">124.0.0.1:5060</a></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 15, 2016 at 11:29 AM Andrew Pogrebennyk <<a href="mailto:apogrebennyk@sipwise.com">apogrebennyk@sipwise.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="gmail_msg">
let me guess - you have created your subscribers in a domain with FQDN,<br class="gmail_msg">
but the provider is delivering the calls to DID with an IP address in<br class="gmail_msg">
R-URI. Is that correct?<br class="gmail_msg">
<br class="gmail_msg">
In that case you should create an empty domain with an IP address for<br class="gmail_msg">
system to be able to lookup the correct subscriber based on DID. Then<br class="gmail_msg">
"unauth_inbound_calls=yes" would be not needed any more.<br class="gmail_msg">
<br class="gmail_msg">
Otherwise, please provide us with kamailio-proxy.log so we can avoid the<br class="gmail_msg">
guesswork component.<br class="gmail_msg">
<br class="gmail_msg">
Regards<br class="gmail_msg">
Andrew<br class="gmail_msg">
<br class="gmail_msg">
On 10/12/16 13:55, xylo p wrote:<br class="gmail_msg">
> Can you please help me.<br class="gmail_msg">
> I can only receive inbound calls when "unauth_inbound_calls=yes" and<br class="gmail_msg">
> on provider side I have setting send calls : "DID@<myIP>"<br class="gmail_msg">
><br class="gmail_msg">
> For same DID number I can not receive calls using my peer registration.<br class="gmail_msg">
> However I can see I am registered at provider asterisk box. and I can<br class="gmail_msg">
> see call is coming from Provider IP , but subscriber is not found<br class="gmail_msg">
><br class="gmail_msg">
> Number format is the same in both scenarios<br class="gmail_msg">
><br class="gmail_msg">
> Thanks<br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div></div>