[OpenSIPS-Devel] [ opensips-Patches-2478793 ] Allow MI command to return all values under a profile

SourceForge.net noreply at sourceforge.net
Mon Jan 5 17:51:35 CET 2009


Patches item #2478793, was opened at 2008-12-31 07:25
Message generated for change (Comment added) made by osas
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2478793&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.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Richard Revels (rrevels)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow MI command to return all values under a profile

Initial Comment:
This is a small patch to check for the value of "all" when using the MI command profile_get_size.  We needed it for the case where we want to know how many dialogs are up for each value but did not want to have to run the MI command multiple times.

opensipsctl fifo profile_get_size inbound all


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

Comment By: Ovidiu Sas (osas)
Date: 2009-01-05 11:51

Message:
This patch will make 'all' a restricted value for a profile.
I would rather have a new mi command for returning all values (like
profile_get_vsize).

Regards,
Ovidiu Sas

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

Comment By: Richard Revels (rrevels)
Date: 2009-01-04 11:43

Message:
Added a second patch file which correctly returns all values within each
hash rather than just the first one.  The next step will be to have the new
function return counts rather than calling get_profile_size in a loop.

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

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



More information about the Devel mailing list