mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2 65c4cc65-6c06-0410-ace0-fbb531ad65f3
		
			
				
	
	
		
			16 lines
		
	
	
		
			685 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			685 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| 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. 
 | |
| 
 |