[sr-dev] [tracker] Task opened: Kamailio 3.2.0 module dialog. Dialog variables not reloaded from db after restart.

sip-router admin at sip-router.org
Sat Nov 5 07:38:42 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Nick Altmann (nikbyte) 

Attached to Project - sip-router
Summary - Kamailio 3.2.0 module dialog. Dialog variables not reloaded from db after restart.
Task Type - Bug Report
Category - dialog
Status - Assigned
Assigned To - Timo Reimann
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - In kamailio 3.2.0 x86_64 in dialog module after kamailio restart within dialog, no dialog values restored (dbmode > 0). But in log:
Nov  5 10:33:51 DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 0x7f2a5b6a1700 (7) - [insert into dialog_vars (hash_entry,hash_id,dialog_key,dialog_value ) values (3344,782260106,'rtpproxy','yes')]

-------- RESTART ---------

Nov  5 10:33:51 DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 0x7fa8b6d5ae18 (7) - [select hash_entry,hash_id,callid,from_uri,from_tag,to_uri,to_tag,start_time,state,timeout,caller_cseq,callee_cseq,caller_route_set,callee_route_set,caller_contact,callee_contact,caller_sock,callee_sock,sflags,toroute_name,req_uri from dialog ]
Nov  5 10:33:51 DEBUG: dialog [dlg_db_handler.c:310]: the database has information about 1 dialogs
Nov  5 10:33:51 DEBUG: dialog [dlg_hash.c:307]: new dialog on hash 3344
Nov  5 10:33:51 DEBUG: dialog [dlg_hash.c:559]: ref dlg 0x7fa8b4502878 with 1 -> 1
Nov  5 10:33:51 DEBUG: dialog [dlg_timer.c:115]: inserting 0x7fa8b45028c8 for 68167018
Nov  5 10:33:51 DEBUG: dialog [dlg_hash.c:579]: ref dlg 0x7fa8b4502878 with 1 -> 2
Nov  5 10:33:51 DEBUG: dialog [dlg_db_handler.c:417]: current dialog timeout is 68167018

Nov  5 10:33:51 DEBUG: db_postgres [km_dbase.c:158]: sending query ok: 0x7fa8b6d5ae18 (7) - [select hash_entry,hash_id,dialog_key,dialog_value from dialog_vars ]
Nov  5 10:33:51 DEBUG: db_postgres [km_res.c:133]: RES_NAMES(0x7fa8b6d5bd30)[2]=[dialog_key]
Nov  5 10:33:51 DEBUG: db_postgres [km_res.c:133]: RES_NAMES(0x7fa8b6d5bcc0)[3]=[dialog_value]
Nov  5 10:33:51 DEBUG: db_postgres [km_res.c:252]: [0][2] Column[dialog_key]=[rtpproxy]
Nov  5 10:33:51 DEBUG: db_postgres [km_res.c:252]: [0][3] Column[dialog_value]=[yes]
Nov  5 10:33:51 DEBUG: dialog [dlg_db_handler.c:502]: the database has information about 1 dialog variables

After restart dialog restores okay, but no dialog variables.
P.S. I use dialog with db_postgres.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=172

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list