Hi Everyone,
we're trying to implement cgrates in our kamailio nodes.
Everything is working fine except for the fact that kamailio is not
signaling the call end to cgrates for prepaid users... The versions,
logs and confs are:
```
# kamailio -v
version: kamailio 5.0.3 (x86_64/linux)
flags: STATS:
Hello,
On 30.10.17 17:29, Aleksandar Sosic wrote:
> Hi Everyone,
>
> we're trying to implement cgrates in our kamailio nodes.
> Everything is working fine except for the fact that kamailio is not
> signaling the call end to cgrates for prepaid users... The versions,
> logs and confs are:
>
> ```
Hi Daniel,
It's done by this cgrates route:
```
# CGRateS request for session disconnect
route[CGR_SESSION_DISCONNECT] {
json_get_field("$evapi(msg)", "HashEntry", "$var(HashEntry)");
json_get_field("$evapi(msg)", "HashId", "$var(HashId)");
json_get_field("$evapi(msg)", "Reason", "$var(Reaso
Hello,
when is the route[CGR_SESSION_DISCONNECT] executed? In other words,
where do you have route(CGR_SESSION_DISCONNECT) in your config or is
there any modparam with CGR_SESSION_DISCONNECT in it?
Cheers,
Daniel
On 31.10.17 11:45, Aleksandar Sosic wrote:
> Hi Daniel,
>
> It's done by this cgra
17(114) NOTICE: evapi [evapi_dispatch.c:339]: evapi_recv_client(): {0}
[127.0.0.1:41154] - received
[99:{"Event":"CGR_SESSION_DISCONNECT","HashEntry":"715","HashId":"1885","Reason":"-INSUFFICIENT_FUNDS"},]
(103) (0)
It seems like an evapi recieved command.
That triggers that route.
After that I d
It is a bit hard to guess the logic you have there, but seems like
cgrates sends a disconnect request via event api, which via some actions
triggers a dialog end, which then wants to send back an event to cgrates
that call is ending? Like a loop back communication with evapi receiver ...
Maybe you
Hi Daniel,
so the kamailio.conf sections that matters are here:
https://gist.github.com/alexsosic/5a33d314d2db1832fd04166fe6615227
Thanks for your time!
--
Aleksandar Sosic
mail: alex.so...@timenet.it
skype: alex.sosic
cell: +385 91 2505 146
On Tue, Oct 31, 2017 at 12:51 PM, Daniel-Constantin M
Hello,
ok, now the cfg execution flow is easier to understand. The evapi
receiver was not designed to write back directly, I will try to find a
solution for this case.
Cheers,
Daniel
On 31.10.17 15:03, Aleksandar Sosic wrote:
> Hi Daniel,
>
> so the kamailio.conf sections that matters are here:
Thank you Daniel!
--
Aleksandar Sosic
mail: alex.so...@timenet.it
skype: alex.sosic
cell: +385 91 2505 146
On Wed, Nov 1, 2017 at 10:39 AM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> ok, now the cfg execution flow is easier to understand. The evapi
> receiver was not designed to write back dir
Hello,
can you try with latest master? I just pushed a patch that should handle
this case. Let me know if works or not.
Cheers,
Daniel
On 01.11.17 11:57, Aleksandar Sosic wrote:
> Thank you Daniel!
> --
> Aleksandar Sosic
> mail: alex.so...@timenet.it
> skype: alex.sosic
> cell: +385 91 2505 14
Does the last debian jessie package contains such patch?
in my /etc/apt/sources.list:
deb http://deb.kamailio.org/kamailio50 xenial main
deb-src http://deb.kamailio.org/kamailio50 xenial main
Thanks,
--
Aleksandar Sosic
mail: alex.so...@timenet.it
skype: alex.sosic
cell: +385 91 2505 146
On Fri
Hello,
only master branch got the patches, you have to install from:
http://deb.kamailio.org/kamailiodev-nightly
See the wiki for more about available debian/ubuntu repos:
-
https://www.kamailio.org/wiki/packages/debs#kamailio_development_master_branch
If all works fine, then I will backport
Everything is working now,
thanks for your help and quick fix!
--
Aleksandar Sosic
mail: alex.so...@timenet.it
skype: alex.sosic
cell: +385 91 2505 146
On Mon, Nov 6, 2017 at 11:34 AM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> only master branch got the patches, you have to install from:
>
>
Thanks for testing and reporting. I will backport to branch 5.0, so next
5.0.x release will have these fixes.
Cheers,
Daniel
On 20.11.17 09:57, Aleksandar Sosic wrote:
> Everything is working now,
>
> thanks for your help and quick fix!
> --
> Aleksandar Sosic
> mail: alex.so...@timenet.it
> sky
14 matches
Mail list logo