Hello,
On 9/20/12 9:43 AM, Juha Heinanen
wrote:
is there any easy way to access URIs in one or more record-route
headers? there is @via[index], but no corresponding select for record-
route URIs.
$(hdr(Record-Route)[index]{nameaddr.uri}) - this is a form of
getting it via PV.
But I checked the list of selects and there is one named
record_route.
I guess this form works as well, but never tested:
@msg[“Record-Route"][index].uri
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu