[SR-Users] ds_is_from_list doesn't accept groupid from a variable?

Björn Bylander Bjorn.Bylander at loxysoft.com
Fri Feb 14 14:53:33 CET 2020


Hi,

According to https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.f.ds_is_from_list, ds_is_from_list should accept an integer variable for the group id parameter. The following simple example doesn¹t work however:

        $var(foo) = 5;
        ds_is_from_list($var(foo));

Kamailio logs ³function ds_is_from_list: parameter 1 is not constant². Is this a bug or have I misinterpreted the documentation somehow?

Thanks in advance,
Björn Bylander




More information about the sr-users mailing list