Revision: 5153
          http://opensips.svn.sourceforge.net/opensips/?rev=5153&view=rev
Author:   bogdan_iancu
Date:     2009-01-14 16:50:23 +0000 (Wed, 14 Jan 2009)

Log Message:
-----------
1) dialog persistent falgs added. These flags will be visible for all the 
requests that belong to the same dialog.
Available functions:
        - set_dlg_flag("n");
        - reset_dlg_flag("n");
        - is_dlg_flag_set("n");
Available PVs:
        - $DLG_flags  (can be used directly from script via bitwise ops)

2) dialog persistent attributes. These attribute are visible for all the 
requests that belong to the sae dialog; they can be manipulated (added,fetched) 
during the dialog lifetime.
Available functions:
        - store_dlg_value("attr_name","attr_val");  // attr_val may contain PVs
        - fetch_dlg_value("attr_name","pv");  // pv is $var or $avp
Available PVs:
        - $dlg_val("attr_name");  // set and get available

3) added new function create_dialog() to explicitly create the dialog from the 
script (instead of waiting for the t_relay()) - this function is also available 
via the module API

4) fixed the un-proper trigger of DLG_DESTROY when the memory is cleaned at 
shutdown - it force moduled on top of dialog to trash the dialog

Modified Paths:
--------------
    trunk/modules/dialog/dialog.c
    trunk/modules/dialog/dlg_db_handler.c
    trunk/modules/dialog/dlg_db_handler.h
    trunk/modules/dialog/dlg_handlers.c
    trunk/modules/dialog/dlg_handlers.h
    trunk/modules/dialog/dlg_hash.c
    trunk/modules/dialog/dlg_hash.h
    trunk/modules/dialog/dlg_load.h
    trunk/modules/dialog/dlg_profile.c
    trunk/modules/dialog/dlg_profile.h


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to