[OpenSIPS-Users] codec_delete_except_re() syntax

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jun 25 10:48:40 CEST 2014


Hello Alain,

The codec_delete_except_re() expects a static regexp - it does not 
support dynamic regexp via variables.
Could you please open a feature request on 
https://github.com/OpenSIPS/opensips/issues for this ?

Thanks,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 23.06.2014 18:51, Alain BIEUZENT wrote:
>
> Hello All,
>
> I want to use codec_delete_except_re() with a result of query, but it 
> doesn't work (bad arguments for command <codec_delete_except_re>)
>
> For exemple I want to do :
>
> avp_db_query("select codec from mytable where $si = mysourceip limit 
> 1", "$avp(679)");
>
> codec_delete_except_re($avp(679));
>
> Whats wrong ?
>
> Thanks
>
> Alain
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140625/2e2a4b1b/attachment.htm>


More information about the Users mailing list