Hi
I am struggling with DMQ and dialog DB storage leading to orphan or
duplicate entries in database and not loading all dialog information
upon restart.
usrloc on the other side, also using local db storage and dmq, works
flawlessly even when restarting one node. All location information is
replicated between the databases via DMQ.
So trying to find what is different.
usrloc module:
modparam("usrloc", "db_url", DBLOCAL)
modparam("usrloc", "db_mode", 2)
modparam("dmq_usrloc", "enable", 1)
modparam("dmq_usrloc", "sync", 1)
dialog module:
modparam("dialog", "db_url", DBLOCAL )
modparam("dialog", "db_mode", 1 )
modparam("dialog", "db_skip_load", 0)
modparam("dialog", "enable_dmq", 1)
via kamcmd dlg.list I see that dialog information is being replicated
between the two nodes. But I can only find the dialog in the local
database of the node which is handling the call.
Is this the expected behavior?
I also just found how to create duplicate entries in the database...
* Run a call on Node A, verify the dialog information is store in the
local database and replicated to node B via DMQ.
* Restart Kamailio on Node A.
There I suspect, node A is restoring Dialog Information via DMQ from
Node B and loading the same information from database, leaving
duplicates in dialog_vars.
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web
http://www.imp.ch
______________________________________________________