<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=FR link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>Thanks bogdan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>De : </span></b><span style='color:black'>Bogdan-Andrei Iancu <bogdan@opensips.org><br><b>Date : </b>mercredi 10 janvier 2024 à 17:06<br><b>À : </b>OpenSIPS users mailling list <users@lists.opensips.org>, Alain Bieuzent <alain.bieuzent@free.fr><br><b>Objet : </b>Re: [OpenSIPS-Users] dispatcher ds_list "full" parameter</span><span style='color:black;mso-ligatures:none;mso-fareast-language:FR'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-family:"Courier New"'>Hi Alain,<br><br>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<br><br>Try `opensips-cli -x mi ds_list full=1` , where "full" is the name of the param and "1" is its value.<br><br>Regards,<br><br></span><o:p></o:p></p><pre>Bogdan-Andrei Iancu<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>OpenSIPS Founder and Developer<o:p></o:p></pre><pre> <a href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a><o:p></o:p></pre><pre> <a href="https://www.siphub.com">https://www.siphub.com</a><o:p></o:p></pre><div><p class=MsoNormal>On 10.01.2024 17:55, Alain Bieuzent wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>Hi All,</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>On dispatcher module, exported mi function ds_list can have 2 optional parameters (full and partition)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>When I tried to use these parameters with opensips-cli, it returns an error message :</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>root@lbsip-test:~# opensips-cli -x mi ds_list full</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>ERROR: command 'ds_list' returned: -32602: Invalid params (Ambiguous call, use named parameters instead)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>I didn't understand the documentation or is there a bug?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>PS : I’m using opensips 3.3.6</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;color:black;mso-ligatures:none;mso-fareast-language:FR'>Regards</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;mso-ligatures:none;mso-fareast-language:FR'><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre><pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal><span style='font-size:11.0pt;mso-ligatures:none;mso-fareast-language:FR'><br><br><o:p></o:p></span></p></div></body></html>