[Asterisk-Dev] file descriptors per call?

Steven Critchfield critch at basesys.com
Sun Feb 27 21:06:56 MST 2005


On Sun, 2005-02-27 at 17:01 -0700, Kevin P. Fleming wrote:
> Roy Sigurd Karlsbakk wrote:
> 
> > how many file descriptors will asterisk need per concurrent gatewayed 
> > call between SIP and IAX2?
> 
> I don't know the answer for sure, but I believe it to be a significant 
> number; there are pipes created for each channel's audio, and also for 
> alerting the channel driver of events. If the channel uses RTP, then a 
> socket will be created for that as well. There could be 4-6 fds used for 
> a channel in some cases.

That doesn't sound right. There shouldn't be any pipes for the audio.
IAX2 and SIP both have a socket open for the call and RTP would be extra
one more. Audio would be converted to an ast_frame and transfered
internally as a data structure. 
 
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-dev mailing list