<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Mark,</p>
    <p>This is indeed a bug in the MI output for dlg_list when passing
      callid and/or from_tag params. I have pushed a fix, thanks for
      reporting!</p>
    <p>Regards,<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 16.11.2020 15:05, M S wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEZrhoPVqCh1VduBe6=Ao4y89ZrrZOvbsNrRpepKr3V64=2RUg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">Hi,
                <div>I think something is not working as expected with
                  dialog:</div>
                <div>I check this callid and it exists:</div>
                <div>
                  <div>[root@sbc2 ~]# opensips-cli -x mi dlg_list | grep
                    209eaf197691d8a937eb9d514104679c</div>
                  <div>            "callid": "<a
                      href="http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060"
                      moz-do-not-send="true">209eaf197691d8a937eb9d514104679c@192.168.20.190:5060</a>",</div>
                </div>
                <div><br>
                </div>
                <div>Then I try it like <a
href="https://opensips.org/html/docs/modules/3.1.x/dialog.html#mi_dlg_list"
                    moz-do-not-send="true">https://opensips.org/html/docs/modules/3.1.x/dialog.html#mi_dlg_list</a>
                  :</div>
                <div>
                  <div>[root@sbc2 ~]# opensips-cli -x mi dlg_list <a
                      href="http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060"
                      moz-do-not-send="true">209eaf197691d8a937eb9d514104679c@192.168.20.190:5060</a></div>
                  <div>ERROR: command 'dlg_list' returned: -32602:
                    Invalid params (Command only supports named
                    parameters)</div>
                </div>
                <div><br>
                </div>
                <div>and if I go by my guess:</div>
                <div>
                  <div>[root@sbc2 ~]# opensips-cli -x mi dlg_list
                    callid=<a
                      href="http://209eaf197691d8a937eb9d514104679c@192.168.20.190:5060"
                      moz-do-not-send="true">209eaf197691d8a937eb9d514104679c@192.168.20.190:5060</a></div>
                  <div>ERROR: command 'dlg_list' returned: -32000:
                    Server error</div>
                </div>
                <div><br>
                </div>
                <div>something broken?</div>
                <div><br>
                </div>
                <div>Mark</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>