On 07/04/2011 08:57 AM, Martin Hoffmann wrote:
Am I the only one who cringes at
$(ru{s.select,0,:}) and a few other PV
constructs?
On an aesthetic basis purely?
SER 2.x had this nice concept of hierarchic
select. What happened
to that?
For those coming from the OpenSER/Kamailio universe, can you elaborate
on how these worked?
They are still available, e.g I use selects to get RR cookies:
if (@msg.header.Route[1].nameaddr.uri.params["nat"] == "both") {
Full list of selects is available here:
I guess the uri subelement "type" would be the URI scheme, e.g: @ruri.type
Note: selects are read-only.
regards
Klaus