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

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to