No problem! My assumption is that for a short window both servers were
unreachable, that's why opensips was not able to use them.
I'm glad it all sorted out now.
Best regards,
Razvan
On 1/10/19 11:06 AM, Jens Erik Rive wrote:
Hello, Răzvan!
I am sorry for the inconvenience I have caused you. I have not been able to
reproduce this.
I don't know why I had the problem yesterday. It may have been the VMs that
needed a hard restart after configuration.
It is working in as expected now.
Best Regards,
Jens Erik
-----Original Message-----
From: Users <[email protected]> On Behalf Of Razvan Crainea
Sent: onsdag 9. januar 2019 17:36
To: [email protected]
Subject: Re: [OpenSIPS-Users] CGRateS redundancy
Hello, Jens Erik!
This should work - can you run opensips in debug mode and send us the syslog
output?
Best regards,
Răzvan
On 1/9/19 4:27 PM, Jens Erik Rive wrote:
Hi, I am running Opensips v.2.4.3 and two instances of cgrates bulidt 10.
December 2018.
I am trying to implement redundancy by defining the 2 CGRates servers as:
modparam("cgrates", "cgrates_engine", "10.40.2.21:2012") # CGRateS01
modparam("cgrates", "cgrates_engine", "10.40.2.23:2012") # CGRateS02
When I kill (poweroff) the 10.40.2.21 instance and try to call cgrates with:
cgrates_auth("$cgr(Account)", "$acc_extra(callee_id)") I receive -3
(No suitable CGRateS server found) in the response.
I have tested that I can call 10.40.2.23:2012 if modparam("cgrates", "cgrates_engine",
"10.40.2.21:2012") # CGRateS01 is omitted from the opensips.cfg script.
Is there anything I am doing wrong?
Thanks,
Jens Erik
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
Meet the OpenSIPS team at the next OpenSIPS Summit:
https://www.opensips.org/events
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
Meet the OpenSIPS team at the next OpenSIPS Summit:
https://www.opensips.org/events
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users