Hello,
On 9/20/12 6:26 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
$(hdr(Record-Route)[index]{nameaddr.uri}) - this is a form of getting it via PV.
daniel,
as i read in pv wiki and tested, $(hdr(Record-Route)[index]) returns ALL uris in r-r header number 'index'. what i tried to achieve, is to get from record-route or route headers uri number 'index' no matter how many uris are on one single header.
yes, probably you can script it in config file, searching for ',', then using {s.select,index,,}. But have you checked the record_route select? Isn't giving what you want?
Cheers, Daniel