[OpenSIPS-Users] cdr accounting on opensips restart

Jayesh Nambiar jayesh.voip at gmail.com
Thu Dec 1 11:28:22 CET 2011


Hello All,
I am planning to use CDR accounting in my script starting from version 1.7
and it looks fine and working as expected. Although I had one doubt, how do
I make sure the CDR accounting still happens if the opensips is restarted
and BYE comes after the restart. I have tried db_mode 3 for dialog module
so that it dumps all the dialogs while shutdown and on start it fetches the
dialog from the DB. This method makes sure the dialog is matched when BYE
comes after the restart but the CDR record is not entered.
Is there any flag or dialog variable that I should set to insert that value
in the table for all dialogs when opensips shuts off so that opensips knows
that the CDR flag was set for this dialog when started again and it has to
insert the record?
Do let me know for any pointers or ideas to get this done.
Thanks in advance.

--- Jayesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111201/214bb253/attachment.htm>


More information about the Users mailing list