createExtension
createExtension
Permissions:
admin
Description:
Creates a Brekeke PBX extension.
Parameters:
tenant – tenant name
extension – a string representing an extension ID as defined in Brekeke PBX Admintool
password – a string representing the corresponding password for a user’s voicemail box
login_password – a string representing the corresponding password for a user account
type – a string representing the extension type; value can be user, ringgroup, ivr, conditional, conference, or callback
If the “type” is set to non-user, the password and login_password do not need to be provided.
Returns:
If the method succeeds, it returns “true” in the result field.
If the method fails, it returns an associative array in the error field.
Related methods:
deleteExtension, getExtensionProperties, getExtensions, setExtensionProperties