[OpenSIPS-Users] Dialog module
Bogdan-Andrei Iancu
bogdan at opensips.org
Thu Nov 14 11:09:44 CET 2013
Hello,
The dialog modules does not flush dialogs from memory in realtime to DB
(see the docs for the db_mode in dialog module).
To get an exact listing on the dialogs, use the "dlg_list_dlg" MI
command from dialog module.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 11/08/2013 05:38 PM, M.Khaled W Chehab wrote:
>
> Dears,
>
>
>
> I am loading opensips 1.10 with load balancer module
>
>
>
> While applying opensipsctlf fiflo lb_list to the command line I can
> see a sum of 408 calls where I can find only 218 rows in dialog
> mysql table
>
>
>
> How can I find the 408 calls in my dialog table
>
>
>
> My config
>
>
>
> if (is_method("INVITE")) {
>
> if (!has_totag()) {
>
> create_dialog("B");
>
> topology_hiding() ;
>
> load_balance("$avp(Cusid)","trunk","1");
>
>
>
>
>
> route[
>
> # opensipsctl fifo lb_list
>
> database engine 'MYSQL' loaded
>
> Control engine 'FIFO' loaded
>
> entering fifo_cmd lb_list
>
> Destination:: sip:xx.xx.xx.4 id=2 group=1 enabled=yes auto-re=on
>
> Resource:: trunk max=1000 load=208
>
> Destination:: sip:xx.xx.xx.5 id=3 group=1 enabled=yes auto-re=on
>
> Resource:: trunk max=1000 load=200
>
> Destination:: sip:37.220.108.10 id=4 group=2 enabled=yes auto-re=on
>
> Resource:: trunk max=1000 load=0
>
>
>
>
>
>
>
> failure_route[missed_call] {
>
> if (t_check_status("(408)|([56][0-9][0-9])")) {
>
> if (load_balance("$avp(Cusid)","trunk","1"))
>
> {
>
>
>
> Please advise
>
>
>
>
>
>
>
> #### DIALOG module
>
> loadmodule "dialog.so"
>
> modparam("dialog", "dlg_match_mode", 1)
>
> modparam("dialog", "default_timeout",3600) # 6 hours timeout
>
> modparam("dialog", "db_mode", 2)
>
> modparam("dialog",
> "db_url","mysql://ckswitch:515155@localhost/ckswitch") # CUSTOMIZE ME
>
> modparam("dialog", "profiles_with_value", "trunkCalls")
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131114/c5dc69df/attachment.htm>
More information about the Users
mailing list