[SR-Users] Any clever ways to strip down a user portion of an RURI?

Alex Balashov abalashov at evaristesys.com
Sat Mar 12 21:42:26 CET 2022


> On Mar 11, 2022, at 8:22 AM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
> 
> I haven't tried, but an alternative idea that worth checking:
> 
> xavp_params_explode("$rU", "u");
> 
> $xavp(u=>npdi) = $null;
> 
> xavp_params_implode("u", "$rU");
> 
> $xavp(u) = $null;

Confirmed it works! Brilliant; definitely much better than my solution. Thank you for that.

Will it work with $xavus too?

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/




More information about the sr-users mailing list