[OpenSIPS-Users] OpenSIPS Control Panel

Michael Ciupka opensips at michael-ciupka.de
Fri Apr 24 10:47:32 CEST 2009


Hello,

Can somebody please help me to configure the boxes.global.inc.php correctly.
I have read the documentation but by this part i dont know what i must write: can you help me to set the variables correctly? because when i click on some buttons in der WI i get an endless loop and i think it must be the problem that my boxes.global.inc doesnt work correct.
$box_id=0;
// mi host:port pair || fifo_file
$boxes[$box_id]['mi']['conn']="192.168.2.6:8080";

// monit host:port
$boxes[$box_id]['monit']['conn']="192.168.2.6:2812";
$boxes[$box_id]['monit']['user']="RPC2";
$boxes[$box_id]['monit']['pass']="";
$boxes[$box_id]['monit']['has_ssl']=1;

// description (appears in mi , monit )
$boxes[$box_id]['desc']="192.168.2.6";
 
$boxes[$box_id]['assoc_id']=1;

// enable local smonitor charts on this box : 0=disabled 1=enabled
$boxes[$box_id]['smonitor']['charts']=1;
---------------------------------------------------------------------------
my opensips-mi-proxy:
socket = /var/run/opensips/socket
listen_url = http://192.168.2.6:8080
xmlrpc_root = RPC2
trusted = any
reply_option = string

Regards
Michael



More information about the Users mailing list