Re: [OpenSIPS-Users] codec_delete_except_re() syntax

2014-06-25 Thread Bogdan-Andrei Iancu
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.opensi

[OpenSIPS-Users] codec_delete_except_re() syntax

2014-06-23 Thread Alain BIEUZENT
Hello All, I want to use codec_delete_except_re() with a result of query, but it doesn't work (bad arguments for command ) 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 wron