[OpenSIPS-Devel] [ opensips-Patches-2351158 ] Pseudovar argument for sleep function at cfgutils.

SourceForge.net noreply at sourceforge.net
Wed Nov 26 16:16:28 CET 2008


Patches item #2351158, was opened at 2008-11-26 10:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2351158&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sergio Gutierrez (saguti)
Assigned to: Nobody/Anonymous (nobody)
Summary: Pseudovar argument for sleep function at cfgutils.

Initial Comment:
Based on a question posted by a user, this patch implements the feature of allowing sleep function at cfgutils module receives a pseudovariable argument.

This patch is a very first approach, and in case of being accepted, it could be applied to usleep function too.
A couple questions:

1. What should be the module's behaviour when argument as invalid value/format (Ignore/log the error, or stop execution?)
2. Should the current behaviour be kept? That is to say, still receive a string as argument, or should it be completely overrided by pseudovar usage? In case that it should be kept, is there a way to do it in the same function? As I see, a new function should be implemented, as fixup functions are different for pseudovar and string.

Thanks in advance for your attention.

Sergio

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

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



More information about the Devel mailing list