ivozprovider
ivozprovider copied to clipboard
provisioning: Custom options by terminal
Evaluate the possibility of adding an additional field in Terminal section thats lets you add some random text.
This text may be fetched from provisioning templates with $this->terminal->getExtraOpts().
This way you could have some special settings loaded for that particular terminal.
It would be nice if this field can contain a list of key/value pairs -one per line- and an easy way to retrieve those values, $this->terminal->getExtraOpts()->dialplan, $this->terminal->getExtraOpts()->language, etc. If the key doesn't exists retrieve a blank string.