No subject
Wed Jan 27 21:05:54 CET 2016
404 GW ID not found
But I am able to enable the gateway from both interfaces if they are
disabled....that's what's weird and why I started to look into the php to
see if there were errors but it appears to be deeper than that. The one
thing I do notice is that to enable the gateways if they are disabled (from
the GUI drouting/gateways) after I've selected enable and hit okay, I then
have to hit "apply changes to server" for it to take place.
Testing like this:
# opensipsctl fifo dr_gw_status 2
Enabled:: yes
# opensipsctl fifo dr_gw_status 2 0
# opensipsctl fifo dr_gw_status 2
Enabled:: no
Then go to the GUI. The red indicator shows GW2 was disabled.
I click on the red status, it asks me to enable, which I do. After which,
the GUI shows no update of being enabled nor does ctl when I check its
status.
# opensipsctl fifo dr_gw_status 2
Enabled:: no
I then hit "apply changes to server" and update the page which then turns
the indicator green. CTL now shows enabled.
# opensipsctl fifo dr_gw_status 2
Enabled:: yes
The same process does not work for disabling it though, only enabling.
Jeff Wilkie
Chief Technology Officer
US IP Communications
919.297.1057
*"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". *
On Fri, Jun 10, 2016 at 6:34 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:
> Hi Jeff,
>
> So, from CP, using the FIFO backend, the enabling works, but the disabling
> doesn't ?
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
> On 09.06.2016 22:30, Jeff Wilkie wrote:
>
> Bogdan,
>
> Based on what you have provided, I decided to change the boxes.global.inc.php
> file as follows:
>
> $box_id=0;
>
>
> // mi host:port pair || fifo_file
>
> *$boxes[$box_id]['mi']['conn']="127.0.0.1:8080 <http://127.0.0.1:8080>";*
>
> //boxes[$box_id]['mi']['conn']="/tmp/opensips_proxy_fifo";
>
> 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?
>
>
> Jeff Wilkie
> Chief Technology Officer
> US IP Communications
> 919.297.1057
>
>
> *"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". *
>
> On Thu, Jun 9, 2016 at 11:14 AM, Bogdan-Andrei Iancu <
> <bogdan at opensips.org>bogdan at opensips.org> wrote:
>
>> Jeff,
>>
>> 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.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 09.06.2016 17:38, Jeff Wilkie wrote:
>>
>> 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.
>>
>> Thanks
>> Jeff
>>
>> Jeff Wilkie
>> Chief Technology Officer
>> US IP Communications
>> 919.297.1057
>>
>>
>> *"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". *
>>
>> On Tue, Jun 7, 2016 at 6:52 AM, Bogdan-Andrei Iancu <
>> <bogdan at opensips.org>bogdan at opensips.org> wrote:
>>
>>> Hi Jeff,
>>>
>>> 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
>>> ?
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>
>>> On 31.05.2016 17:27, Jeff Wilkie wrote:
>>>
>>> OpenSIPS Control Panel version 5.0
>>>
>>> Jeff Wilkie
>>> Chief Technology Officer
>>> US IP Communications
>>> 919.297.1057
>>>
>>>
>>> *"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". *
>>>
>>> On Tue, May 31, 2016 at 3:28 AM, Bogdan-Andrei Iancu <
>>> <bogdan at opensips.org>bogdan at opensips.org> wrote:
>>>
>>>> Hi Jeff,
>>>>
>>>> What OpenSIPS Control Panel version are you using ?
>>>>
>>>> Regards,
>>>>
>>>> Bogdan-Andrei Iancu
>>>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>>>
>>>> On 21.05.2016 00:15, Jeff Wilkie wrote:
>>>>
>>>> OPENSIPS 1.10.x
>>>> I have the following set
>>>>
>>>> opensips.cfg
>>>>
>>>> #### FIFO Management Interface
>>>>
>>>> loadmodule "mi_fifo.so"
>>>>
>>>> modparam("mi_fifo", "fifo_name", "/tmp/opensips_proxy_fifo")
>>>>
>>>> modparam("mi_fifo", "fifo_mode", 0666)
>>>>
>>>> opensipsctlrc
>>>>
>>>> ## path to FIFO file
>>>>
>>>> OSIPS_FIFO="/tmp/opensips_proxy_fifo"
>>>>
>>>>
>>>> Attempting to disable gateways via the CP gives the following errors:
>>>>
>>>>
>>>> From DROUTING-Gateway interface:
>>>>
>>>>
>>>> Error while disabling gateway 2
>>>> (the GWID is 2 for the gateway I'm attempting to disable)
>>>>
>>>> From the MI Commands:
>>>> Initiating the following command: *dr_gw_status 2 0*
>>>> 404 GW ID not found
>>>>
>>>> From the DROUTING-Gateway interface I am able to enable the interface
>>>> if it is disabled
>>>> I'm able to also enable the Gateway from the MI Commands section.
>>>>
>>>> I'm also able to enable and disable the Gateway using opensipsctl fifo
>>>> commands
>>>>
>>>> opensipsctl fifo dr_gw_status 2
>>>>
>>>> Enabled:: yes
>>>>
>>>> opensipsctl fifo dr_gw_status 2 0
>>>>
>>>> opensipsctl fifo dr_gw_status 2
>>>>
>>>> Enabled:: no
>>>>
>>>> opensipsctl fifo dr_gw_status 2 1
>>>>
>>>> opensipsctl fifo dr_gw_status 2
>>>>
>>>> Enabled:: yes
>>>>
>>>> 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?
>>>>
>>>> Thanks
>>>> Jeff
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--001a1143e3c0828f2c0534ed9f8a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span class=3D"im"><font color=3D"#000000">From the CP gat=
eway web GUI,=C2=A0</font></span><div><font color=3D"#000000"><div><p style=
=3D"margin:0px;line-height:normal"><font face=3D"arial, helvetica, sans-ser=
if">From DROUTING-Gateway interface:</font></p><p style=3D"margin:0px;line-=
height:normal"><font face=3D"arial, helvetica, sans-serif"><br></font></p><=
/div><span class=3D"im"><span style=3D"font-family:Verdana,Arial,Helvetica,=
sans-serif;text-align:-webkit-center;background-color:rgb(233,236,239)">Err=
or while disabling gateway 2</span><br></span></font><div><div dir=3D"ltr">=
<span class=3D"im"><div><font color=3D"#000000">(the GWID is 2 for the gate=
way I'm attempting to disable)</font></div><div><font color=3D"#000000"=
><br></font></div><div><font color=3D"#000000">From the MI Commands:</font>=
</div><div><font color=3D"#000000">Initiating the following command:=C2=A0<=
b style=3D"font-family:Verdana,Arial,Helvetica,sans-serif;background-color:=
rgb(238,238,204)">dr_gw_status 2 0</b></font></div><div><font color=3D"#000=
000">404 GW ID not found</font></div><div><br></div></span><span class=3D"i=
m"><div style=3D"font-size:13px">But I am able to enable the gateway from b=
oth interfaces if they are disabled....that's what's weird and why =
I started to look into the php to see if there were errors but it appears t=
o be deeper than that.=C2=A0 The one thing I do notice is that to enable th=
e gateways if they are disabled (from the GUI drouting/gateways) after I=
9;ve selected enable and hit okay, I then have to hit "apply changes t=
o server" for it to take place. =C2=A0</div><div style=3D"font-size:13=
px"><br></div><div style=3D"font-size:13px">Testing like this:</div><div st=
yle=3D"font-size:13px"><br></div></span><div style=3D"font-size:13px"><p st=
yle=3D"margin:0px;font-size:11px;line-height:normal;font-family:Menlo"># op=
ensipsctl fifo dr_gw_status 2=C2=A0</p><p style=3D"margin:0px;font-size:11p=
x;line-height:normal;font-family:Menlo">Enabled:: yes</p></div><div style=
=3D"font-size:13px"><p style=3D"margin:0px;font-size:11px;line-height:norma=
l;font-family:Menlo"># opensipsctl fifo dr_gw_status 2 0</p><p style=3D"mar=
gin:0px;font-size:11px;line-height:normal;font-family:Menlo"># opensipsctl =
fifo dr_gw_status 2=C2=A0</p><p style=3D"margin:0px;font-size:11px;line-hei=
ght:normal;font-family:Menlo"></p><p style=3D"margin:0px;font-size:11px;lin=
e-height:normal;font-family:Menlo">Enabled:: no=C2=A0</p></div><div style=
=3D"font-size:13px"><br></div><span class=3D"im"><div style=3D"font-size:13=
px">Then go to the GUI.=C2=A0 The red indicator shows GW2 was disabled.</di=
v><div><br></div><div><div style=3D"color:rgb(34,34,34);font-size:13px"><sp=
an class=3D"im"><div>I click on the red status, it asks me to enable, which=
I do.=C2=A0 After which, the GUI shows no update of being enabled nor does=
ctl when I check its status.</div><div><br></div></span><div><p style=3D"m=
argin:0px;font-size:11px;line-height:normal;font-family:Menlo"># opensipsct=
l fifo dr_gw_status 2=C2=A0</p><p style=3D"margin:0px;font-size:11px;line-h=
eight:normal;font-family:Menlo">Enabled:: no=C2=A0</p></div><div><br></div>=
<span class=3D"im"><div>I then hit "apply changes to server" and =
update the page which then turns the indicator green.=C2=A0 CTL now shows e=
nabled.</div><div><br></div></span><div><p style=3D"margin:0px;font-size:11=
px;line-height:normal;font-family:Menlo"># opensipsctl fifo dr_gw_status 2=
=C2=A0</p><p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo">Enabled:: yes</p></div><div><br></div><span class=3D"im">The sam=
e process does not work for disabling it though, only enabling.</span></div=
></div><div><span class=3D"im"><br></span></div></span></div></div></div></=
div><div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_s=
ignature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div>Jef=
f 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 attachm=
ents may contain confidential=20
and privileged information and is for use by the designated addressee(s)
named above only. Any files transmitted with it are confidential and=20
intended solely for the use of the individual to whom it is addressed.=20
Any views or opinions presented are solely those of the author and do=20
not necessarily represent those of USIPCOM, LLC. If you are not the=20
intended addressee, you are hereby notified that you have received this=20
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=20
received this communication in error, please notify us immediately by=20
replying to this message and deleting it from your computer. Thank you"=
;.=20
</i><br></div></div></div>
<br><div class=3D"gmail_quote">On Fri, Jun 10, 2016 at 6:34 AM, Bogdan-Andr=
ei Iancu <span dir=3D"ltr"><<a href=3D"mailto:bogdan at opensips.org" targe=
t=3D"_blank">bogdan at opensips.org</a>></span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
=20
=20
=20
<div text=3D"#000000" bgcolor=3D"#FFFFFF">
<tt>Hi Jeff,<br>
<br>
So, from CP, using the FIFO backend, the enabling works, but the
disabling doesn't ?<br>
<br>
Regards,<br>
</tt><span class=3D"">
<pre cols=3D"72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href=3D"http://www.opensips-solutions.com" target=3D"_blank">http://www.=
opensips-solutions.com</a></pre>
</span><div><div class=3D"h5"><div>On 09.06.2016 22:30, Jeff Wilkie wro=
te:<br>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr">Bogdan,
<div><br>
</div>
<div>Based on what you have provided, I decided to change the=C2=A0=
<font face=3D"arial, helvetica, sans-serif">boxes.global.inc.php
file as follows:</font></div>
<div><span style=3D"font-family:Menlo;font-size:11px"><br>
</span></div>
<div>
<p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo">$box_id=3D0;</p>
<p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo;min-height:13px"><br>
</p>
<p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo">//
mi host:port pair || fifo_file</p>
<p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo"><b>$boxes[$box_id]['mi']['conn']=3D"<a href=
=3D"http://127.0.0.1:8080" target=3D"_blank">127.0.0.1:8080</a>";</b><=
/p>
<p style=3D"margin:0px;font-size:11px;line-height:normal;font-fam=
ily:Menlo">//boxes[$box_id]['mi']['conn']=3D"/tmp/open=
sips_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.=C2=A0 Is there a reason why it would not wor=
k
using the fifo file instead?</div>
<div><br>
</div>
</div>
<div class=3D"gmail_extra"><br clear=3D"all">
<div>
<div data-smartmail=3D"gmail_signature">
<div dir=3D"ltr">
<div>
<div>Jeff Wilkie<br>
</div>
Chief Technology Officer<br>
</div>
US IP Communications<br>
<a href=3D"tel:919.297.1057" value=3D"+19192971057" target=3D=
"_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=3D"gmail_quote">On Thu, Jun 9, 2016 at 11:14 AM,
Bogdan-Andrei Iancu <span dir=3D"ltr"><<a href=3D"mailto:bogda=
n at opensips.org" target=3D"_blank"></a><a href=3D"mailto:bogdan at opensips.org=
" target=3D"_blank">bogdan at opensips.org</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
<div text=3D"#000000" bgcolor=3D"#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>
<pre cols=3D"72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href=3D"http://www.opensips-solutions.com" target=3D"_blank">http://www.=
opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 09.06.2016 17:38, Jeff Wilkie wrote:<br>
</div>
<blockquote type=3D"cite">
<div dir=3D"ltr"><font face=3D"arial, helvetica,
sans-serif">Is XMLRPC required to make this
function work?=C2=A0 Currently, we are only using t=
he
fifo method as the=C2=A0boxes.global.inc.php only
referencing this method.=C2=A0 The documentation fo=
r
CP says to use one or the other but does not
mention that some functions will not work if not
using XMLRPC. =C2=A0</font>
<div><font face=3D"arial, helvetica, sans-serif"><br>
</font></div>
<div><font face=3D"arial, helvetica, sans-serif">Than=
ks</font></div>
<div><font face=3D"arial, helvetica, sans-serif">Jeff=
</font></div>
</div>
<div class=3D"gmail_extra"><br clear=3D"all">
<div>
<div data-smartmail=3D"gmail_signature">
<div dir=3D"ltr">
<div>
<div>Jeff Wilkie<br>
</div>
Chief Technology Officer<br>
</div>
US IP Communications<br>
<a href=3D"tel:919.297.1057" value=3D"+19192971=
057" target=3D"_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=3D"gmail_quote">On Tue, Jun 7, 2016 at
6:52 AM, Bogdan-Andrei Iancu <span dir=3D"ltr"><=
<a href=3D"mailto:bogdan at opensips.org" target=3D"_blank"></a><a href=3D"mai=
lto:bogdan at opensips.org" target=3D"_blank">bogdan at opensips.org</a>></spa=
n>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0=
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text=3D"#000000" bgcolor=3D"#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=3D"72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href=3D"http://www.opensips-solutions.com" target=3D"_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=3D"cite">
<div dir=3D"ltr">
<p style=3D"margin:0px;font-size:11px;l=
ine-height:normal;font-family:Menlo">OpenSIPS
Control Panel version 5.0</p>
</div>
<div class=3D"gmail_extra"><br clear=3D"a=
ll">
<div>
<div data-smartmail=3D"gmail_signatur=
e">
<div dir=3D"ltr">
<div>
<div>Jeff Wilkie<br>
</div>
Chief Technology Officer<br>
</div>
US IP Communications<br>
<a href=3D"tel:919.297.1057" valu=
e=3D"+19192971057" target=3D"_blank">919.297.1057</a><br>
<br>
<br>
<i>"This e-mail communicatio=
n
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=3D"gmail_quote">On Tue, May
31, 2016 at 3:28 AM, Bogdan-Andrei
Iancu <span dir=3D"ltr"><<a href=
=3D"mailto:bogdan at opensips.org" target=3D"_blank"></a><a href=3D"mailto:bog=
dan at opensips.org" target=3D"_blank">bogdan at opensips.org</a>></span>
wrote:<br>
<blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text=3D"#000000" bgcolor=3D"#F=
FFFFF"> <tt>Hi
Jeff,<br>
<br>
What OpenSIPS Control Panel
version are you using ?<br>
<br>
Regards,<br>
</tt>
<pre cols=3D"72">Bogdan-Andrei Ia=
ncu
OpenSIPS Founder and Developer
<a href=3D"http://www.opensips-solutions.com" target=3D"_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=3D"cite">
<div>
<div>
<div dir=3D"ltr">
<div>OPENSIPS 1.10.x</div=
>
I have the following
set
<div><br>
</div>
<div>opensips.cfg</div>
<div>
<p style=3D"margin:0px;=
font-size:11px;line-height:normal;font-family:Menlo">####
FIFO Management
Interface</p>
<p style=3D"margin:0px;=
font-size:11px;line-height:normal;font-family:Menlo">loadmodule
"mi_fifo.so"=
;</p>
<p style=3D"margin:0px;=
font-size:11px;line-height:normal;font-family:Menlo">modparam("mi_fifo=
",
"fifo_name"=
,
"/tmp/opensips_p=
roxy_fifo")</p>
<p style=3D"margin:0px;=
font-size:11px;line-height:normal;font-family:Menlo">modparam("mi_fifo=
",
"fifo_mode"=
, 0666)</p>
<div><br>
</div>
<div>
<p style=3D"margin:0p=
x;font-size:11px;line-height:normal;font-family:Menlo">opensipsctlrc</p>
<p style=3D"margin:0p=
x;font-size:11px;line-height:normal;font-family:Menlo">##
path to FIFO
file</p>
<p style=3D"margin:0p=
x;font-size:11px;line-height:normal;font-family:Menlo">OSIPS_FIFO=3D"/=
tmp/opensips_proxy_fifo"</p>
<p style=3D"margin:0p=
x;font-size:11px;line-height:normal;font-family:Menlo"><br>
</p>
<p style=3D"margin:0p=
x;line-height:normal"><font face=3D"arial,
helvetica,
sans-serif">Attem=
pting
to disable
gateways via
the CP gives
the following
errors:</font></p=
>
<p style=3D"margin:0p=
x;line-height:normal"><font face=3D"arial,
helvetica,
sans-serif"><br>
</font></p>
<p style=3D"margin:0p=
x;line-height:normal"><font face=3D"arial,
helvetica,
sans-serif">From
DROUTING-Gateway
interface:</font>=
</p>
<p style=3D"margin:0p=
x;line-height:normal"><font face=3D"arial,
helvetica,
sans-serif"><br>
</font></p>
</div>
<div><span style=3D"col=
or: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=3D"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:=C2=A0<b =
style=3D"color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;fo=
nt-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</di=
v>
<div><br>
</div>
<div>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo
dr_gw_status 2</p=
>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">Enabled::
yes</p>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo
dr_gw_status 2
0</p>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo
dr_gw_status 2</p=
>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">
</p>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">Enabled::
no=C2=A0</p>
</div>
<div>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo
dr_gw_status 2
1</p>
</div>
<div>
<p style=3D"margi=
n:0px;font-size:11px;line-height:normal;font-family:Menlo">opensipsctl
fifo
dr_gw_status 2</p=
>
<p style=3D"margi=
n: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.=C2=A0
I'm sure it&#=
39;s
something easy
I've
overlooked.=C2=A0
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=3D"mailto:Users at lists.opensips.org" target=3D"_blank">Users at lists.o=
pensips.org</a>
<a href=3D"http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target=
=3D"_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>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
--001a1143e3c0828f2c0534ed9f8a--
More information about the Users
mailing list