[OpenSIPS-Users] variable compare string
Satish Patel
satish.txt at gmail.com
Tue Apr 7 17:07:03 CEST 2015
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");
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150407/11e3ea69/attachment.htm>
More information about the Users
mailing list