So the freetdm io submods would need to export a timing device that could be used for this. Maybe just something that returns an open file handle? so the code from his new mod that sets up the dahdi socket could be moved into ftdm_mod_zt in a func that returns a fd and mod_freetdm could add the code from his mod only use freetdm_get_timing_socket("dahdi") or something and get the fd... and most of the rest is the same right? Other options? On Wed, Oct 23, 2013 at 4:55 PM, Moises Silva <moises.silva@gmail.com>wrote:
On Tue, Oct 22, 2013 at 11:51 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
Moises,
Does libsangoma have a way to open a generic socket to get timing from in this manner? Ideally if we could get this into mod_freetdm we could make it auto set the timer_name variable in the new channels from the tdm source and have mod_conference auto set the timer as well if the first caller has a certain variable set.
We do not have that currently, but it's close. The kernel code is there (we have it for our DAHDI interface), just need to find a bit of time to add some libsangoma calls to use it, so I'd like to get this integrated in a way later on we can just add the timing interface for ftdm_wanpipe.
Ideally freetdm would have its own timing interface and then delegate to the IO module (in this case DAHDI would have an implementation working) where Wanpipe's implementation would come a bit later.
Moy
*Moises Silva **Manager, Software Engineering***
msilva@sangoma.com
Sangoma Technologies
100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
t. +1 800 388 2475 (N. America)
t. +1 905 474 1990 x128
f. +1 905 474 9223
**<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>
Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`| | YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900