> 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,,}.
that is what i did in the first place, but then went and asked if there is an easy way to achieve the same. But have you checked the record_route select? > Isn't giving what you want? i have not managed to make the select work at all. for example, $var(foo) = @msg.route.[0].nameaddr.uri; gives me parse errors. -- juha _______________________________________________ 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