Extensions

Top  Previous  Next
Solution Integration > PBXs > BT Call Server > Web UI > Configuration

Extensions Configuration

 

•Two modes are available to define extensions in the Admin UI "Configuration" menu

•"Bulk Extension Input" (Basic) and "Extensions" configuration.

 

Configuration-Extensions_01

 

Bulk Extension Input

 

•For "Extensions", enter the extension numbers separated by a semicolon (;)

•Define an "Optional Extensions Password" if you want to use a value other than the default (123456) for all extensions.
These settings can be changed later in Configuration > Extensions.

 

Configuration-Extensions_02

 

TableCornerTopLeftB

IPT_Empty

IPT_Empty

TableCornerTopRightB

IPT_Empty

Important_icon

From Asterisk V3.x and greater the configuration syntax has changed due to the use of a new PJSIP stack module, which now makes use of newer (and different) configuration files.

Care should be taken when upgrading from Asterisk versions <= v2.0 to versions >= v3.x

It is therefore highly recommended that lab testing is done to ensure you have the correct configurations prior to any upgrade.

IPT_Empty

TableCornerBottomLeftB

IPT_Empty

IPT_Empty

TableCornerBottomRightB

 

TableCornerTopLeftB

IPT_Empty

IPT_Empty

TableCornerTopRightB

IPT_Empty

Important_icon

From V4.x and greater, Extensions and Trunks configuration are separated into their own configuration pages.

If you are upgrading from v3.x and restoring configuration files, make sure to correctly separate the extension and trunk configurations into their respective configuration pages.

 

NOTE: Configuration syntax is the same as v3.0 and greater

IPT_Empty

TableCornerBottomLeftB

IPT_Empty

IPT_Empty

TableCornerBottomRightB

 

TableCornerTopLeftA

IPT_Empty

IPT_Empty

TableCornerTopRightA

IPT_Empty

ImportantNote_Icon

Configuration (Admin UI > Configuration > Extensions / Trunks) is handled via the PJSIP Configuration Wizard configuration file (pjsip_wizard.conf)

Refer to the official Asterisk documentation for further advanced configuration details: res_pjsip: SIP Resource using PJProject

IPT_Empty

TableCornerBottomLeftA

IPT_Empty

IPT_Empty

TableCornerBottomRightA

 

•Extensions Configuration provides full advanced control over settings related to lines (extensions).

 

Configuration-Extensions_03

 

•A default template, "extension-defaults", is available to simplify management by applying global settings to all lines (extensions).

 

[extension-defaults](!)

type = wizard

accepts_auth = yes                                                        ; Enables Incoming authentication

;sends_auth = yes                                                        ; Enables Outbound authentication (Used if TPO has authentication enabled)

;outbound_auth/username = btuser                                ; Username for Outbound authentication (Used if TPO has authentication enabled)

;outbound_auth/password = Pass123                                ; Password for Outbound authentication (Used if TPO has authentication enabled)

accepts_registrations = yes                                        ; Accept inbound registration from remote hosts.

transport = transport-tcp                                                ; Explicit transport configuration to use

endpoint/allow = !all,ulaw,alaw,opus,ilbc,g722                ; Media Codec(s) to allow

endpoint/context = outbound                                        ; Dialplan context

endpoint/dtmf_mode = auto                                                ; DTMF is sent as RFC 4733 if the other side supports it or as INBAND if not.

endpoint/direct_media = yes                                        ; Enable direct media (peer to peer RTP)

;endpoint/tos_audio = ef                                                ; Sets TOS for audio streams (QoS)

;endpoint/cos_audio = 5                                                ; Sets COS for audio streams (QoS)

aor/qualify_frequency = 30                                        ; Interval at which to qualify an AoR (SIP Options Ping)

aor/max_contacts = 1                                                ; Maximum number of contacts that can bind to an AoR

aor/remove_existing = yes                                                ; Determines whether new contacts replace existing ones.

 

 

•New lines can be added with settings adapted to your requirements:
NOTE: Each additional line added should define which template to pull its global settings from. In this case (extension-defaults)

 

 

 

; Extension definition sample

; The following example creates a line [101] and pulls in additional global configuration from the (extension-defaults) template defined above

 

[101](extension-defaults)

inbound_auth/username = 101

inbound_auth/password = 123456

endpoint/callerid = <101>                                                ; callerid Must be in the format: Name <Number>, or only <Number>

 

 

•Once editing is complete, press Update
After updating the configuration you need to "Reload configuration"

 

•From the navigation menu, select "System > Maintenance"

•Select "Reload configuration"
(or "Reload configuration on both servers" if redundancy is set)

 

Configuration-Extensions_04