[OpenSIPS-Devel] [opensips] ds_is_in_list: not possible to check all sets for active destinations (#389)

gergelypeli notifications at github.com
Wed Nov 26 14:46:47 CET 2014


Dispatcher's ds_is_in_list function takes up to four arguments, the third one specifying the destination set to check, and the fourth one if to check active destinations only. If both are omitted, the third "set" argument is implicitly set to -1, and it checks all sets. However, if the fourth "active_only" argument is given, then the third argument is parsed as an unsigned integer (in "in_list_fixup"), which makes it impossible to check more than one set.

There should be a way to specify "check all destination sets" even if the fourth argument is given.


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


More information about the Devel mailing list