<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
      And do you see any errors in the OpenSIPS logs ?<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 12/8/21 11:49 AM, jacky z wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOB03DvZYgXJ1Gnv3AFRjOzUmp8atR_4EY-wTVBBKwVKKp4LWA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hi Team,
            <div><br>
            </div>
            <div>We are trying to send messages with opensips-cli, but
              can't find too much info on how to make it work. Here is
              what we tried but it did not work.</div>
            <div><br>
            </div>
            <div>opensips-cli -x mi t_uac_dlg method=MESSAGE ruri="<a
                href="http://sip:alice@sip.domain.com:5061"
                moz-do-not-send="true">sip:alice@sip.domain.com:5061</a>"
              headers="From: <a
                href="http://sip:bob@sip.domain.com:5061"
                moz-do-not-send="true">sip:bob@sip.domain.com:5061</a>\r\nTo:
              <a href="http://sip:alice@sip.domain.com:5061"
                moz-do-not-send="true">sip:alice@sip.domain.com:5061</a>\r\nContact:
              <a href="http://sip:bob@sip.domain.com:5061"
                moz-do-not-send="true">sip:bob@sip.domain.com:5061</a>\r\nContent-Type:
              text/plain\r\n" body="123456\r\n"<br>
            </div>
            <div><br>
            </div>
            <div>We are using OPENSIPS 3.1 and here is the error we get,</div>
            <div><br>
            </div>
            <div>
              <div>ERROR: command 't_uac_dlg' returned: 500: Server
                error occurred (1/MI/UAC)</div>
            </div>
            <div><br>
            </div>
            <div>Anything wrong with the above command line? Thanks!</div>
            <div><br>
            </div>
            <div>Regards,</div>
            <div>jacky</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>
    <br>
  </body>
</html>