Cnxcc call termination is not working anymore since commit 265dc95. That commit introduced the call to DLGCB_TERMINATED callbacks for the locally generated BYE, which leads to a deadlock in cnxcc when it tries to end the calls because the credit (money or time) is exhausted.
This patch introduces a new structure cnxcc_lock which implements re-entrant locks.
As a side question I'm wondering if, since other modules need re-entrant locks, this structure should be defined in lock_ops.h like the other kamailio's locks.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/398

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.