Asterisk and Dahdi ON Amazon EC2

Home » Asterisk Users » Asterisk and Dahdi ON Amazon EC2
Asterisk Users 6 Comments

Hello Friends,

I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 X86

and here is snap of uname- a command

*Linux ip-10-160-86-41 #1 SMP 2010-09-17 20:28:21 +0200
x86_64 x86_64 x86_64 GNU/Linux*

when I try to run DAHDI distribution dahdi-linux-

I am getting following error

*echo “You do not appear to have the sources for the
kernel installed.”
You do not appear to have the sources for the kernel
exit 1
make: *** [modules] Error 1

Any one have some idea how to resolve it i am also goggling about 2 hours.


6 thoughts on - Asterisk and Dahdi ON Amazon EC2

  • DAHDI and asterisk: from packages or from source? What version of

    You need a “kernel source” (Porbably the huge kernel-source-* package is
    not required. IIRC SUSE now has a “kernel-devel-*” package (not sure how
    it is called. Please install it.

    That said, that version of DAHDI is rather old. Specifcally a version < =
    2.3.0 may not be a good timing source in your settings.

    Newer versions of asterisk As of 1.6.1 (and even more so: as of 1.6.2)
    DAHDI is much less required (as a timing source and as a mixer for
    conference rooms).

  • Thanks For your reply,

    A in previous version we were used a dahdi-linux- and we were changed
    file as we are using on xen kernel we changed following things

    #if defined(__i386__) || defined(__x86_64__)
    /* The symbol hrtimer_forward is only exported as of 2.6.22: */
    /* #define USE_RTC */
    #if 0
    /* #define USE_RTC */

    simply put USE_RTC in comment , as in 2.3.0 version we cannot find this code
    into dahdi_dummy.c file,

    my question is that , if USE_RTC is not in dahdi_dummy.c file can we able to
    continue with dahdi.??
    as it still not started on my EC2 machine.

    i will keep posted for more information.


  • One More thing,once i installed dahdi-2.3.0 complete it installed
    successfully , but when
    i tried to starting it gives me following error.

    *No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory*

    what could be possible suggestion.


    On Tue, Dec 14, 2010 at 2:38 PM, DHAVAL INDRODIYA

  • Or rather:

    /etc/init.d/dahdi restart

    The old dahdi module may still be loaded. You may need to stop asterisk
    first, as it may be using DAHDI (for timing).