Re: [sr-dev] [kamailio/kamailio] Fix for no cdr after Kamailio 5.0 restart (#1036)

2017-04-03 Thread Lucian Balaceanu
Merged #1036. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/1036#event-1026606028___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] Fix for no cdr after Kamailio 5.0 restart (#1036)

2017-03-31 Thread Lucian Balaceanu
Updated the pull request using DLGCB_LOAD which keeps changes only in acc module. This works for me in 5.0. Part of the code was present in Diego Nadares' proposed solution too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [sr-dev] [kamailio/kamailio] Fix for no cdr after Kamailio 5.0 restart (#1036)

2017-03-16 Thread Daniel-Constantin Mierla
Maybe DLGCB_LOADED callback can be used for this situation -- I guess it is no need populate again the variables in the dlg structure as they were already done when the dialog was effectively created. If you create a new solution, make a commit per module and prefix the first log message with

[sr-dev] [kamailio/kamailio] Fix for no cdr after Kamailio 5.0 restart (#1036)

2017-03-16 Thread Lucian Balaceanu
Hi Daniel, This is a sketch of how I would force the execution of the acc/cdr dialog callbacks for dialogues created from the database. This solution needs more testing and I don't expect it to be accepted as is. I think that the run_create_callbacks was omitted because at a later step, the