Enable Custom Container and extensions-custom.conf

From VoiceRDWiki

Jump to: navigation, search

Purpose of this HOWTO: Add a custom container to the LDAP tree, which allows a VoiceRD administrator to make changes to individual steps in the dialplan. We will also include a flat config file "extensions-custom.conf" that can be used to make direct additions and modifications to the dialplan.

Here is the LDIF which creates the objects:

dn: ou=custom,ou=extensionsConf,ou=Conf,o=voicerd
changetype: add
objectclass: top
objectclass: organizationalUnit
ou: custom

dn: cn=extensions-customConf,ou=custom,ou=extensionsConf,ou=Conf,o=voicerd
changetype: add
oxyPBXConfigVariableMetric: 3
oxyPBXConfigCategoryMetric: 1
oxyPBXConfigCategory: dummy
oxyPBXConfigFilename: extensions.conf
oxyPBXConfigVariableValue: extensions-custom.conf
oxyPBXConfigVariableName: #include
oxyPBXConfigCommented: FALSE
objectClass: oxyPBXConfig
objectClass: Top
cn: extensions-customConf

dn: cn=extensions-customConf-context,ou=custom,ou=extensionsConf,ou=Conf,o=voicerd
changetype: add
oxyPBXConfigVariableMetric: 1
oxyPBXConfigCategoryMetric: 1
oxyPBXConfigCategory: dummy
oxyPBXConfigFilename: extensions.conf
oxyPBXConfigVariableValue: _X.,1,Macro(hangupcall)
oxyPBXConfigVariableName: exten
oxyPBXConfigCommented: FALSE
objectClass: oxyPBXConfig
objectClass: Top
cn: extensions-customConf-context


Instructions for importing a LDIF:

  ice -S LDIF -f ext-custom.ldif -D LDAP -s server1.acme.com -p 389 -d cn=vrdadmin,o=voicerd -w secret
Personal tools