Capture and play voice with Asterisk ARI -
there channel ari demo in wich can control channel state: ring, answer, play silence, play tone or audio-file (https://github.com/asterisk/ari-examples/tree/master/channel-state, https://wiki.asterisk.org/wiki/display/ast/ari+and+channels%3a+manipulating+channel+state) possible receive chunks (parts, buffers, etc.) of call voice (which created remote subscriber) or write chunks of voice, example array of bytes (not file) in audio format (alaw, ulow etc).
you can use asterisk eagi interface voice data.
other option use record or mixmonitor app record channel(channel have put stasis allow dialplan control ari)
"write chunks of voice" can done application playback
also can create own application using c/c++, compile asterisk , result want.
no, can't redirect voice directly using ari.
Comments
Post a Comment