[Freeswitch-users] Conference timer synchronization with T1 FreeTDM - how?
Bob Hartwig
bobjectsfreeswitch at gmail.com
Wed Sep 25 16:36:44 MSD 2013
Hello Anthony,
On Tue, Sep 24, 2013 at 11:45 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> You could test your theory more by making an extension like this:
>
> <extension name="test">
> <condition field="destination_number" expression="^1234$">
> <action application="answer"/>
> <action application="set" data="time_name=soft"/>
> <action application="playback"
> data="tone_stream://%(251,0,1004);loops=-1"/>
> </condition>
> </extension>
>
>
> This would produce a timer and use it for playback instead of the read
> stream.
>
>
Yes, I did just that yesterday, and the playback is similarly distorted
then. That experiment is what made me pretty certain that the
mod_conference timer was my culprit.
> If you wanted to make a timer you could use from the TDM you would have to
> make a FS module with raw dahdi code in it that opened a socket and clocked
> off of it and pushed it out to the channels like how some of the other
> timer modules do but I think if you are on a modern kernel with timerfd
> that this should not be necessary. If you are on an older platform like
> centos5 you could try the old -heavy-timer command line arg.
>
>
-heavy-timer is new to me, thanks for the tip. My problem is not timer
accuracy, but timer synchronization with the T1 clock. But grepping for
heavy-timer may give me some insight on how to replace the main timer if it
turns out that I need to go that way.
Thanks,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130925/16e1e1c3/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list