model.txt 686 B

12345678910111213141516
  1. Description of call model:
  2. Incoming Call:
  3. Channel backend waits for a RING or equivalent on some sort of
  4. interface. Typically this is done in its own thread. When a RING is
  5. detected, the backend should create a channel structure and then call
  6. ast_pbx_start() on that channel, which will create a thread to monitor
  7. that interface. At this point, the PBX and/or applications it launches
  8. will manage the interface, and it need not be monitored by the
  9. aforementioned thread. When the applications are finished, the requisite
  10. hangup function will be called, at which the channel can be considered to
  11. be no longer valid, and the thread that controls it will imminently be
  12. terminated.