Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-21 Thread Diego Nadares
Hi Daniel, I'm sorry. I don't know how to make a pull request. I can google a howto but maybe anyone here has one. Thanks. Diego 2017-03-21 9:32 GMT-03:00 Daniel-Constantin Mierla : > If you want to propose a patch to be merged into Kamailio, do a pull > request via github.com/kamailio/kamaili

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-21 Thread Daniel-Constantin Mierla
If you want to propose a patch to be merged into Kamailio, do a pull request via github.com/kamailio/kamailio -- it makes it easier to review as well as have the patch compiled by Travic CI before merging, so we can spot the basic conflicts if any. The patch has to be for master branch, to be merge

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Diego Nadares
I didn't mention that I did this on kamailio 4.4. Cheers, Diego 2017-03-20 16:38 GMT-03:00 Diego Nadares : > Hi Lucian, > > I made a few changes like you and I think it's working. Loads dialogs and > generate cdr. It needs more testing. The function cdr_on_load it's copy > and paste to avoid t

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Diego Nadares
Hi Lucian, I made a few changes like you and I think it's working. Loads dialogs and generate cdr. It needs more testing. The function cdr_on_load it's copy and paste to avoid touching those params in on_create. A lot of improve is needed. diff --git a/modules/dialog/dialog.c b/modules/dialog/*d

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-20 Thread Kordován Szabolcs
Hi All, I have tired your patch but it dosen't work. No any changes. :( Regards, Szabolcs 2017-03-16 15:36 GMT+01:00 Lucian Balaceanu : > Hello all, > > Just created the pull request: https://github.com/kamailio/ > kamailio/pull/1036 in relation to this problem with the sketch of a > solution.

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-16 Thread Lucian Balaceanu
Hello all, Just created the pull request: https://github.com/kamailio/kamailio/pull/1036 in relation to this problem with the sketch of a solution. Any input is appreciated, Lucian On 15.03.2017 15:17, Daniel-Constantin Mierla wrote: Hello, ok, good to know is someone tackling it. Thanks

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-15 Thread Daniel-Constantin Mierla
Hello, ok, good to know is someone tackling it. Thanks, Daniel On 15/03/2017 12:14, Pawel Kuzak wrote: > > Hello, > > This indeed is a bug we've also spotted. It is not only present in > 5.0. It seems the /run_create_callbacks()/ function which triggers the > /DLGCB_CREATED/ callbacks to be exe

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-15 Thread Pawel Kuzak
Hello, This indeed is a bug we've also spotted. It is not only present in 5.0. It seems the /run_create_callbacks()/ function which triggers the /DLGCB_CREATED/ callbacks to be executed is not called for dialogs created from database. We are already working on a fix and are currently testing

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-14 Thread Kordován Szabolcs
Hello Daniel, Sorry for my reply, I didn't receive your mail. So, only the active calls are affected. The new call, from invite to bye-ok, is recorded into table acc and acc_cdrs. Regards, Szabolcs 2017-03-14 11:13 GMT+01:00 Kordován Szabolcs : > Hi, > > I use acc module for create cdr into db

Re: [SR-Users] No cdr after Kamailio 5.0 restart

2017-03-14 Thread Daniel-Constantin Mierla
Hello, is this for all calls, or only for the calls that were active at the time of restart (the new calls will get the cdrs properly)? Cheers, Daniel On 14/03/2017 11:13, Kordován Szabolcs wrote: > Hi, > > I use acc module for create cdr into db and also make acc log into db. > After restart K

[SR-Users] No cdr after Kamailio 5.0 restart

2017-03-14 Thread Kordován Szabolcs
Hi, I use acc module for create cdr into db and also make acc log into db. After restart Kamailio cdr won't be created but acc log will be inserted into db. In the syslog also I see just the acc log. The dialog will be remove from db. I have read many threads. I know that it should work. Thanks