Hi,
According to https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.f..., 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
You have to Put variable in "" as I remember. This is usual rool for all function calling in a config file.
On Fri, 14 Feb 2020, 14:54 Björn Bylander, Bjorn.Bylander@loxysoft.com wrote:
Hi,
According to https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.f..., 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
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users