[SR-Users] Cdr on shutdown
d.tryba at pocos.nl
Tue Mar 7 14:49:35 CET 2017
On Tue, Mar 07, 2017 at 10:34:05AM -0300, Diego Nadares wrote:
> Is it possible to generate cdrs or to save dialogs to db when kamailio
> receives a kill signal from terminal?
Killing kamailio doesn't end running calls. So if you restart kamailio
before a BYE, accounting will be correct on teardown of the calls.
The dialog module can store state in a database, but if your are
specifically looking for something that only happens when kamailio is
killed without a database backend, you'd have to do some dumping of
state before the kill is processed and I don't know if that is possible.
More information about the sr-users