<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hello Albary,<br>
      <br>
      You if you have a single OpenSIPS box configured into boxes file,
      the drop-down in the MI tool does not work by default ?<br>
      <br>
      Regards,<br>
    </tt>
    <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 Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 04/22/2019 04:51 PM, Albary Franco
      Pimpao Junior wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:536576656398db6d9807626302082977@expresso.pr.gov.br">
      <div>Hi people,</div>
      <div><br>
      </div>
      <div>Recently I did a git clone of cp for opensips 2.4.x and setup
        for just one server with MI conn via json. In order to be
        successfull in the connection my collegue Frederico helped me
        and did a workaround in ... mi/lib/functions.inc.php. In
        function show_boxes it was included before foreach statement:<br>
      </div>
      <div><br>
      </div>
      <div>if ( empty( $_SESSION['mi_current_box'] ) )<br>
      </div>
      <div>           echo '<option value="0" selected>- select
        -</option>';</div>
      <div><br>
      </div>
      <div>Maybe others have already passed into the same problem. I
        don't know if there's a better way to do it.<br>
        <br>
        Thanks and Best Regards<br>
      </div>
      <div><br>
      </div>
      <div>Albary - Celepar<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>