/
How to generate a default card configuration

How to generate a default card configuration

This KB article applies to all Digium cards installed on Open Source Asterisk systems. Please note that by generating a default configuration may not guarantee the card to work, there could be special settings that your provider requires in order to place and receive calls. You can use the auto-generated configuration as starting point and the make the necessary changes afterwards.

Note: You will need to confirm with your telco what is the configuration that the card needs to have. Digium Tech Support is unable to provide this information.

After the card is placed into the system and both DAHDI and Asterisk have been installed, perform the following within the command line:

  1. dahdi_genconf -vv

  2. service asterisk stop

  3. service dahdi restart

  4. service asterisk start

Note: dahdi_genconf created /etc/dahdi/system.conf and /etc/asterisk/dahdi-channels.conf. system.conf if the dahdi configuration while dahdi-channels.conf is the asterisk configuration. Please make sure that /etc/asterisk/chan_dahdi.conf has the line #include dahdi-channels.conf otherwise Asterisk won't load its configuration. 

 

These commands will auto-configure the card and will then reload both Asterisk and DAHDI allowing the configuration to take effect and display within Asterisk

Related content

How to Auto Configure Telephony Cards
How to Auto Configure Telephony Cards
More like this
Open Source - Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
Open Source - Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
More like this
What to do when Telephony Cards are not recognized
What to do when Telephony Cards are not recognized
More like this
Open Source - DAHDI configuration in AsteriskNOW with FreePBX
Open Source - DAHDI configuration in AsteriskNOW with FreePBX
More like this
Open Source - How to Configure a phone for Asterisk through it's GUI
Open Source - How to Configure a phone for Asterisk through it's GUI
More like this
Telephony Cards with FreePBX Distro
Telephony Cards with FreePBX Distro
More like this

Return to Documentation Home I Return to Sangoma Support