[SR-Users] Removing parameters from user part of URI

Alex Balashov abalashov at evaristesys.com
Mon Jun 15 15:00:52 CEST 2015


On 06/15/2015 04:20 AM, Alex Hermann wrote:
> On Friday 12 June 2015, Alex Balashov wrote:
>> Sure, but that presumes that I know the position of the parameter and the
>> number of parameters.
>
> Why would you need to know that?
>
>
>> I'm looking for a generic approach to lob off all parameters.
>
> $(rU{select,0,;}) will always select the username with all parameters
> stripped.

Will it? What if the parameters precede the username, i.e.

    sip:param1=hyz;param2;abc;user at host


-- 
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list