Asterisk Server Consultant

Rate this post

Sample DAHDI installation

After compiling and installing of dahdi and asterisk, you have to perform some further steps to use your hardware.

This example will show you a few steps how to get asterisk and two Digium cards enabled:

1.) Detect your hardware

  # (this will generate /etc/dahdi/system.conf and  /etc/asterisk/dahdi-channels.conf)
 linux:~# dahdi_genconf

2.) Read systm.conf file and configure the kernel

 asterisk:~# dahdi_cfg -v

3.) Restart dahdi to unload and reload all modules and drivers

  linux:~#  /etc/init.d/dahdi restart

4.) Point file chan_dahdi.conf to /etc/asterisk/dahdi-channels.conf

  # open chan_dahdi.conf and include it under the section [channels]
  #
  # NOTE: You can edit and configure /etc/asterisk/dahdi-channels.conf at any time
  # to set up your specific options there.
  …
  [channels]
  # include /etc/asterisk/dahdi-channels.conf
  …

5.) Restart asterisk

  linux:~#  /etc/init.d/asterisk restart

5.a) Verify your current system status. You should get some output like this:

  asterisk*CLI> dahdi show status
  Description                              Alarms     IRQ        bpviol     CRC4
  Wildcard TDM410P Board 1                 OK         0          0          0
  Wildcard TDM800P Board 2                 OK         0          0          0

5.b) Verify your configured channels

  linux*CLI> dahdi show channels
    Chan Extension  Context         Language   MOH Interpret
  pseudo            default                    default
       1            from-pstn       de         default
       2            from-pstn       de         default
       3            from-pstn       de         default
       4            from-pstn       de         default
       5            from-pstn       de         default
       6            from-pstn       de         default
       7            from-pstn       de         default
       8            from-pstn       de         default
       9            from-pstn       de         default
      10            from-pstn       de         default
      11            from-pstn       de         default
      12            from-pstn       de         default
  linux*CLI>
Asterisk support
For any query or issue, feel free to discuss on http://discuss.eduguru.in

One thought on “Asterisk Server Consultant

  • February 12, 2014 at 9:52 am
    Permalink

    It’s perfect time to make some plans for the longer term and it is time to be happy. I have read this put up and if I could I want to recommend you few interesting issues or advice. Maybe you could write next articles referring to this article. I want to read more issues about it!
    [url=http://golf.ventego.net/]

Leave a Reply

%d bloggers like this: