Hello,
On 12/1/10 9:34 AM, Marius Zbihlei wrote:
Hello
I think you should try:
$sel(@via[1].params[x-route-tag])
indeed, selects need a bit of care regarding documentation -- they come from SER and I added pseudo-variable class $sel(selectid) to be able to use them whenever a PV can be used.
The list of selects and some description can be found at: http://sip-router.org/docbook/sip-router/branch/master/select_list/select_li...
Regarding this case, what I found working is:
$sel(via[1].params["x-route-tag"])
Even it works without a index for via, my tests resulted in an error (probably a bug somewhere, since was looking for via header 2345191). I will try too look more into it.
Cheers, Daniel