[Kamailio-Users] Strip core function with variable

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 24 09:34:02 CET 2009


Hello,

On 23.11.2009 15:49 Uhr, Antonio Reale wrote:
> Hi all,
> strip core function accepts only an integer as parameter. What do you
> thing about implementing the strip function with a variable as
> parameter in a future release?
> strip($var(x)); or something like that...
> Is this doable?
>   
the strip($var(x)) is equivalent to:

$rU = $(rU{s.substr,$var(x),0});

Maybe would be more convenient to enhance the strip() function for the next version.

Cheers,
Daniel


-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list