Yes I use ast_waitfor with 2nd parameter -1 into a detached background thread. The function ast_waitfor used into my application function called from the dialplan and also into the dtmf read thread. This behavior is observed after bridging the incoming channel(the channel where I try to read dtmf) to an other channel created with dial API.
I modified channel.c (line 3924) to disable the logging this error (just for an experience ). I can get the DTMF from the incoming.
-- _____________________________________________________________________ -- 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