Hi Alain,

As both parameters (partition and full) are optional, you need to pass the name and value of the param (if only one param is passed), otherwise OpenSIPS will have no idea if the value belongs to partition or full

Try `opensips-cli -x mi ds_list full=1` , where "full" is the name of the param and "1" is its value.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
  https://www.siphub.com

On 10.01.2024 17:55, Alain Bieuzent wrote:

Hi All,

On dispatcher module, exported mi function ds_list can have 2 optional parameters (full and partition)

When I tried to use these parameters with opensips-cli, it returns an error message :

root@lbsip-test:~# opensips-cli -x mi ds_list full

ERROR: command 'ds_list' returned: -32602: Invalid params (Ambiguous call, use named parameters instead)

I didn't understand the documentation or is there a bug?

PS : I’m using opensips 3.3.6

Regards


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to