search for: is_avp_set

Displaying 1 result from an estimated 1 matches for "is_avp_set".

2007 May 12
3
Asterisk High-Capacity Stability
...most of my intelligent routing is > something like: > > --- > > avp_db_query("SELECT ip_addr, port FROM customer_proxies WHERE > customer_id = $avp(S:customer_id) AND active = true", > "$avp(S:proxy_ip);$avp(S:proxy_port)"); > > if(!is_avp_set("$avp(S:proxy_ip)") || > !is_avp_set("$avp(S:proxy_port)")) { > xlog("L_INFO", "target-das - [$ci] - Active proxy not > found.\n") > ; > sl_send_reply("404", "Not Found"); >...