Working with audio

Playing audio files

In VoxImplant, you can play mp3 audio file to any call. To use this feature, you will need to use the Call.startPlayback function.

Please note that all media files are cached in VoxImplant, and the cache duration is for 1 day. So if you need to overwrite it, we recommend using a new URL for it (adding ?1 works well).

Recording calls

VoxImplant allows you to record any call. To do this, you will need to use the Call.record function. After that, the event CallEvents.RecordStarted will be dispatched, and it will contain the URL where that call record will be available. Alternatively, you can use the Control API to obtain the record file name from the call history.