SIP Router Project
FS#99 - user friendly module function declaration
|
Detailsinstead 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