Thank you Daniel, That works great.
Cheers Alex On Wed, Dec 1, 2010 at 12:23 PM, Daniel-Constantin Mierla <mico...@gmail.com > wrote: > 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_list.html > > 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 > > -- > Daniel-Constantin Mierla > Kamailio (OpenSER) Advanced Training > Jan 24-26, 2011, Irvine, CA, USA > http://www.asipto.com > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users