[asterisk-dev] pbx core

Klaus Darilion klaus.mailinglists at pernau.at
Mon Feb 8 04:29:35 CST 2010



Am 08.02.2010 05:44, schrieb Bhrugu Mehta:
> HI,
>
> I want to know how asterisk check that packets come to any channel is
> sip/iax/zap pakect?

In there core there is no distinction of the channel technology. The 
core will receive an AST_FRAME, either VOICE, VIDEO or CONTROL. So, the 
concrete channel technology is not needed anymore, as the channel will 
translate the technology dependent parts into the common Asterisk format.

regards
klaus

>
> 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
>>
>
>
>



More information about the asterisk-dev mailing list