[asterisk-dev] pbx core

Russell Bryant russell at digium.com
Sat Feb 6 08:09:31 CST 2010


----- "Bhrugu Mehta" <bhrugumehta at gmail.com> wrote:
> Can anybody explain me how asterisk sense that sip/iax/zap packet
> comes to?

I'm not sure that I understand your question, but if I do, ast_waitfor() is what you are looking for.  It runs poll() on an array of file descriptors on the ast_channel.

--
Russell Bryant
Digium, Inc. | Engineering Manager, Open Source Software
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
www.digium.com -=- www.asterisk.org -=- blogs.asterisk.org



More information about the asterisk-dev mailing list