<div dir="ltr"><div>Hi,<br></div>my kamailio.location table is empty: <br>mysql> select * from kamailio.location where username='testuser';<br>Empty set (0.00 sec)<br><br>kamailio-proxy.log when a call to user:<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Call from PSTN - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8<br>.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: User-Provided CLI '0962823167' taken from From-User - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed385811106365b@Y<br>.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Network-Provided CLI '0962823167' taken from From-User - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed385811106365b@<br>Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting '0962823167@Y.Y.Y.Y' as initiating user-provided CLI - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed3<br>85811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting '0962823167@Y.Y.Y.Y' as initiating network-provided CLI - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2<br>ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Rewriting called party '0962823167' to '2100' - R=sip:0962823167@X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Callee was aliased with base '2100' - R=<a href="http://sip:testuser@10.200.10.6:5060">sip:testuser@10.200.10.6:5060</a> ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA=<br>'Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Callee is local, uuid='2434fc2e-5983-48a2-a3d4-3eeec3f2dd58' - R=<a href="http://sip:testuser@10.200.10.6:5060">sip:testuser@10.200.10.6:5060</a> ID=0f2442ae5b2bc81b2ed385811106365<br>b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Local user offline - R=<a href="http://sip:testuser@10.200.10.6:5060">sip:testuser@10.200.10.6:5060</a> ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8<br>.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting acc source-leg for uuid '0': '0|0962823167|Y.Y.Y.Y|0962823167|||0|||0|call|Y.Y.Y.Y|1463992488.095186|||||||<br>||||' - R=<a href="http://sip:testuser@10.200.10.6:5060">sip:testuser@10.200.10.6:5060</a> ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting acc destination-leg for uuid '2434fc2e-5983-48a2-a3d4-3eeec3f2dd58': '0|||2|0962823167|2434fc2e-5983-48a2-a3d4-3eeec3f2dd<br>58|testuser|10.200.10.6|2100|X.X.X.X|87|||||||||||' - R=<a href="http://sip:testuser@10.200.10.6:5060">sip:testuser@10.200.10.6:5060</a> ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br>May 23 10:34:48 spce proxy[4359]: NOTICE: <script>: New request on proxy - M=ACK R=sip:0962823167@X.X.X.X:5060 F=sip:0962823167@Y.Y.Y.Y T=sip:0962823167@X.X.X.X:5060 IP=Y.Y.Y.Y:5060 (<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>) ID=0f2442ae5b2bc81b2ed385811106365b@Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-23 16:39 GMT+03:00 Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi,<br>
please check NGCP side:<br>
<br>
mysql > select * from kamailio.location where
username='testuser';<br>
<br>
Then please provide the kamailio-proxy.log related to the REGISTER
and to the call to this user.<br>
<br>
Thanks,<br>
Daniel<div><div class="h5"><br>
<br>
<br>
<div>On 05/23/2016 03:31 PM, Роман Кубів
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_quote">
<div dir="ltr"><span lang="en"><span>Thank you for the quick
response.<br>
<br>
Yes </span></span><a href="http://10.200.10.0/24" target="_blank">10.200.10.0/24</a>
is reachable from <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>
network:<br>
<br>
[root@localhost 4]# ping 10.200.10.6<br>
PING 10.200.10.6 (10.200.10.6) 56(84) bytes of data.<br>
64 bytes from <a href="http://10.200.10.6" target="_blank">10.200.10.6</a>:
icmp_seq=1 ttl=64 time=0.842 ms<br>
64 bytes from <a href="http://10.200.10.6" target="_blank">10.200.10.6</a>:
icmp_seq=2 ttl=64 time=0.719 ms<br>
64 bytes from <a href="http://10.200.10.6" target="_blank">10.200.10.6</a>:
icmp_seq=3 ttl=64 time=1.75 ms<br>
<br>
And peer is online:<br>
[root@localhost 4]# asterisk -rnx 'sip show peers'<br>
Name/username
Host Dyn Forcerport ACL
Port Status <br>
20external/testuser
10.200.10.6
5060 OK (2 ms) <br>
<br>
But<span lang="en"><span> registration</span> <span>is</span>
<span>not:<br>
[root@localhost 4]# asterisk -rnx 'sip show registry'<br>
Host dnsmgr
Username Refresh State
Reg.Time <br>
0 SIP registrations.<br>
<br>
My </span></span>registration rule in sip.conf:<br>
register => <a href="mailto:testuser@10.200.10.6:M" target="_blank">testuser@10.200.10.6:M</a><a href="http://yPassWd1:testuser@10.200.10.6:5060/2100%7E3600" target="_blank"></a><a href="mailto:yPassWd1:testuser@10.200.10.6:5060/2100~3600" target="_blank">yPassWd1:testuser@10.200.10.6:5060/2100~3600</a><br>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-05-23 12:09 GMT+03:00
Daniel Grotti <span dir="ltr"><<a href="mailto:dgrotti@sipwise.com" target="_blank"></a><a href="mailto:dgrotti@sipwise.com" target="_blank">dgrotti@sipwise.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> Hi,<br>
it means that your user is not registered.<br>
Check you REGISTRATION, and make sure that the
user can really reach and register in the
platform.<br>
Are you sure that <a href="http://10.200.10.0/24" target="_blank">10.200.10.0/24</a>
is reachable from <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>
network ?<br>
<br>
<br>
Daniel<span><br>
<br>
<br>
<br>
<div>On 05/23/2016 10:41 AM, Роман Кубів wrote:<br>
</div>
</span>
<blockquote type="cite"><span>
<div dir="ltr">Hello! I have 2 interfaces on
my sipwise server: 1 with public IP and
other looking in my internal network (<a href="http://10.200.10.0/24" target="_blank">10.200.10.0/24</a>). When
i try register subscriber in the same
network (<a href="http://10.200.10.0/24" target="_blank">10.200.10.0/24</a>) all
its ok, but when i try register from other
network (<a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>) and
call to subscriber, then i get massage:<br>
<br>
May 23 10:34:48 spce proxy[4353]: NOTICE:
<script>: Local user offline - R=<a href="http://sip:testuser@10.200.10.6:5060" target="_blank"></a><a href="mailto:sip:testuser@10.200.10.6:5060" target="_blank">sip:testuser@10.200.10.6:5060</a>
ID=<a href="http://0f2442ae5b2bc81b2ed385811106365b@194.44.209.149:5060" target="_blank">0f2442ae5b2bc81b2ed385811106365b@194.44.209.149:5060</a>
UA='Asterisk PBX 1.8.32.2</div>
<br>
<fieldset></fieldset>
<br>
</span>
<pre>_______________________________________________
Spce-user mailing list
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Spce-user mailing list
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a>
</pre>
</blockquote>
<br>
</div></div></div>
<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" rel="noreferrer" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div></div></div>