[SR-Users] Clarification on is_known_dlg()

Alex Balashov abalashov at evaristesys.com
Tue Nov 20 14:30:10 CET 2012


That is indeed right. 

David <kamailio.org at spam.lublink.net> wrote:

>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
>
>_______________________________________________
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>sr-users at lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Sent from my mobile, and thus lacking in the refinement one might expect from a fully-fledged keyboard. 

Alex Balashov - Principal 
Evariste Systems LLC 
235 E Ponce de Leon Ave 
Suite 106 
Decatur, GA 30030 
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list