Hello Daniel, On 1/29/07, Daniel-Constantin Mierla <[EMAIL PROTECTED]> wrote:
[...] Assignments of script variables, AVPs, R-URI parts (username, domain, and URI) and dst URI can be done as well in script. $avp(i:11) = 1; - sets the value of $avp(i:11) to integer '1' $avp(i:11) = "1"; - sets the value of $avp(i:11) to string '1' $ru = "sip:"+$var(user)+"@"+$fd; - sets the R-URI to string composed from value of variable $var(user) and From URI domain
I have a question related to this feature: Is it possible to have a module function that returns a string and assign it to a script variable ? I am thinking of extending the exec module to execute a system command and return its output to the script. That would be a great feature for me but I have no idea on how to return a string from a C function to the script. -- Regards, -vma . _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel