[asterisk-dev] pbx core

Bhrugu Mehta bhrugumehta at gmail.com
Sun Feb 7 22:44:31 CST 2010


HI,

I want to know how asterisk check that packets come to any channel is
sip/iax/zap pakect?

Regards,

On Sat, Feb 6, 2010 at 7:39 PM, Russell Bryant <russell at digium.com> wrote:
> ----- "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
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



-- 
Bhrugu Mehta
Sr. S/W Engineer (D&D)
VOIP,Telephony Team (Asterisk,zaptel etc.)
India



More information about the asterisk-dev mailing list