Real-time integtration Kazoo / CGRates

155 views
Skip to first unread message

виктор

unread,
Apr 12, 2018, 5:54:30 AM4/12/18
to CGRateS
Hello,

I would like to integrate, in real-time, the Kazoo VoIP platform with CGRates.

Kazoo can provide/"publish" the CDR, in ~real-time, via RabbitMQ AMQP, so it is the preferred integration method rather than using the Media Server (FreeSwitch) directly.

Is it possible? Could you please point me to an example or documentation?

Thanks,

Vic


DanB

unread,
Apr 12, 2018, 6:00:08 AM4/12/18
to cgr...@googlegroups.com
Hi Vic,

Currently we don't have an option for CDR import via AMQP (just
export). Your best bet is to grab the CDRs yourself from RabbitMQ and
push it via JSON-RPC to CGRateS using this API:
https://godoc.org/github.com/cgrates/cgrates/apier/v1#CdrsV1.ProcessExt
ernalCDR

You can also open an issue on github and we will try to implement AMQP
imports as soon as the time will allow.

Thanks,
DanB
> --
> You received this message because you are subscribed to the Google
> Groups "CGRateS" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to cgrates+u...@googlegroups.com.
> To post to this group, send email to cgr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/cgrates/1848e041-01eb-4a2a-998b-fc11c4188045%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

Victor Velo

unread,
Apr 12, 2018, 6:05:19 AM4/12/18
to cgr...@googlegroups.com
Hi Dan,

Will take a look at the link and doc about JSON-RPC.

Thank,

Vic


> To post to this group, send email to cgr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/cgrates/1848e041-01eb-4a2a-998b-fc11c4188045%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+unsubscribe@googlegroups.com.

To post to this group, send email to cgr...@googlegroups.com.

వెంకటేష్ ఎన్నల

unread,
Mar 1, 2019, 12:03:54 AM3/1/19
to CGRateS
Hi Dan,

We are also in need of a having imports using message brokers.
Let me know if can I raised a feature request.

Also all our infrastructure is based on kafka .. can I raised a request to have both imports and exports implementation for kafka.

Thanks.
> send an email to cgrates+u...@googlegroups.com.

> To post to this group, send email to cgr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/cgrates/1848e041-01eb-4a2a-998b-fc11c4188045%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.

To post to this group, send email to cgr...@googlegroups.com.

Dan Christian Bogos

unread,
Mar 1, 2019, 12:24:00 PM3/1/19
to cgr...@googlegroups.com
Hi Vic,

Sure, you can open an issue on github and will check it when the time
is right.

Thanks,
DanB

వెంకటేష్ ఎన్నల

unread,
Mar 1, 2019, 1:41:49 PM3/1/19
to CGRateS
Thanks Dan.

Ibrahima Gaye

unread,
Mar 5, 2019, 7:06:41 AM3/5/19
to cgr...@googlegroups.com
Hello dear support & everybody,
Would it be possible to use CGRATES as an online charging system just by using the diameter interface ? (without all the pbx stuff).
The interface diameter-agent->sm-generic->rals let me think it is possible but i don't know if something else is required.
Any hint is hghly appreciated.
Best regards,

Ibrahima GAYE

Teofil Voivozeanu

unread,
Mar 5, 2019, 7:43:44 AM3/5/19
to CGRateS
Hi Ibrahima,

Yes, you can use Diameter as an OCS.


Thanks,
TeoV


Ibrahima Gaye

unread,
Mar 5, 2019, 8:57:29 AM3/5/19
to cgr...@googlegroups.com
Thank you very much Theofil,
please where can i find the list of diameter messages already implemented ?
Ibrahima GAYE



--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.

Ibrahima Gaye

unread,
Mar 5, 2019, 5:39:53 PM3/5/19
to cgr...@googlegroups.com
I meant diameter-application interfaces (by messages): Ro, Gy etc ... . 
I have spent few hours reading the group and trying to setup an initial running server.
It seems to me any interface may be supported provide the lower level transport (sctp/tcp) is supported and
provider the messages flows (request/replies) are defined... But how about the business (application) logic where is it defined ?
Best regards,

Ibrahima GAYE


Ibrahima Gaye

unread,
Mar 5, 2019, 5:47:20 PM3/5/19
to cgr...@googlegroups.com
lot of readings ahead don't even know from which end to start ... don't even know the ends :)
Ibrahima GAYE


Teofil Voivozeanu

unread,
Mar 6, 2019, 6:27:26 AM3/6/19
to CGRateS
Hi Ibrahima,

Regarding diameter messages they are generic. You can define them as you want.
The business logic is defined in processor templates.
A good point from where to start is from our configuration, and from there adapt to your cases.


Thanks,
TeoV

Ibrahima Gaye

unread,
Mar 6, 2019, 6:29:58 AM3/6/19
to cgr...@googlegroups.com
Thank you TheoV,
I will keep that in mind and keep reading the group.

Ibrahima GAYE

--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To post to this group, send email to cgr...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages