[Freeswitch-dev] New "mod_dahdi_timer" - does the community want this?

Bob Hartwig bobjectsfreeswitch at gmail.com
Mon Oct 21 21:03:30 MSD 2013


Yes, I see now that that's true.  That's good - no code changes needed,
besides the addition of my new mod_dahdi_timer module.

    Bob



On Mon, Oct 21, 2013 at 12:53 PM, Steven Ayre <steveayre at gmail.com> wrote:

> +1 - the only occurrence in mod_conference.c of "soft" is as a default
> when timer_name has not been set in the configuration file.
>
>
> On 21 October 2013 16:41, Anthony Minessale <anthony.minessale at gmail.com>wrote:
>
>> It already is an option on the conference configs: timer-name.
>> This could be use for sip as well for the same reasons.
>>
>> I've suggested this to be done a few times already.  Ideally sangoma
>> should make something similar.
>> For scale-ability I also recommend looking at mod_timerfd and doing it in
>> a similar fashion to use one single dadhi channel to service N threads.
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Oct 21, 2013 at 10:15 AM, Michael Jerris <mike at jerris.com> wrote:
>>
>>> Sure, except obviously we shouldn't hardcode the change to
>>> mod_conference, we should make the timer an option in mod_conference
>>> config.  Toss it on out in jira.
>>>
>>> Thanks
>>> Mike
>>>
>>> On Oct 18, 2013, at 10:32 AM, Bob Hartwig <bobjects at gmail.com> wrote:
>>>
>>> > I ran across a problem with a Dahdi-based FreeTDM system a few weeks
>>> ago.  Because the timer for mod_conference was not synchronized to the T1
>>> clock source, there was significant periodic on-conference noise.  The
>>> problem was not that the "soft" timer was inaccurate; on the contrary, it
>>> was a very accurate 1 mS timer in a system that had a pretty inaccurate T1
>>> clock coming in.
>>> >
>>> > My solution was to create a new "mod_dahdi_timer", which derives the
>>> ~1 mS timer from 8 ticks of the 8 kHz /dev/dahdi/timer device.  Then a
>>> one-line change to mod_conference.c to change "soft" to "dahdi", and the
>>> conference sounds perfectly clean.
>>> >
>>> > Is this something that the FS community wants?  It's pretty specific -
>>> probably only of interest to users of Dahdi-based FreeTDM systems, but for
>>> them, it may be very useful.  If so, how do I go about contributing it?
>>>  I've never contributed any source to the FS community before.
>>> >
>>> >     Thanks,
>>> >     Bob
>>> >
>>> >
>>> _________________________________________________________________________
>>> > Professional FreeSWITCH Consulting Services:
>>> > consulting at freeswitch.org
>>> > http://www.freeswitchsolutions.com
>>> >
>>> > 
>>> > 
>>> >
>>> > Official FreeSWITCH Sites
>>> > http://www.freeswitch.org
>>> > http://wiki.freeswitch.org
>>> > http://www.cluecon.com
>>> >
>>> > FreeSWITCH-dev mailing list
>>> > FreeSWITCH-dev at lists.freeswitch.org
>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> > http://www.freeswitch.org
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20131021/1a178542/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list