[OpenSIPS-Devel] [ opensips-Bugs-3197879 ] Dialog context:: vars not there after restart

SourceForge.net noreply at sourceforge.net
Wed Mar 9 16:38:51 CET 2011


Bugs item #3197879, was opened at 2011-03-02 17:29
Message generated for change (Comment added) made by patrickferguson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3197879&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Patrick Ferguson (patrickferguson)
Assigned to: Razvan Crainea (razvancrainea)
Summary: Dialog context:: vars not there after restart

Initial Comment:
I'm currently using store_dlg_var("name", "value"), not problem there, but I noticed when I restart that there variable was not read back in.  dlg_list_ctx show nothing for context after restart.

----------------------------------------------------------------------

Comment By: Patrick Ferguson (patrickferguson)
Date: 2011-03-09 10:38

Message:
Sorry, my mistake.   My make update didn't overwrite the old version.  I've
fixed that and I'm retesting.  Ignore previous posts from today.



----------------------------------------------------------------------

Comment By: Patrick Ferguson (patrickferguson)
Date: 2011-03-09 10:30

Message:
Linux f2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64
x86_64 GNU/Linux

that's the output of uname -a (just in case)

----------------------------------------------------------------------

Comment By: Patrick Ferguson (patrickferguson)
Date: 2011-03-09 10:27

Message:
        context:: 
                value:: accX_log = ^F
                value:: accX_leg = 
                value:: accX_core = ^F
                value:: accX_created = <<9B>wM
                value:: avariable = 51137


this is what I see normally, after a restart

        context:: 
dialog::  hash=

So I am loosing my stored variable.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-03-09 10:13

Message:
Not sure if I grabbed the right code.  Here is what I used to get my copy
of 1.6


svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.6
opensips_1_6


If that is where you applied the patch, then no, it isn't working.   when
I issue a 
fifo dlg_list_ctx
command, the context is blank for the dialogs.  

I did see an update to several of the files when I did an update


U    modules/dialog/dlg_db_handler.c
U    modules/dialog/dlg_handlers.c
U    modules/load_balancer/lb_data.c
U    modules/acc/acc_logic.c
U    modules/acc/acc_logic.h
U    modules/acc/acc_mod.c
U    modules/acc/acc.c
U    modules/benchmark/doc/benchmark_devel.xml
U    modules/benchmark/README
Updated to revision 7795.

Is that correct?


----------------------------------------------------------------------

Comment By: Razvan Crainea (razvancrainea)
Date: 2011-03-08 11:03

Message:
Hello Patrick,

I have just committed a little fix for the dialog module. Please update
your sources, build and try again.
Let mo know if the problem persists.

Regards,
Razvan

----------------------------------------------------------------------

Comment By: Patrick Ferguson (patrickferguson)
Date: 2011-03-02 17:53

Message:
Before I restart, I looked at the DB and the column vars does contain the
variables.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3197879&group_id=232389



More information about the Devel mailing list