Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Alex Balashov
PS. In a NAT'd world, thousands of devices with low re-registration intervals are legion. Getting the database out of that business can literally be a tectonic game-changer in terms of the underlying economics in a service provider environment. It's incredibly wasteful and mostly pointless. On

Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Alex Balashov
Another big advantage of DMQ is that it's transported over SIP using a custom request method (KDMQ). This sets up an opportunity to add additional infrastructure to deal with routing and managing those requests intermediately if needed in a large-scale environment. DMQ is a great thing, and we

Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Charles Chance
Hello Joel, +1 to everything Alex has said. Using DMQ simplifies/flattens the stack and allows for a truly decoupled cluster with fewer points of failure. In production we use DMQ for htable, usrloc, dialog and presence, where previously we were using MySQL with Percona - now, performance is

Re: [SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Alex Balashov
Hello Joel, Our experience with using DMQ for dialog and usrloc replication has been very positive, and we recommend it wholeheartedly over the crusty database sync-based methods. The primary appeal comes from the fact that the replication is done at a higher level, so there is no need to

[SR-Users] DMQ and/or Database for dialogs, registrations, etc..

2018-04-27 Thread Joel Serrano
Hi all, Just wanted to know what your opinions were on using DMQ modules over database for things like dialog replication, registrations, etc... Is DMQ the "new way to go"? I know that there lots of ways of doing things with each having pros/cons... But I was wondering... What does the

Re: [SR-Users] SIP Registartion Sharing between two kamailio

2018-04-27 Thread Julien Chavanton
Hi Suresh, you are using lookup() and it is not finding the contact ? ... lookup("location"); switch ($retcode) { case -1: case -3: sl_send_reply("404", "Not Found"); exit; case -2: sl_send_reply("405", "Not Found"); exit; }; ... In this case you

[SR-Users] SIP Registartion Sharing between two kamailio

2018-04-27 Thread Suresh Talasaniya
Hello All, I have two Kamailio servers and shared the database between two Kamailio. Below are my usrloc configuration in kamailio.cfg # - usrloc params - modparam("usrloc", "db_url", DBURL) *modparam("usrloc", "db_mode", 3)* modparam("usrloc", "use_domain", MULTIDOMAIN)

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

2018-04-27 Thread Konstantin Polyakov
Hello All, Hello Daniel! 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.

Re: [SR-Users] Send UPDATE to inform changes in SDP

2018-04-27 Thread Carsten Bock
Hi, likely, the best solution is here to use RTPEngine, so the IP/Port stays identical for each request... i've tested it with various VoLTE phones and various PCRF's. Thanks, Carsten -- Carsten Bock CEO (Geschäftsführer) ng-voice GmbH Millerntorplatz 1 20359 Hamburg / Germany

Re: [SR-Users] Sending Notify With Custom Event Header

2018-04-27 Thread Alex Balashov
Your best bet is probably $uac_req from the uac module. On April 26, 2018 7:31:51 PM EDT, strain17 wrote: >Hi All, >I'm trying to send a custom NOTIFY message to a list of users that are >registered with Kamailio. The procedure would be invoked via HTTP >(jsonrpc/xmlrpc over

[SR-Users] Sending Notify With Custom Event Header

2018-04-27 Thread strain17
Hi All, I'm trying to send a custom NOTIFY message to a list of users that are registered with Kamailio. The procedure would be invoked via HTTP (jsonrpc/xmlrpc over HTTP).  1. Should I be looking at the t_uac_start/t_uac_dlg MI commands to accomplish this? Is this the best way to do it if the