From: Steven S. <ss...@so...> - 2004-01-25 01:38:26
|
Has anybody experimented with directing audio from a file (i.e. a wave file) over the IAX connection from the client end? How about directing incoming audio _to_ a file? I think Steve K had some file code but I couldn't figure out how it worked. I would like to be able to implement the following three features: 1. Record both the input stream and output stream to a file (for call recording purposes). This would be similar to the monitor function available from the Manager interface (and/or CLI). I would guess that at some point in the input and output process it would be feasible to direct a copy of the data to a file. It would be great to be able to put a "record locally" feature into the phone allowing users to click to record/stop recording. 2. I would like people to play file data over the line. This could be used to play custom answering messages, and it could also be used to create a very cool off-board IVR functionality. Think about custom, client-side scripting of play/record over IAX? 3. Can IAX endpoints receive DTMF (or the equivalent thereof) digits? I think you can see where I am going. It would be an extremely powerful extension to the library to be able to create automated telephony applications off-board of the Asterisk. It also seems like cool functionality to build into advanced soft-phones. I realize that most of you want to get the current library stable before we go hacking further functionality into it. I respect that. If you think I should hold off (or at least not tap the group's collective power) please let me know. Thanks, Steve S. |