[OpenSIPS-Devel] [opensips] Add ability to provide db_id to avp_db_query() as either $var or $avp (#694)

Yossi notifications at github.com
Tue Nov 10 00:48:13 CET 2015


Spoke with Vlad-Paiu about this.  Currently avp_db_query() requires that the db_id (3rd param) be a constant.  By allowing for avp_db_query() to use a $var and $avp, it would allow simplified iteration across an arbitrary number of avpops db urls as defined by the user, and keep from unnecessarily duplicating code.

If it wouldn't be too much trouble, could this functionality please be added?  Much thanks in advance.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/694
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151109/e5e097e7/attachment.htm>


More information about the Devel mailing list