[SR-Users] any easy way to access record-route URIs?

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 20 10:06:52 CEST 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120920/ba5ba513/attachment.htm>


More information about the sr-users mailing list