[Users] using avp's as lists
Kro Kamil
kro_ser at hotmail.com
Mon Mar 19 14:59:44 CET 2007
Hi,
can i use avp's as a list holder? what i want to do is using avp_db_query function to get the list of routes which will be used for forwarding calls. for example
avp_db_query("select route_ip from tbl_route","$avp(s:route_list)");
then
rewritehost("$avp(s:route_list)[1]");
on failure
rewritehost("$avp(s:route_list)[2]");
thanks in advance
_________________________________________________________________
Live.com'u deneyin: çevrimiçi dünyanızı bir araya getirin; haberler, spor, hava durumu ve çok daha fazlası.
http://www.live.com/getstarted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070319/ff061d87/attachment.htm
More information about the Users
mailing list