aboutsummaryrefslogtreecommitdiffstats
path: root/1.4.23-rc4/doc/model.txt
diff options
context:
space:
mode:
Diffstat (limited to '1.4.23-rc4/doc/model.txt')
-rw-r--r--1.4.23-rc4/doc/model.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/1.4.23-rc4/doc/model.txt b/1.4.23-rc4/doc/model.txt
new file mode 100644
index 000000000..10d2d0e05
--- /dev/null
+++ b/1.4.23-rc4/doc/model.txt
@@ -0,0 +1,15 @@
+Description of call model:
+
+Incoming Call:
+
+ Channel backend waits for a RING or equivalent on some sort of
+interface. Typically this is done in its own thread. When a RING is
+detected, the backend should create a channel structure and then call
+ast_pbx_start() on that channel, which will create a thread to monitor
+that interface. At this point, the PBX and/or applications it launches
+will manage the interface, and it need not be monitored by the
+aforementioned thread. When the applications are finished, the requisite
+hangup function will be called, at which the channel can be considered to
+be no longer valid, and the thread that controls it will imminently be
+terminated.
+