Hello,

On 18.02.19 14:36, Nicolas Breuer wrote:

Hello the world,

 

Can you give more informations about the new features of Dialog in K5.2 ?

 

 

https://www.kamailio.org/w/kamailio-v5-2-0-release-notes/

 

·  ability to load dialog records from database on demand

·  ability to load dialog records from database if they are not yet in memory cache

 

Indeed in 5.1, restart Kamailio doesn’t load the dialog data from database but we can see

https://www.kamailio.org/docs/modules/5.1.x/modules/dialog.html#dialog.p.db_skip_load

there is a function : Set db_skip_load to 1, to skip the loading of dialog data from the database.

 

If on restart, the dialogs are not loaded,  what this “db skip load “ does ?

the new features are related to the two functions listed at:

  * https://www.kamailio.org/docs/modules/stable/modules/dialog.html#dialog.f.dlg_db_load_callid

Dialog records are loaded in memory from database at startup, and that happens in 5.1 as well. Maybe you have different configuration options, but the new feature is not about start up, but for runtime behaviour by using functions in routing blocks.

Cheers,
Daniel

 

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com