[Spce-user] Fwd: subscriber offline
Роман Кубів
tarrok2009 at gmail.com
Mon May 23 12:25:40 EDT 2016
Hi,
my kamailio.location table is empty:
mysql> select * from kamailio.location where username='testuser';
Empty set (0.00 sec)
kamailio-proxy.log when a call to user:
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Call from PSTN -
R=sip:0962823167 at X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060
UA='Asterisk PBX 1.8
.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: User-Provided CLI
'0962823167' taken from From-User - R=sip:0962823167 at X.X.X.X:5060
ID=0f2442ae5b2bc81b2ed385811106365b at Y
.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Network-Provided CLI
'0962823167' taken from From-User - R=sip:0962823167 at X.X.X.X:5060
ID=0f2442ae5b2bc81b2ed385811106365b@
Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting
'0962823167 at Y.Y.Y.Y' as initiating user-provided CLI -
R=sip:0962823167 at X.X.X.X:5060 ID=0f2442ae5b2bc81b2ed3
85811106365b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Setting
'0962823167 at Y.Y.Y.Y' as initiating network-provided CLI -
R=sip:0962823167 at X.X.X.X:5060 ID=0f2442ae5b2bc81b2
ed385811106365b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Rewriting called party
'0962823167' to '2100' - R=sip:0962823167 at X.X.X.X:5060
ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Callee was aliased with
base '2100' - R=sip:testuser at 10.200.10.6:5060
ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060 UA=
'Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Callee is local,
uuid='2434fc2e-5983-48a2-a3d4-3eeec3f2dd58' - R=
sip:testuser at 10.200.10.6:5060 ID=0f2442ae5b2bc81b2ed385811106365
b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Local user offline - R=
sip:testuser at 10.200.10.6:5060 ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060
UA='Asterisk PBX 1.8
.32.2'
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|||||||
||||' - R=sip:testuser at 10.200.10.6:5060
ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
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
58|testuser|10.200.10.6|2100|X.X.X.X|87|||||||||||' - R=
sip:testuser at 10.200.10.6:5060 ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060
UA='Asterisk PBX 1.8.32.2'
May 23 10:34:48 spce proxy[4359]: NOTICE: <script>: New request on proxy -
M=ACK R=sip:0962823167 at X.X.X.X:5060 F=sip:0962823167 at Y.Y.Y.Y
T=sip:0962823167 at X.X.X.X:5060 IP=Y.Y.Y.Y:5060 (127.0.0.1:5060)
ID=0f2442ae5b2bc81b2ed385811106365b at Y.Y.Y.Y:5060 UA='Asterisk PBX 1.8.32.2'
2016-05-23 16:39 GMT+03:00 Daniel Grotti <dgrotti at sipwise.com>:
> Hi,
> please check NGCP side:
>
> mysql > select * from kamailio.location where username='testuser';
>
> Then please provide the kamailio-proxy.log related to the REGISTER and to
> the call to this user.
>
> Thanks,
> Daniel
>
>
>
> On 05/23/2016 03:31 PM, Роман Кубів wrote:
>
>
> Thank you for the quick response.
>
> Yes 10.200.10.0/24 is reachable from 192.168.1.0/24 network:
>
> [root at localhost 4]# ping 10.200.10.6
> PING 10.200.10.6 (10.200.10.6) 56(84) bytes of data.
> 64 bytes from 10.200.10.6: icmp_seq=1 ttl=64 time=0.842 ms
> 64 bytes from 10.200.10.6: icmp_seq=2 ttl=64 time=0.719 ms
> 64 bytes from 10.200.10.6: icmp_seq=3 ttl=64 time=1.75 ms
>
> And peer is online:
> [root at localhost 4]# asterisk -rnx 'sip show peers'
> Name/username Host Dyn
> Forcerport ACL Port Status
> 20external/testuser
> 10.200.10.6 5060 OK (2
> ms)
>
> But registration is not:
> [root at localhost 4]# asterisk -rnx 'sip show registry'
> Host dnsmgr Username Refresh
> State Reg.Time
> 0 SIP registrations.
>
> My registration rule in sip.conf:
> register => testuser at 10.200.10.6:M
> <http://yPassWd1:testuser@10.200.10.6:5060/2100%7E3600>
> yPassWd1:testuser at 10.200.10.6:5060/2100~3600
>
> 2016-05-23 12:09 GMT+03:00 Daniel Grotti < <dgrotti at sipwise.com>
> dgrotti at sipwise.com>:
>
>> Hi,
>> it means that your user is not registered.
>> Check you REGISTRATION, and make sure that the user can really reach and
>> register in the platform.
>> Are you sure that 10.200.10.0/24 is reachable from 192.168.1.0/24
>> network ?
>>
>>
>> Daniel
>>
>>
>>
>> On 05/23/2016 10:41 AM, Роман Кубів wrote:
>>
>> Hello! I have 2 interfaces on my sipwise server: 1 with public IP and
>> other looking in my internal network (10.200.10.0/24). When i try
>> register subscriber in the same network (10.200.10.0/24) all its ok, but
>> when i try register from other network (192.168.1.0/24) and call to
>> subscriber, then i get massage:
>>
>> May 23 10:34:48 spce proxy[4353]: NOTICE: <script>: Local user offline -
>> R= <http://sip:testuser@10.200.10.6:5060>sip:testuser at 10.200.10.6:5060
>> ID=0f2442ae5b2bc81b2ed385811106365b at 194.44.209.149:5060 UA='Asterisk PBX
>> 1.8.32.2
>>
>>
>> _______________________________________________
>> Spce-user mailing listSpce-user at lists.sipwise.comhttps://lists.sipwise.com/listinfo/spce-user
>>
>>
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> https://lists.sipwise.com/listinfo/spce-user
>>
>>
>
>
>
> _______________________________________________
> Spce-user mailing listSpce-user at lists.sipwise.comhttps://lists.sipwise.com/listinfo/spce-user
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20160523/107a52d8/attachment-0001.html>
More information about the Spce-user
mailing list