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

Return to Documentation Home I Return to Sangoma Support