Re: [OpenSIPS-Users] Question regarding Federated User Location Cluster

2021-01-25 Thread Liviu Chircu
On 22.01.2021 04:57, Jeffrey Zhao wrote: For example, for formal production system senario, two sites, with two opensips nodes for each site, HA mode for each site. 1. Should I deploy MySQL and Cassandra on each node? 4 MySQL instances and 4 Cassandra on each node? 2. Should I setup db replica

Re: [OpenSIPS-Users] REST / rest_get Challenge ...

2021-01-25 Thread Dinesh Krishnamurthy via Users
Thank you Liviu. Yes i realized the problem with the syntax and made the change. It is working now. I had to search for rest_get function and was directed to the earlier version of the documentation which i followed.  On Monday, January 25, 2021, 03:01:38 PM GMT+5:30, Liviu Chircu wrote:

Re: [OpenSIPS-Users] REST / rest_get Challenge ...

2021-01-25 Thread Liviu Chircu
On 25.01.2021 11:25, Dinesh Krishnamurthy via Users wrote: I am using the exact string as in example provided in the link below. If there any dependency that could cause this issue ? Thank you, * * *Example 1.8. |rest_get| usage* https://opensips.org/html/docs/modules/2.3.x/rest_client.html Y

Re: [OpenSIPS-Users] REST / rest_get Challenge ...

2021-01-25 Thread Dinesh Krishnamurthy via Users
Hi, I am using the exact string as in example provided in the link below. If there any dependency that could cause this issue ? Thank you,   Example 1.8. rest_get usage https://opensips.org/html/docs/modules/2.3.x/rest_client.html Thank you,Dinesh On Monday, January 25, 2021, 02:45:24 PM GM

Re: [OpenSIPS-Users] Limit Call per Second

2021-01-25 Thread Callum Guy
An alternative option would be to leverage cachedb_local and opensips-cli to implement your list of accounts and rate limits. It has the advantage of using the internal opensips cache service and is probably your most high performance option, with the CLI you can automate data refreshes using basic

Re: [OpenSIPS-Users] Rate_Cacher

2021-01-25 Thread Liviu Chircu
On 18.01.2021 10:41, zozon wrote: the functionality of rate_cacher would be enough for me. therefore I was wondering, when the beta/production version could be expected. Any milestones you could share? Hi, I've just updated rate_cacher's status from "alpha" to "beta", as it passed the OpenSI

Re: [OpenSIPS-Users] REST / rest_get Challenge ...

2021-01-25 Thread Liviu Chircu
On 25.01.2021 11:08, Dinesh Krishnamurthy via Users wrote: Jan 24 22:20:48 OpenSIPS /usr/sbin/opensips[739]: ERROR:core:fix_cmd: Param [2] expected to be a variable Jan 24 22:20:48 OpenSIPS /usr/sbin/opensips[739]: ERROR:core:fix_actions: Failed to fix command Jan 24 22:20:48 OpenSIPS /usr/sbin

[OpenSIPS-Users] REST / rest_get Challenge ...

2021-01-25 Thread Dinesh Krishnamurthy via Users
Hello, I am trying to test a REST API call using the example code provided in the documentation. I am experiencing the following error and opensips would not start. I am running opensips 3.1.1 (x86_64/linux) on Debian 10. Any help would be appreciated. Curl is also installed and i am able to que