[SR-Users] route() call with pv argument

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 25 16:03:49 CET 2010



On 3/25/10 2:25 PM, Juha Heinanen wrote:
> i just made a test and noticed that route() accepts a pv argument.
> at least i didn't get anhy syntax error from
>
> 	route("$var(test)");
>
> this is good if it works.  Core functions section of
>
> http://sip-router.org/wiki/cookbooks/core-cookbook/devel#route
>
> does not list route() function call at all.
>
>    
it gets the content of parameter as static string, so if you would have

route[$var(test)] {
...
}

it might work.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla * http://www.asipto.com/




More information about the sr-users mailing list