Use use_lchan/put_lchan for call handling to keep the channel up

Increase when the refcount of the lchan when we initiate a call,
get a SETUP message and put it when we want to release the call...

Once we have proper Q.931 support the use/put needs to be improved,
e.g. we currently do not allow to hangup from the network, and it
will ring until the end of time...

1 file changed
tree: 029c41e4a4f477be9fc47b15e807c8ff673662e5
  1. include/
  2. src/
  3. tests/
  4. tools/
  5. AUTHORS
  6. configure.in
  7. COPYING
  8. Makefile.am
  9. README