[SR-Users] Clarification on is_known_dlg()

David kamailio.org at spam.lublink.net
Tue Nov 20 14:27:04 CET 2012


Hello,

I am running Kamailio 3.2.3. I am storing dialogs in the database table 
dialog.


loadmodule "dialog.so"
modparam("dialog", "dlg_flag", 4)
modparam("dialog", "db_mode", 1)


later I have :

if ( is_known_dlg() )
{

}


I would like a clarification on how the matching is done. Given that I 
have realtime table setup, does that mean that dialogs that are in the 
table will return true when I call is_known_dlg() ?

Does that mean that if the dialog is NOT in the table, is_known_dlg will 
return false ?

Thanks for the clarification !

David



More information about the sr-users mailing list