Re: [SR-Users] simple way to access RR headers/uris and to remove them

2013-06-18 Thread Klaus Darilion
done http://www.kamailio.org/wiki/tutorials/faq/main#how_to_remove_a_single_header_ On 06.06.2013 10:33, Daniel-Constantin Mierla wrote: Hello, it may be useful to add it in the faq or mini-howtos on the wiki, wherever you consider more appropriate: - https://www.kamailio.org/wiki/tutorials/f

Re: [SR-Users] simple way to access RR headers/uris and to remove them

2013-06-06 Thread Daniel-Constantin Mierla
Hello, it may be useful to add it in the faq or mini-howtos on the wiki, wherever you consider more appropriate: - https://www.kamailio.org/wiki/tutorials/faq/main - https://www.kamailio.org/wiki/tutorials/mini-howto-admin/main Cheers, Daniel On 6/4/13 6:54 PM, Klaus Darilion wrote: Finally

Re: [SR-Users] simple way to access RR headers/uris and to remove them

2013-06-04 Thread Klaus Darilion
Finally I found it myself. For the records: To address a certain header (regardless if headers are in a single line or in separate lines) use the @hf_value select. The trick is to load the textopsx module (this select used to be in ser's textops module). Note, header names must use '_' instead

[SR-Users] simple way to access RR headers/uris and to remove them

2013-06-04 Thread Klaus Darilion
Hi! Is there a simple way to: - retrieve the RR headers (or Route/Contact ...) and to - selectively remove them? E.g. retrieve <2> and delete <3> I do not want to care about the format, eg: Record-Route: <1>, <2>, <3> or Record-Route: <1> Record-Route: <2> Record-Route: <3> Thanks Klaus