SIP Router Project


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


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