[OpenSIPS-Users] CGRateS redundancy
Răzvan Crainea
razvan at opensips.org
Wed Jan 9 11:35:59 EST 2019
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
> Users at lists.opensips.org
> 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
More information about the Users
mailing list