Asterisk File descriptors are connected to each channel (see Asterisk Channels) in the ast_channel structure.