Voila!

ii  libev-dev                       1:4.15-3                                                          amd64        static library, header files, and docs for libev
ii  libevent-dev                    2.0.21-stable-2+deb8u1                                            amd64        Asynchronous event notification library (development files)

Also, your problem could be related to the max size of $jsonrpl(body) discussed in the 2 threads below.

https://lists.kamailio.org/pipermail/sr-users/2019-October/107194.html
https://lists.kamailio.org/pipermail/sr-users/2019-October/107092.html 

Cheers. 

On Tue, Jan 7, 2020 at 5:08 AM Emanuele Federico <kam.list@nhm.it> wrote:

Hi Sergiu,

thanks for your reply. With Kamailio v5.1.9 and CGRateS 0.9.1~rc8 git+fc97b08 (2020-01-02T16:01:14+01:00) all works fine!

I'm going to investigate in depth why Kamailio v5.2.5 does not able to correctly parse messages coming from CGRates even if configuration are the same over the two different version. 

Could you please share the libev and libevent packages installed on your environment? 

 

Many thanks in advance.

 

Emanuele

 

Il 2019-12-20 19:54 Sergiu Pojoga ha scritto:

Hi Emanuele,
 
Yes it's doable, not easy to put it all together at first. We have it running in production, can't really share entire snippets of script/config due to our company's policy.
 
# cgr-console --version
CGRateS 0.9.1~rc8 git+4030357 (2019-10-10T10:56:04+02:00)

# kamailio -v
version: kamailio 5.1.9
 
What challenges are you facing? May be post your troubles here and people will try to help.
 
You must have read it already, there's a Kamailio integration tutorial at https://cgrates.readthedocs.io/en/latest/tut_kamailio.html
 
Cheers.

On Fri, Dec 20, 2019 at 12:11 PM Emanuele Federico <kam.list@nhm.it> wrote:

Hi,

I'm testing the integration of CGRates v0.9.1~rc8 with a copy of Kamailio v5.2.5 already working in production. I'm experiencing several problems when Kamailio and CGRates communicates over evapi and exchanges events via JSON RPCs.

Has someone integrated CGRates with Kamailio to build a robust Prepaid System and could then share some information like:

- what version of Kamailio\CGRates integrates fine?
- relevant part of kamailio.cfg/cgrates.json configuration files?

Any other helps is really appreciated.

I take this opportunity to wish everyone a Merry Christmas and all the best for 2020.

 

Emanuele Federico

 
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users