Hi, I try to investigate the bug. Now I see that the DLGCB_LOADED type callback never will be called. In the acc_cdr.c the cdr_on_load() function will be seted as DLGCB_LOADED. Other thing that I don't understand, in the dialog.c in mod_init() function the run_load_callbacks() will be called, in the dlg_cb.c in run_load_callbacks() function there is an expression if (load_cbs && load_cbs!=POINTER_CLOSED_MARKER) but at this point load_cbs is always 0 because it will be setted later. In the dlg_cb.c in line 137 there is a mistake: if (load_cbs==POINTER_CLOSED_MARKER) is wrong, if (create_cbs==POINTER_CLOSED_MARKER) is good.
Any idea? Regards, Szabolcs Kordován Szabolcs <kos...@gmail.com> ezt írta (időpont: 2018. júl. 19., Cs, 15:22): > Hello, > > I have a test environment with Kamailio 5.1.4 where I can investigate the > bug. > After restart 'kamctl dialog show' command shows the present dialog. After > hangup kamailio does an insert into acc table and makes delete from dialog > and dialog_vars tables. > > Any idea? > > Thanks, > Szabolcs > > Daniel-Constantin Mierla <mico...@gmail.com> ezt írta (időpont: 2017. > dec. 4., H, 10:20): > >> Hello, >> >> after restart, if you list the dialogs via rpc command, do you see them >> in what is returned? >> >> Cheers, >> Daniel >> >> On 29.11.17 20:52, Kordován Szabolcs wrote: >> >> Hi All, >> >> In March there was a discus about this issue. >> >> We tested the new 5.2 dev and 5.0.4 version of Kamailio and we experience >> that If we restart Kamailio during the call the cdr won't be stored in >> table acc_cdrs but the data will be inserted to table acc and data will be >> deleted from table dialog and dialog_vars. >> Did I omit the fix for it? >> >> Thanks for your help. >> Best regards, >> Szabolcs >> >> >> _______________________________________________ >> Kamailio (SER) - Users Mailing >> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> >> >> -- >> Daniel-Constantin Mierlawww.twitter.com/miconda -- >> www.linkedin.com/in/miconda >> Kamailio Advanced Training - www.asipto.com >> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com >> >>
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users