[SR-Users] PVs in Regular Expression Transformations

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 20 16:17:23 CEST 2010



On 4/12/10 8:04 PM, Daniel-Constantin Mierla wrote:
>
>
> On 4/12/10 7:59 PM, Juha Heinanen wrote:
>> Daniel-Constantin Mierla writes:
>>
>> >  it supports only strings. The subst expression is pre-compiled at 
>> startup.
>> >
>> >  Some development is required to extend for what you want.
>>
>> daniel,
>>
>> no problem, i was able to achieve what i want using s.len and s.substr
>> transformations.
> ok, which reminds me that I wanted to add transformations for strip 
> and strip_tail for the sake of cfg easiness...
I just committed s.strip and s.striptail transformations:
http://sip-router.org/wiki/cookbooks/transformations/devel#sstrip_len

Testing and feedback is appreciated.

Thanks,
Daniel

>
> Cheers,
> Daniel
>
>> -- juha
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla




More information about the sr-users mailing list