Configure Analog Trunks

Analog trunks are configured as DAHDI trunks on the UCx server.

Always run the ectune utility after the system has been installed and analog trunks connected to the system, but before it goes into production. If at anytime the trunks get changed, then the ectune utility would need to be run again.

Step One:

The first step is to configure the installed analog card.

  1. Go to PSTN Cards for details on configuring your installed analog hardware.
  2. You can configure one or more trunk groups here.

Step Two:

The next step is to create the DAHDI trunk.

  1. Go to Adding DAHDI Trunks for details on adding a DAHDI trunk
  2. 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.)
  3. 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:

  1. Go to Outbound Routes for details on adding or editing an outbound route
  2. Under the section Trunk Sequence for Matched Routes, select the analog trunk that was created previously
  3.  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.0

  1. Open the UCx Web-based Configuration Utility
  2. From the PBX tab, select Tools
  3. From the left side column, select Configuration File Editor
  4. Select the Show Filter button, enter the file name chan_dahdi.conf and press the Filter button
  5. 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

 

For Software Release 4.5 and up

  1. Open the UCx Web-based Configuration Utility
  2. From the System tab, select PSTN Cards
  3. From the top right corner of the page, select Global Settings
  4. Set Enable Busy Detect to Yes
  5. Set Busy Detect Count to 3
  6. Press the Save button
  7. Press the Apply Config bar followed by the Reload DAHDI Configuration button
Page Tags: 
PSTN
busy tone detection