Thank you Daniel,
That works great.
Cheers
Alex
Hello,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.
On 12/1/10 9:34 AM, Marius Zbihlei wrote:
Hello
I think you should try:
$sel(@via[1].params[x-route-tag])
The list of selects and some description can be found at:
http://sip-router.org/docbook/sip-router/branch/master/select_list/select_list.html
Regarding this case, what I found working is: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.
$sel(via[1].params["x-route-tag"])
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com