Re: [SR-Users] Remove dash (-) from called number

2013-02-04 Thread Alex Balashov
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

Re: [SR-Users] Remove dash (-) from called number

2013-02-04 Thread Ali Jawad
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:

Re: [SR-Users] Remove dash (-) from called number

2013-02-04 Thread Alex Balashov
{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 > >* >* > > > > >___

[SR-Users] Remove dash (-) from called number

2013-02-04 Thread Ali Jawad
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