[asterisk-dev] Read dtmf after ast_bridge_call
Joshua Colp
jcolp at digium.com
Sun Aug 3 18:00:51 CDT 2014
vassilux . wrote:
> Hi,
Kia ora,
> I try to read DTMF digits from a channel after calling ast_bridge_call.
> There are a lot of errors about : "called with no recorded file
> descriptor" from
> static struct ast_frame *__ast_read(struct ast_channel *chan, int
> dropaudio) function.
>
> I can read DTMF digits before execute ast_bridge_call.
>
> I made something wrong but I don't know :-) thank to help me
Have you waited for frames on the channel using something like
ast_waitfor? If you try to read when nothing is available on the channel
you will see the message above.
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list