There are Channel ARI Demo in wich we can control channel state: ring, answer, play silence, play some tone or audio-file (https://github.com/asterisk/ari-example ... nnel-state, https://wiki.asterisk.org/wiki/display/ ... nnel+State) Is it possible to receive some chunks (parts, buffers, etc.) of call voice (which are created by remote subscriber) or write chunks of voice, for example like a some array of bytes (not from file) in some audio format (alaw, ulow etc).
PS: A have some custom phone which I can control from my python program (initiate and receive calls, exchange voice in alaw format, play dtmf, etc), there are no asterisk drivers for this phone, so I want to create it by myself. Seems like processing calls state can be done with ARI, but what about RTP traffik. Is the only way to create some channel driver module, like chan_dongle.so?