<div dir="ltr">So the freetdm io submods would need to export a timing device that could be used for this.<div>Maybe just something that returns an open file handle?  </div><div><br></div><div>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 </div>
<div><br></div><div>and mod_freetdm could add the code from his mod only use  freetdm_get_timing_socket(&quot;dahdi&quot;) or something and get the fd... and most of the rest is the same right?</div><div><br></div><div>Other options?</div>
<div><br></div><div><br></div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 4:55 PM, Moises Silva <span dir="ltr">&lt;<a href="mailto:moises.silva@gmail.com" target="_blank">moises.silva@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Tue, Oct 22, 2013 at 11:51 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
</div><div class="gmail_extra">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Moises,<div><br></div><div>Does libsangoma have a way to open a generic socket to get timing from in this manner?</div>

<div>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.</div>

</div></blockquote><div><br></div></div><div>We do not have that currently, but it&#39;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&#39;d like to get this integrated in a way later on we can just add the timing interface for ftdm_wanpipe.<br>

<br></div><div>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&#39;s implementation would come a bit later.<br>

</div><div class="im"><div><br></div><div>Moy<br><br clear="all"></div><div><div><table style="width:486.3pt;border-collapse:collapse" border="0" cellpadding="0" cellspacing="0" width="648"><tbody><tr style="height:60.55pt">
<td style="border-style:dotted none none;border-top:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt">
<p style="margin:0px;line-height:15px"><b><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)" lang="PT-BR">Moises Silva<br></span></b><b><i><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="EN-CA">Manager, Software Engineering</span></i></b><b><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(14,93,167)" lang="PT-BR"></span></b></p>

<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA"><a href="mailto:msilva@sangoma.com" target="_blank">msilva@sangoma.com</a></span></p>

<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">Sangoma Technologies</span></p><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</span><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(255,192,0)" lang="EN-CA"></span></p>

</td><td style="width:140.45pt;border-style:dotted none none;border-top:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt" width="187"><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA"><br>

t.   <a href="tel:%2B1%20800%20388%202475" value="+18003882475" target="_blank">+1 800 388 2475</a> (N. America)</span></p><p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">t.   <a href="tel:%2B1%20905%20474%201990%20x128" value="+19054741990" target="_blank">+1 905 474 1990 x128</a></span></p>

<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(0,92,165)" lang="EN-CA">f.   <a href="tel:%2B1%20905%20474%209223" value="+19054749223" target="_blank">+1 905 474 9223</a></span></p>
<p style="margin:0px;line-height:15px"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(31,73,125)" lang="EN-CA"> </span></p>
</td><td rowspan="2" style="width:111.55pt;border-style:dotted none;border-top:1pt dotted rgb(128,176,214);border-bottom:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt;height:60.55pt" width="149"><p style="margin:0px;line-height:15px">

<a href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email+signatures" target="_blank"><b><span style="color:rgb(31,73,125);text-decoration:none"><img height="15" border="0" width="96"></span></b></a><span style="color:rgb(31,73,125)"></span></p>

</td></tr><tr><td colspan="2" style="width:374.75pt;border-style:none none dotted;border-bottom:1pt dotted rgb(128,176,214);padding:1.45pt 5.75pt" width="500"><p style="margin:0px;line-height:15px"><a href="http://sangoma.com/products?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Products</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://sangoma.com/solutions?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Solutions</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://sangoma.com/about_us/events?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Events</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Contact</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://wiki.sangoma.com/?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Wiki</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Facebook</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR"> | </span><a href="http://www.twitter.com/sangoma?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">Twitter</span></a><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">`| | </span><a href="http://www.youtube.com/sangomatechnologies?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures" target="_blank"><span style="font-size:8pt;line-height:12px;font-family:Arial,sans-serif;color:rgb(128,176,214)" lang="PT-BR">YouTube</span></a><span style="font-size:8pt;line-height:12px;color:rgb(31,73,125)"></span></p>

</td></tr></tbody></table><p style="margin:0px"><span><br></span></p></div>
<br><br></div></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</div>