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