Hello,
In my script I've had to test for the user=phone parameter in URIs. I thought uri_param() from siputils would be handy for this operation on the RURI, so I did:
if ( !uri_param("user","phone") ) {
add_uri_param("user=phone");
}
Unfortunately this wouldn't work (uri_param returns -1), and I end up with double user=phone params in the RURI.