[SR-Users] check_from and check_to: case sensitive?

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 3 14:09:52 CEST 2010



On 6/3/10 12:52 PM, Iñaki Baz Castillo wrote:
> 2010/6/2 Iñaki Baz Castillo<ibc at aliax.net>:
>    
>>> - check_from / check_to should b fixed to use case sensitive comparison.
>>>        
> A workaround for this would be using:
>
>    if ! avp_check("$tU","eq/$au")
>
> instead of:
>
>    if ! check_to()
>    
note that cmp_str/cmp_istr are availave in 1.5.x as well:

http://kamailio.org/docs/modules/1.5.x/textops.html#id2507121

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Miami, Fl, USA - June 21-23, 2010
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-users mailing list