[asterisk-users] Asterisk on VM with NO DAHDI hardware

Shaun Ruffell sruffell at digium.com
Thu Sep 13 09:35:55 CDT 2012

On Thu, Sep 13, 2012 at 09:49:37AM +0200, Olivier wrote:
> 2012/9/13 Shaun Ruffell <sruffell at digium.com>
> > On Wed, Sep 12, 2012 at 11:52:40PM -0400, Mark Robinson wrote:
> > > I know that asterisk on virtual machine require a timing source.
> > > What would you suggest to use for timing? We will plan to use only
> > > SIP and IAX2.
> >
> > If you're on a newish kernel (something later than v2.6.22), can use
> > app_confbridge instead of app_meetme, and do not need app_page
> > (unless you can can join the beta / wait for Asterisk 11) you can
> > simply use res_timining_timerfd.
> How do you specify this ?
> Passing options when compiling asterisk from source ?

It should build by default if your platform supports it.

In menuconfig, check that the module is enabled:
  "Resource Modules" :  [*] res_timing_timerfd 

Ensure that res_timing_timerfd.so is loaded in

  noload => res_timing_dahdi.so
  noload => res_timing_pthread.so
  load => res_timing_timerfd.so

And you can ensure you have a timing source in asterisk with timing
test, which will also show which timing source you're using:

  *CLI> timing test 
  Attempting to test a timer with 50 ticks per second.
  Using the 'timerfd' timing module for this test.
  It has been 1000 milliseconds, and we got 50 timer ticks

Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list