Re: [OpenSIPS-Users] opensips-cp 8.2.4 MI page and drop-down Servers

2019-04-23 Thread Bogdan-Andrei Iancu

Hello Albary,

You if you have a single OpenSIPS box configured into boxes file, the 
drop-down in the MI tool does not work by default ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 04/22/2019 04:51 PM, Albary Franco Pimpao Junior wrote:

Hi people,

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:


if ( empty( $_SESSION['mi_current_box'] ) )
   echo '- select -';

Maybe others have already passed into the same problem. I don't know 
if there's a better way to do it.


Thanks and Best Regards

Albary - Celepar


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] opensips-cp 8.2.4 MI page and drop-down Servers

2019-04-22 Thread Albary Franco Pimpao Junior

Hi people,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:if ( empty( $_SESSION['mi_current_box'] ) )   echo '- select -';Maybe others have already passed into the same problem. I don't know if there's a better way to do it.Thanks and Best RegardsAlbary - Celepar




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users