<div dir="ltr"><div dir="ltr"><div dir="ltr">Howdy again,<br><br>Thanks team for creating the event_jsonrpc module in 2.4 - I'm back to this topic and trying to give this module a try however opensips fail to start with following error:<div><br></div><div><div><font face="monospace, monospace">Nov 14 17:13:03 opsips /usr/local/sbin/opensips[18997]: INFO:uac:mod_init: initializing...</font></div><div><font face="monospace, monospace">Nov 14 17:13:03 </font><span style="font-family:monospace,monospace">opsips</span> <font face="monospace, monospace"> /usr/local/sbin/opensips[18997]: NOTICE:event_jsonrpc:mod_init: initializing module ...</font></div><div><font face="monospace, monospace">Nov 14 17:13:03 </font><span style="font-family:monospace,monospace">opsips</span> <font face="monospace, monospace"> /usr/local/sbin/opensips[18997]: ERROR:core:register_event_mod: duplicate flag 4000000</font></div><div><font face="monospace, monospace">Nov 14 17:13:03 </font><span style="font-family:monospace,monospace">opsips</span> <font face="monospace, monospace"> /usr/local/sbin/opensips[18997]: ERROR:event_jsonrpc:mod_init: cannot register transport functions for jsonrpc</font></div><div><font face="monospace, monospace">Nov 14 17:13:03 </font><span style="font-family:monospace,monospace">opsips</span> <font face="monospace, monospace"> /usr/local/sbin/opensips[18997]: ERROR:core:init_mod: failed to initialize module event_jsonrpc</font></div><div><font face="monospace, monospace">Nov 14 17:13:03 </font><span style="font-family:monospace,monospace">opsips</span> <font face="monospace, monospace"> /usr/local/sbin/opensips[18997]: ERROR:core:main: error while initializing modules</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">I do have these two module loaded as well, (which I can't remove).</font></div><div><div>loadmodule "event_routing.so"</div><div style="font-family:monospace,monospace">loadmodule "event_route.so"</div><div style="font-family:monospace,monospace"><br></div></div><div style=""><font face="arial, helvetica, sans-serif">Any insight as to why these error show up?</font></div><div style=""><font face="arial, helvetica, sans-serif"><br></font></div><div style=""><font face="arial, helvetica, sans-serif">Big thanks,</font></div><div style=""><font face="arial, helvetica, sans-serif">Sammy.</font></div><div style="font-family:monospace,monospace"><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 26, 2018 at 12:07 PM SamyGo <<a href="mailto:govoiper@gmail.com">govoiper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi DanB,<div>I can certainly try CGRates, but...surely enough its an overkill for simple CDRs. Anyways, my request is for an event_JSONRPC which maybe very helpful in events outside of ACC. </div><div><br></div><div>Best Regards,</div><div>Sammy</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 26, 2018 at 6:13 AM, Khalil Khamlichi <span dir="ltr"><<a href="mailto:khamlichi.khalil@gmail.com" target="_blank">khamlichi.khalil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dan,<br>
<br>
Can you show us how to do that with some step by step tutorial, we had<br>
a lot of trouble trying to figure out how to use CGRates, with this<br>
functionality of json export, we will at least use some of CGRates<br>
functionalities and hopefully slowly get familiar with it.<br>
<br>
Thanks in advance.<br>
<div class="m_-7420309047009918470HOEnZb"><div class="m_-7420309047009918470h5"><br>
On Mon, Feb 26, 2018 at 7:51 AM, DanB <<a href="mailto:danb.lists@gmail.com" target="_blank">danb.lists@gmail.com</a>> wrote:<br>
> Sammy,<br>
><br>
> Another option on short term until the new feature will be implemented<br>
> in OpenSIPS would be to use CGRateS as CDR format converter: receive<br>
> CDRs from "cgrates" module in OpenSIPS and use online export of CGRateS<br>
> to further export the CDR in the JSON over http (customizable fields).<br>
> You don't need to configure much on CGRateS side in this case since no<br>
> billing needs to be involved.<br>
><br>
> DanB<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div>