Custom

Custom extensions are used for executing custom PBXware commands/scripts. This screen lists all PBXware custom extensions with the following details:

Table 3.37. Custom

Field Description Example Field Type

Extension:

Custom extension network number

Dial this number to execute a custom PBXware script (e.g. 7777)

Display

Context:

Context custom extension belongs to

  Display

Edit custom extension configuration

  Button

Delete custom extension configuration

  Button


Search

Search bar filters custom extensions by name, e-mail and number

Table 3.38. Search

Field Description Example Field Type

Search:

Search phrase

Provide a search phrase here and hit enter to filter the records

[a-z][0-9]

Name:

Should search filter be applied to names UADs are registered to

Check the box to search the names

Check box

E-mail:

Should search filter be applied to email addresses associated with the UADs

Check the box to search the email addresses

Check box

Number:

Should search filter be applied to extension numbers

Check the box to search extension numbers

Check box


Add/Edit Custom Extension

To add new custom extension click on 'Add custom extension' button

[Tip] Tip

Custom extensions do not belong to 'default' system context. Their actions are set under 'Settings: Conf Files: Extensions' configuration file

Table 3.39. Add/Edit Custom Extension

Field Description Example Field Type

Extension:

System extension number

Setting '1002' here will create new system extension with the same network number. Dial this number to execute custom script set under 'Settings: Conf Files: Extensions'

[0-9]

Context:

Every system extension belongs to a certain system context. Context may be described as a collection/group of extensions. Default context used by the PBXware is 'default' and must not be used by Custom extensions

Set this field to 'test' for example [a-z] [0-9]


Extensions.conf sample

Navigate to 'Settings: Conf Files: Extensions' and add following lines to the bottom of the file

[test]
exten => 1002,1,Answer()
exten => 1002,2,Playback(hello-world)
exten => 1002,3,Hangup()
                                                

Click 'Save' button.

Reload PBXware and dial 1002 extension.

'Hello world' will be played from the other end :)