Asterisk Documentation 1.4 model.txt

-=NOTE: These pages are automatically updated once per
day from the Asterisk subversion repository when the repository changes revisions. Any
changes made to this page will be automatically overwritten with the
latest version from http://svn.digium.com/view/asterisk/branches/.

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. 



-=NOTE: These pages are automatically updated once per
day from the Asterisk subversion repository when the repository changes revisions. Any
changes made to this page will be automatically overwritten with the
latest version from http://svn.digium.com/view/asterisk/branches/.

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. 



Created by: josiahbryan, Last modification: Sun 25 of Jul, 2010 (08:42 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+