Configure Analog Trunks
Analog trunks are configured as DAHDI trunks on the UCx server.
Step One:
The first step is to configure the installed analog card.
- Go to PSTN Cards for details on configuring your installed analog hardware.
- You can configure one or more trunk groups here.
Step Two:
The next step is to create the DAHDI trunk.
- Go to Adding DAHDI Trunks for details on adding a DAHDI trunk
-
On the Add DAHDI Trunk page, fill in all trunk specific parameters. You should configure at least the following fields:
- Trunk Name - Enter a descriptive name, e.g. Analog
- DAHDI Trunks - Select from the drop-down list the available groups and channels (The trunks groups configured in Step One will appear in the list.)
-
Press the Submit Changes button to create the analog trunk
Step Three:
The last step is to use the analog trunk in an Outbound Route:
- Go to Outbound Routes for details on adding or editing an outbound route
- Under the section Trunk Sequence for Matched Routes, select the analog trunk that was created previously
- Press the Submit Changes button
Disconnect Supervision
If the analog trunk does not have disconnect supervision, then the DAHDI configuration needs to be changed using the following steps:
For Software Release 4.5 and up
- Open the UCx Web-based Configuration Utility
- From the System tab, select PSTN Cards
- From the top right corner of the page, select Global Settings
- Set Enable Busy Detect to Yes
- Set Busy Detect Count to 3
- Press the Save button
- Press the Apply Config bar followed by the Reload DAHDI Configuration button
For Software Release 4.0
- Open the UCx Web-based Configuration Utility
- From the PBX tab, select Tools
- From the left side column, select Configuration File Editor
- Select the Show Filter button, enter the file name chan_dahdi.conf and press the Filter button
- Select the chan_dahdi.conf file listed
6. Edit the file by removing the semi-colon ";" in front of these 2 lines:
;busydetect=yes
;busycount=3
The resulting file should look like this:
[trunkgroups]
[channels]
context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=3
immediate=no
#include dahdi-channels.conf
#include chan_dahdi_additional.conf
7. To save changes made to the file, select the Save button
8. To reload the configuration (apply configuration changes), select the Reload Configuration button