Revision: 4291
http://openser.svn.sourceforge.net/openser/?rev=4291&view=rev
Author: bogdan_iancu
Date: 2008-06-02 05:02:19 -0700 (Mon, 02 Jun 2008)
Log Message:
-----------
Dialog profiling support added:
==============================
Dialog profiling means dialogs can be dynamically added in different (and
several) profile tables. Logically, a profile table can have a special meaning
(like dialogs outside the doamin, dialogs terminated to PSTN, etc).
There are two types of profiles:
A) with no value - a dialog simply belongs to a profile. (like outbound
calls profile)
B) with value - a dialog belongs to a profile having a certain value
(like caller profile, where the value is the caller ID)
A dialog can be added to multiple profiles in the same time.
Profiles are vizible (at the moment) in the request route (for initial and
sequential requests) and in the branch, failure and reply routes of the
original request.
New module parameters:
profiles_with_value - STRING - semi-colon separated list of names for
profiles with value
profiles_no_value - STRING - semi-colon separated list of names for
profiles no value
New script functions:
set_dlg_profile - adds a dialog into a profile
is_in_profile - checks if the current dialog is in a certain profile
get_profile_size - returns into a PV the size of a certain dialog
New MI commands:
profile_get_size - returns the size of a certain dialog
profile_list_dlgs - lists (with no context) the dialogs from a certain
profile
Documentation will be added soon.
Code is in alpha version.
Modified Paths:
--------------
trunk/modules/dialog/dialog.c
trunk/modules/dialog/dlg_handlers.c
trunk/modules/dialog/dlg_hash.c
trunk/modules/dialog/dlg_hash.h
Added Paths:
-----------
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
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel