[OpenSIPS-Users] dispatcher ds_list "full" parameter

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jan 10 16:05:52 UTC 2024


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 at 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240110/70fa0b69/attachment.html>


More information about the Users mailing list