Mark Robinson
2012-Sep-13 03:52 UTC
[asterisk-users] Asterisk on VM with NO DAHDI hardware
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120912/48d5e626/attachment.htm>
Shaun Ruffell
2012-Sep-13 03:59 UTC
[asterisk-users] Asterisk on VM with NO DAHDI hardware
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. This will free you from any kernel module dependencies. If that won't work for you, you can still use DAHDI in a virtual machine and it will provide timing for your Asterisk process via kernel timers. If you're using app_meetme, change DAHDI_CHUNKSIZE from 8 (1ms) to 80 (10ms). There isn't anything to be gained from a 1ms mixing chunk if you have no need to bridge audio from one card to another when audio is being delivered to the kernel modules in 20ms chunks. This can have a big impact on reducing the load on the CPU. -- 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
Mark Robinson
2012-Sep-15 01:42 UTC
[asterisk-users] Asterisk on VM with NO DAHDI hardware
I did some research on this subject and still do not understand. Why we use modules if asterisk can obtain timing directly from kernel? On Sep 13, 2012 11:25 PM, "Mark Robinson" <vsysnetwork at gmail.com> wrote:> Thanks Shaun. Very usefully head-up. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120914/1b63b12f/attachment.htm>