I have following SQL query

 avp_db_query("SELECT billing_customer,route_info FROM inbound WHERE
(did='$tU')","$avp(bparty);$avp(route_info)");

I want to check if $avp(route_info)   has NULL entry in DB table, But
following code always giving me true. Even DB has value. what is wrong with
code?

 if ($avp(route_info) = NULL) {
        xlog("Route_info is NULL");
}
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to