[asterisk-users] Asterisk and Dahdi ON Amazon EC2

DHAVAL INDRODIYA dhaval.it01034 at gmail.com
Tue Dec 14 09:08:07 UTC 2010


Thanks For your reply,

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

#if defined(__i386__) || defined(__x86_64__)
#if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)
/* The symbol hrtimer_forward is only exported as of 2.6.22: */
#if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >=
VERSION_CODE(2,6,22)
#define USE_HIGHRESTIMER
#else
/* #define USE_RTC */
#endif
#else
#if 0
/* #define USE_RTC */
#endif
#endif
#endif

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.

regards
Dhaval

On Tue, Dec 14, 2010 at 1:53 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Tue, Dec 14, 2010 at 12:28:00PM +0530, DHAVAL INDRODIYA wrote:
> > Hello Friends,
> >
> > I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 X86
> > version.
>
> DAHDI and asterisk: from packages or from source? What version of
> asterisk?
>
> >
> > and here is snap of uname- a command
> >
> > *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #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-2.1.0.4
> >
> > I am getting following error
> >
> > *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2
> > kernel installed."
> > You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel
> > installed.
> > exit 1
>
> 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).
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101214/dfe717ab/attachment.htm 


More information about the asterisk-users mailing list