Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-13 Thread Jeff Wilkie
>From the CP gateway web GUI,

>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

But I am able to enable the gateway from both interfaces if they are
disabledthat'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 
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 ";*
>
> //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 <
> bog...@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 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-10 Thread Jeff Wilkie
I have a  more detailed message awaiting approval, but the answer is yes to
the question.  Although I do have to hit "Apply changes to server" before
it takes place.

Thanks

Jeff Wilkie

On Fri, Jun 10, 2016 at 6:34 AM, Bogdan-Andrei Iancu 
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 ";*
>
> //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 <
> bog...@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 <
>> bog...@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
>>> 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-10 Thread Bogdan-Andrei Iancu

Hi Jeff,

So, from CP, using the FIFO backend, the enabling works, but the 
disabling doesn't ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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 ";*

//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 
> 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 Developer
http://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
> 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 Developer
http://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


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-09 Thread Jeff Wilkie
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 ";*

//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 
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 <
> bog...@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 <
>> bog...@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)
>>>

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-09 Thread Jeff Wilkie
Yes. CP and opensips are on the same server.  Only the disable doesn't
work. I can enable them using CP.

Thanks

Jeff Wilkie
USIP Communications
On Jun 9, 2016 11:14 AM, "Bogdan-Andrei Iancu"  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 
> 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 > > 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 
>>> 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-09 Thread Bogdan-Andrei Iancu

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 Developer
http://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 
> 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 Developer
http://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
> wrote:

Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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 list
Users@lists.opensips.org 

Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-09 Thread Jeff Wilkie
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 
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 <
> bog...@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@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-06-07 Thread Bogdan-Andrei Iancu

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 Developer
http://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 
> wrote:


Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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 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


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-05-31 Thread Jeff Wilkie
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 
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@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips CP DROUTING GATEWAY enable/disable issue

2016-05-31 Thread Bogdan-Andrei Iancu

Hi Jeff,

What OpenSIPS Control Panel version are you using ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://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 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 DROUTING GATEWAY enable/disable issue

2016-05-20 Thread Jeff Wilkie
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 list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users