[OpenSIPS-Users] Replace avp_check() for opensips 3.5

Alain Bieuzent alain.bieuzent at free.fr
Wed Sep 24 12:55:33 UTC 2025


Hello everyone,

 

With version 3.5, the avp_check() function no longer exists and must be replaced.

What would be the "cleanest" way to perform the following check:

 

if (avp_check("$avp(codecs)","re/PCMA/g"))

{

xlog("L_INFO", "$ci|Log codecs|PCMA exist in SDP and in DB - X-CODEC: PCMA");

}

 

Thanks in advance

Alain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250924/87ac57c3/attachment.html>


More information about the Users mailing list