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(a)loxysoft.com>
wrote:
Hi,
According to
https://kamailio.org/docs/modules/5.3.x/modules/dispatcher.html#dispatcher.…,
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(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users