Re: [Devel] new features: script variables and pseudo-variables in script

2007-02-05 Thread Daniel-Constantin Mierla
On 02/05/07 12:10, vallimamod abdullah wrote: Hello Daniel, On 2/3/07, Daniel-Constantin Mierla <[EMAIL PROTECTED]> wrote: [...] The exec module on devel is already extended with such feature you are looking for -- see exec_avp(): http://www.openser.org/docs/modules/1.2.x/exec.html#AEN134

Re: [Devel] new features: script variables and pseudo-variables in script

2007-02-03 Thread Daniel-Constantin Mierla
Hello, it is not possible to return a string from a function exported by a module now. The usual way is to use avps for that. The exec module on devel is already extended with such feature you are looking for -- see exec_avp(): http://www.openser.org/docs/modules/1.2.x/exec.html#AEN134 Chee

Re: [Devel] new features: script variables and pseudo-variables in script

2007-02-02 Thread vallimamod abdullah
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 t

Re: [Devel] new features: script variables and pseudo-variables in script

2007-01-29 Thread Klaus Darilion
thanks :-) regards klaus Daniel-Constantin Mierla wrote: Hello everybody, the development version allows now ability to use pseudo-variables directly in configuration file. In addition to old pseudo-variables you know, a new type was introduced: script variables - the format is $var(name) w