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 a

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, XM

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.c

[OpenSIPS-Users] How to update table location, but directly on memory cache (RAM)?

2016-06-09 Thread Rodrigo Pimenta Carvalho
Hi. My script has the configuration: modparam("usrloc", "db_mode", 2) modparam("usrloc", "timer_interval",3) Always after receiving a new register in table location, I must to execute a code like this: avp_db_query("UPDATE location... That is, an update will complement data in the new re

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 Jef

Re: [OpenSIPS-Users] Problems migrating from v2.1 to v2.2

2016-06-09 Thread Bogdan-Andrei Iancu
Hi John, Thank you for your report. I found a typo (c'n'p error) in the DB migration code - this is fixed now, so you can update from GIT and re-test. We will follow up on the issue related to the CTL scripts. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-s