<div dir="ltr">Bogdan,<div><br></div><div>Based on what you have provided, I decided to change the <font face="arial, helvetica, sans-serif">boxes.global.inc.php file as follows:</font></div><div><span style="font-family:Menlo;font-size:11px"><br></span></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">$box_id=0;</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">// mi host:port pair || fifo_file</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><b>$boxes[$box_id]['mi']['conn']="<a href="http://127.0.0.1:8080">127.0.0.1:8080</a>";</b></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">//boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";</p></div><div><br></div><div>It now is able to disable and enable the gateways. I'm not sure if anything else is broken as a result but I will go through the testing. Is there a reason why it would not work using the fifo file instead?</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Jeff Wilkie<br></div>Chief Technology Officer<br></div>US IP Communications<br>919.297.1057<br><br><br><i>"This e-mail communication and any attachments may contain confidential
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it is addressed.
Any views or opinions presented are solely those of the author and do
not necessarily represent those of USIPCOM, LLC. If you are not the
intended addressee, you are hereby notified that you have received this
communication in error and that any use or reproduction of this email or
its contents is strictly prohibited and may be unlawful. If you have
received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer. Thank you".
</i><br></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Jeff,<br>
<br>
To have the CP connecting to OpenSIPS you can use any of the MI
backends - FIFO, XMLRPC, UDP...any will do the trick. The downside
of FIFO is that the CP and OpenSIPS must be on the same server.<br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span><div><div class="h5"><div>On 09.06.2016 17:38, Jeff Wilkie wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><font face="arial, helvetica, sans-serif">Is XMLRPC
required to make this function work? Currently, we are only
using the fifo method as the boxes.global.inc.php only
referencing this method. The documentation for CP says to use
one or the other but does not mention that some functions will
not work if not using XMLRPC. </font>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">Thanks</font></div>
<div><font face="arial, helvetica, sans-serif">Jeff</font></div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div>Jeff Wilkie<br>
</div>
Chief Technology Officer<br>
</div>
US IP Communications<br>
<a href="tel:919.297.1057" value="+19192971057" target="_blank">919.297.1057</a><br>
<br>
<br>
<i>"This e-mail communication and any attachments may
contain confidential and privileged information and is
for use by the designated addressee(s) named above only.
Any files transmitted with it are confidential and
intended solely for the use of the individual to whom it
is addressed. Any views or opinions presented are solely
those of the author and do not necessarily represent
those of USIPCOM, LLC. If you are not the intended
addressee, you are hereby notified that you have
received this communication in error and that any use or
reproduction of this email or its contents is strictly
prohibited and may be unlawful. If you have received
this communication in error, please notify us
immediately by replying to this message and deleting it
from your computer. Thank you". </i><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Jun 7, 2016 at 6:52 AM,
Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi Jeff,<br>
<br>
So, FIFO works ok for you, but CP (using xmlrpc fails).
Can you make a capture of the XMLRPC traffic between CP
and OpenSIPS and post it somewhere ?<br>
<br>
Regards,<br>
</tt><span>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 31.05.2016 17:27, Jeff Wilkie wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">OpenSIPS
Control Panel version 5.0</p>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div>Jeff Wilkie<br>
</div>
Chief Technology Officer<br>
</div>
US IP Communications<br>
<a href="tel:919.297.1057" value="+19192971057" target="_blank">919.297.1057</a><br>
<br>
<br>
<i>"This e-mail communication and any
attachments may contain confidential and
privileged information and is for use by
the designated addressee(s) named above
only. Any files transmitted with it are
confidential and intended solely for the
use of the individual to whom it is
addressed. Any views or opinions presented
are solely those of the author and do not
necessarily represent those of USIPCOM,
LLC. If you are not the intended
addressee, you are hereby notified that
you have received this communication in
error and that any use or reproduction of
this email or its contents is strictly
prohibited and may be unlawful. If you
have received this communication in error,
please notify us immediately by replying
to this message and deleting it from your
computer. Thank you". </i><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, May 31, 2016 at
3:28 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank"></a><a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> <tt>Hi
Jeff,<br>
<br>
What OpenSIPS Control Panel version are
you using ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 21.05.2016 00:15, Jeff Wilkie
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div>OPENSIPS 1.10.x</div>
I have the following set
<div><br>
</div>
<div>opensips.cfg</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">####
FIFO Management Interface</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">loadmodule
"mi_fifo.so"</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">modparam("mi_fifo",
"fifo_name",
"/tmp/opensips_proxy_fifo")</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">modparam("mi_fifo",
"fifo_mode", 0666)</p>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctlrc</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">##
path to FIFO file</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">OSIPS_FIFO="/tmp/opensips_proxy_fifo"</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br>
</p>
<p style="margin:0px;line-height:normal"><font face="arial, helvetica,
sans-serif">Attempting to
disable gateways via the CP
gives the following errors:</font></p>
<p style="margin:0px;line-height:normal"><font face="arial, helvetica,
sans-serif"><br>
</font></p>
<p style="margin:0px;line-height:normal"><font face="arial, helvetica,
sans-serif">From
DROUTING-Gateway interface:</font></p>
<p style="margin:0px;line-height:normal"><font face="arial, helvetica,
sans-serif"><br>
</font></p>
</div>
<div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;text-align:-webkit-center;background-color:rgb(233,236,239)">Error
while disabling gateway 2</span><br>
</div>
<div>
<div>
<div dir="ltr">
<div>(the GWID is 2 for the
gateway I'm attempting to
disable)</div>
<div><br>
</div>
<div>From the MI Commands:</div>
<div>Initiating the
following command: <b style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;background-color:rgb(238,238,204)">dr_gw_status
2 0</b></div>
<div>404 GW ID not found</div>
<div><br>
</div>
<div>From the
DROUTING-Gateway interface
I am able to enable the
interface if it is
disabled</div>
<div>I'm able to also enable
the Gateway from the MI
Commands section.</div>
<div><br>
</div>
<div>I'm also able to enable
and disable the Gateway
using opensipsctl fifo
commands</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo dr_gw_status 2</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Enabled::
yes</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo dr_gw_status 2 0</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo dr_gw_status 2</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Enabled::
no </p>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo dr_gw_status 2 1</p>
</div>
<div>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo dr_gw_status 2</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Enabled::
yes</p>
</div>
<div><br>
</div>
<div>Not sure where the
problem is but I feel its
somewhere in the syntax of
how its delivered. I'm
sure it's something easy
I've overlooked. Any help
on this?</div>
<div><br>
</div>
<div>Thanks</div>
<div>Jeff</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>