Codecs

This class will determine the codecs that are avalible for use in FreePBX from Asterisk, it will first try to query Asterisk itself with a fallback to our hard coded defaults.

It can be called as so:

FreePBX::Codecs()->getAll();

getAll()

/**  * Get all Avalible Codecs  * @return array Array of usable Codecs  */ public function getAll() {}

getAudio()

/**  * Get all usable Audio Codecs  * @param {bool} $defaults = false Whether to define the initial default ordering  */ public function getAudio($defaults = false) {}

getVideo()

getText()

getImage()

Return to Documentation Home I Return to Sangoma Support