Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552 Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /var/www/sip-router.kamailio.org/flyspray/plugins/dokuwiki/inc/cache.php on line 291 FS#99 : user friendly module function declaration

sip-router

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method dokuwiki_TextFormatter::render() should not be called statically in /var/www/sip-router.kamailio.org/flyspray/includes/class.tpl.php on line 552

SIP Router Project

Tasklist

FS#99 - user friendly module function declaration

Attached to Project: sip-router
Opened by Juha Heinanen (jh) - Sunday, 31 October 2010, 19:01 GMT
Task Type Improvement
Category Core
Status Assigned
Assigned To Andrei Pelinescu-Onciul (andrei)
Operating System All
Severity Medium
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

instead of telling, how many arguments a module function has and what fixup function to use, number and kinds of the arguments could be specified by a string of letters, such as, i = expression yielding to an int value, s = expression yielding to a string value, v = script variable, a = avp, p = any pseudo variable. for example, in

{”printx”, (cmd_function)print_fx, “sip”, 0, REQUEST_ROUTE}

printx would have 3 arguments, first one a sting valued expression, second an int valued expression and third a pseudo variable.

This task depends upon

Loading...