[Kamailio-Devel] [ openser-Patches-2119091 ] Run Create-Callbacks while loading the dialogs

SourceForge.net noreply at sourceforge.net
Fri Sep 19 12:01:11 CEST 2008


Patches item #2119091, was opened at 2008-09-19 10:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2119091&group_id=139143

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: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Carsten Bock (carstenbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Run Create-Callbacks while loading the dialogs

Initial Comment:
Hi,

in order to re-create the dialog callback-pointers, this patch will run the create-dialog-callbacks when loading dialogs from database at startup.
The change is minor:
I simply added the following lines to "load_dialog_info_from_db" from dlg_db_handlers.c:

/* Dialog created */
run_create_callbacks( dlg, NULL);

This will allow modules adding callbacks after an restart of the proxy.
In order for this to work, loading of dialogs in the first-child is required (Patch #2119079), since only then the create_callback-list has entries.

Attached patch is against OpenSER 1.3 and contains both changes from patch #2119079 and this tiny change.

Kind regards,
Carsten


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=2119091&group_id=139143



More information about the Devel mailing list