[Home]

Summary:ASTERISK-00108: ast_waitfor(transferer, ms) seems not to wait any more
Reporter:iain (iain)Labels:
Date Opened:2003-08-16 12:45:59Date Closed:2011-06-07 14:05:20
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:ast_waitfor is returning immediately as though a DTMF code has been detected even though no key has been pressed.  This has broken my earlier patch to res_parking.c for # transfers.  
Comments:By: Mark Spencer (markster) 2003-08-16 15:25:57

Did you mean waitfordigit?  waitfor just waits for anything (including audio)

By: iain (iain) 2003-08-16 16:17:05

It was waitfor

By: Mark Spencer (markster) 2003-08-16 16:33:50

waitfor *will* return as soon as there is audio.  Waitfordigit will wait until there is a digit.  Clearl you can't use it to wait for a digit.  Are you simply misunderstanding the (poorly documented) API?

By: Mark Spencer (markster) 2003-08-16 22:18:22

I think this is a symantics issue