[asterisk-dev] AST_FRAME_NULL - what is it?

Moises Silva moises.silva at gmail.com
Fri May 29 12:25:59 CDT 2009


> if (frame->frametype == AST_FRAME_NULL) {
>        // yield
>        usleep(1);
> }
>
> Do you see anything wrong with this approach which I might pay for
> down the road?

Other than the ugliness? :-)

I just think ideally you should find the root cause of those null
frames, since they are likely a symptom of something going wrong
somewhere else, but it's up to you.

-- 
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON
L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy at sangoma.com



More information about the asterisk-dev mailing list