If you received your Appliance prior to Feb 1st 2020 please see
this wiki on a patch file you need to install to fix a setup error on IncrediblePBX 2020 before proceeding with these steps. If you received your Appliance after Feb 1st 2020 you can proceed with the steps below.
Configure DAHDI Config Module
- Navigate to the DAHDI Config module in your PBX
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-56-21%2BAM.png)
- Enable this module to write out DAHDI Configs
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-56-31%2BAM.png)
- Click on the Analog Hardware tab
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-56-39%2BAM.png)
- If you have a version that has FXS Ports lets go edit the FXS port to put that port in Group 1 instead of Group 0. If you have a version that only has FXO ports you can skip this step. Click on the edit Icon next to each FXS port
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-56-45%2BAM.png)
- Setup Group to be 1
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-57-22%2BAM.png)
- Apply your config changes now
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B7-57-29%2BAM.png)
FXO Port Setup (Analog Phone Lines)
- If you are using FXO ports you need to go setup a DAHDI trunk on your PBX. Navigate to the Trunks module on your PBX
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-11-01%2BAM.png)
- Add Trunk and pick Add DAHDi Trunk
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-11-12%2BAM.png)
- Give the trunk a name and under DAHDI Trunks at the bottom Pick "Group 0 Ascending" since we isolated earlier all the FXO ports into Group 0
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-11-39%2BAM.png)
- Submit your changes and press Apply Config
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-39%2BAM.png)
- We now need to go setup DIDs for each FXO ports so we can route inbound calls from those ports since Analog lines do not send any DID information. Navigate to the DAHDI Channel DIDs module on your PBX
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-14%2BAM.png)
- Press the Add DAHDI DID button
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-18%2BAM.png)
- In the Channel Field put in the port number from earlier. If you have more than 1 FXO port you will need to repeat this for each FXO port
- Give it a Name
- Set what the Number for that Analog Port is
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-33%2BAM.png)
- Submit your changes and press Apply Config
![](https://kb.clearlyip.com/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-39%2BAM.png)
- Lastly we can now go setup inbound DID routing for these newly created DIDs. Navigate to the Inbound Routes module on your PBX
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-13-23%2BAM.png)
- Click on Add Inbound Route button
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-13-27%2BAM.png)
- Give the Route a name and provide the DID that you entered in the step earlier and pick where you want to route this DID to
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-13-49%2BAM.png)
- Submit your changes and press Apply Config
![](https://kb.clearlyip.com/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-39%2BAM.png)
FXS Port Setup (Extensions)
- If you have FXS ports we now need to setup any extensions mapped to those ports. Navigate to the Extension module in your PBX
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-32-24%2BAM.png)
- Click Quick Create Extensions
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-32-28%2BAM.png)
- For Type pick DAHDI and set Extension Number, Extension Name and what channel (FXS Port) you want mapped to this extension and Press Finish
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-32-48%2BAM.png)
Submit your changes and press Apply Config
![](https://kb.clearlyip.com/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-12-39%2BAM.png)
Reboot your PBX
- Since DAHDI is a kernel module we now have to reboot the PBX for all the DAHDI changes to take effect.
- From Linux CLI type reboot
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-57-49%2BAM.png)
Verify Ports and Active in Asterisk
- Once your PBX is rebooted we now want to verify the ports show up in Asterisk
- From the Linux CLI type asterisk -rx "dahdi show channels"
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-58-55%2BAM.png)
- You should see the ports listed now.
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B9-04-13%2BAM.png)
- If you do not get your ports showing that means something with DAHDI is not setup correct and you should contact support to take a look for you.
![](/_attach/appliances/1.0/74714eecd4770c7a3b3e9bc073f82733fa8ad5c062f5e249/Screen%2BShot%2B2020-02-01%2Bat%2B8-58-31%2BAM.png)