[Asterisk-Dev] where is the thread which monitors all the idle channels?

Dinesh Nair dinesh at alphaque.com
Sat Oct 29 00:06:24 MST 2005



On 10/28/05 23:18 Kevin P. Fleming said the following:
> Matteo Piazza wrote:
> 
>> But exist or not a thread tha monitors all the idle channels? (Not in 
>> channel driver but in Asterisk architecture).
>> I not understand if a singol thread manages only a single channel, or 
>> a singol thread manages more than one channels.
> 
> 
> There is no such thing as an 'idle' channel in Asterisk. If a channel 
> exists, it is active. When it is no longer active, it is destroyed.

there's a bit of code in chan_zap.c which (i think, and i could be wrong) 
seems to track idle PRI channels and attempt calls on them.

-- 
Regards,                           /\_/\   "All dogs go to heaven."
dinesh at alphaque.com                (0 0)    http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do                                        |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                                                              |
+=========================================================================+



More information about the asterisk-dev mailing list