You want the subst transformation.
Ali Jawad wrote:
>Hi
>I did try this
>
> $rU = $(var(rU){s.replace,0,5} ;
>
>and tried with a number full of zeros, my anticipation was that it will
>remove the 0s and replace those with 5s in the echo log for $rU I did
>get,
>the below, the whole
Hi
I did try this
$rU = $(var(rU){s.replace,0,5} ;
and tried with a number full of zeros, my anticipation was that it will
remove the 0s and replace those with 5s in the echo log for $rU I did get,
the below, the whole number was replaced with 5.
5(23072) ERROR:
{s.subst} transformation.
Ali Jawad wrote:
>Dear All
>I need to remove any dashes wherever they do occur in a called number,
>any
>guidance please ?
>Regards
>
>*
>*
>
>
>
>
>___
Dear All
I need to remove any dashes wherever they do occur in a called number, any
guidance please ?
Regards
*
*
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bi