Re: [SR-Users] How long time does a push take?

2018-04-28 Thread Alex Balashov
When it comes to speed at which things happen, nothing in wireless is 
impressive when we are talking about telephony. :) 

On April 28, 2018 6:24:36 PM EDT, Kjeld Flarup  
wrote:
>Hello
>
>I have a question to those of You who uses push via Google or Apple to 
>initiate calls.
>
>How long time does it usually take, before the phone gets the push and 
>wakes up?
>
>Our experience is, that it can take from 2 to 10 seconds, and that not 
>impressing when we are talking about telephony.
>
>
>-- 
> Med Liberalistiske Hilsner --
>  Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
>Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
>  Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk
>
>
>___
>Kamailio (SER) - Users Mailing List
>sr-users@lists.kamailio.org
>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


-- Alex

--
Sent via mobile, please forgive typos and brevity. 

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] How long time does a push take?

2018-04-28 Thread Kjeld Flarup

Hello

I have a question to those of You who uses push via Google or Apple to 
initiate calls.


How long time does it usually take, before the phone gets the push and 
wakes up?


Our experience is, that it can take from 2 to 10 seconds, and that not 
impressing when we are talking about telephony.



--
 Med Liberalistiske Hilsner --
   Civilingeniør, Kjeld Flarup - Mit sind er mere åbent end min tegnebog
   Sofienlundvej 6B, 7560 Hjerm, Tlf: 40 29 41 49
   Den ikke akademiske hjemmeside for liberalismen - www.liberalismen.dk


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User agent is registered but location table doesn't contain its contact.

2018-04-28 Thread Konstantin Polyakov
Hello Henning,

Thank you for answer.

There are no errors related to db queries in the log. According to mongodb log 
remove  requests from cleanup are made by Kamailio with instable interval from 
1 min (as it is configured) to several minutes. Per documentation the same 
interval is used to clean and to sync contacts. It looks like that there is 
some race condition when contact is removed by cleanup process but new contact 
is not synced yet. So periodically we have no registrations in db and we cannot 
make a call to those phones.

So as result we have switched to db_mode=3 now.


>Суббота, 28 апреля 2018, 17:54 +03:00 от Henning Westerholt 
>:
>
>Am Freitag, 27. April 2018, 11:11:34 CEST schrieb Konstantin Polyakov:
>> We have met a new issue. 
>> 
>> We use  db_mode=1 ( Write-Through scheme. All changes to usrloc are
>> immediately reflected in database too ).  timer_interval has default value
>> 60 seconds.
>> 
>> Problem description.
>> Some user agent is registered successfully in Kamailio registrar.
>> Its contact exists inside internal cache (ul.lookup command shows it).
>> But location table doesn't contain this contact. After several minutes (5-6
>> min) it becomes available in the location table too. The issue is
>> reproduced periodically. Most of the time everything is ok.
>> 
>> Is that expected behavior when internal cache is used?
>> Did somebody else observed such situation?
>> Is there some workaround? 
> 
>Hello Konstantin,
> 
>sounds indeed strange. You probably already checked this, do you see any 
>errors in the Kamailio log related to the database? Do you use some kind of 
>replication or proxy infrastructure that may delay DB operations?
> 
>Best regards,
> 
>Henning

С уважением,
Константин Поляков.
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] User agent is registered but location table doesn't contain its contact.

2018-04-28 Thread Henning Westerholt
Am Freitag, 27. April 2018, 11:11:34 CEST schrieb Konstantin Polyakov:
> We have met a new issue. 
> 
> We use  db_mode=1 ( Write-Through scheme. All changes to usrloc are
> immediately reflected in database too ).  timer_interval has default value
> 60 seconds.
> 
> Problem description.
> Some user agent is registered successfully in Kamailio registrar.
> Its contact exists inside internal cache (ul.lookup command shows it).
> But location table doesn't contain this contact. After several minutes (5-6
> min) it becomes available in the location table too. The issue is
> reproduced periodically. Most of the time everything is ok.
> 
> Is that expected behavior when internal cache is used?
> Did somebody else observed such situation?
> Is there some workaround? 

Hello Konstantin,

sounds indeed strange. You probably already checked this, do you see any errors 
in the 
Kamailio log related to the database? Do you use some kind of replication or 
proxy 
infrastructure that may delay DB operations?

Best regards,

Henning
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users