Hello, Does anyone have any ideas about this?
If not it's something I want to try and do before the freeze (any suggestions as to how would be appreciated) as it will be a nice finishing touch to the WebSocket/outbound/stun/auth_ephemeral stuff I've worked on over the last couple of releases. Thanks, Peter On 19 September 2013 21:36, Peter Dunkley <peter.dunk...@crocodilertc.net>wrote: > Hello, > > I was wondering if there was an easy way to decode HTTP URLs in > event_route[xhttp:request]? > > For example, it would be good to be able to breakdown a URL like: > /sip?apiKey=abcdefg&username=1234567890:al...@example.com > into "path/on/server" ("/sip" in this case) and a set of parameters. For > the parameters something like the {param.value,name} transformation for SIP > header parameters would be ideal (which works perfectly for picking values > out of HTTP Cookie: headers). > > I noticed that there is already an {s.urldecode.param} transformation in > the PV module but I couldn't find any documentation for it in the wiki and > looking at the code it doesn't appear to do this anyway. > > Regards, > > Peter > > > -- > Peter Dunkley > Technical Director > Crocodile RCS Ltd > -- Peter Dunkley Technical Director Crocodile RCS Ltd
_______________________________________________ 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