Everything is in the title ! I found a discussion on an older Cisco forum (here is the link Clear Dtmf Buffer Audio Element ) about flushing the dtmf buffer. A jar file was attached to the discussion. It contains two custom audio elements (by overriding the "addxmlbody" method) : the first one is used to flush dtmf buffer to prevent the interruption of the next audio and the second permits to a synchronous completion of the media playing.
Is it possible to merge this two elements in only one with two functionalities ?
Used it as well, recently, to flush the buffer between 2 menus.
We had some issues with people calling from an analogue phone pressing the same digit too long.
Placed a 1 sec silence with barge-in disabled + a flush buffer with your element between both menus.
Fixed the issue.
It's a useful element that can help work around issues. Thanks!