summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>1999-10-08 04:46:33 +0000
committerMark Spencer <markster@digium.com>1999-10-08 04:46:33 +0000
commitbf3781a386e01df6c3c4735799590273beb7dd9c (patch)
tree16cb1647bbf3fbccde1e04de99acbc8ebdb0d713 /doc
parentee4c4e782452356434b53c602f308587e2a17576 (diff)
Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/model.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/model.txt b/doc/model.txt
new file mode 100755
index 000000000..6afb3e04e
--- /dev/null
+++ b/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 montored 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 immenantly be
+terminated.
+