<br><br><div class="gmail_quote">On Sat, May 31, 2008 at 11:16 AM, Vieri <<a href="mailto:rentorbuy@yahoo.com">rentorbuy@yahoo.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi.<br>
I'm completely new to freeswitch and would like to migrate from asterisk.<br>
I have a couple of questions though:<br>
<br>
1) I understand I won't be able to use my B410P Digium ISDN (mISDN) BRI card yet, right?<br>
</blockquote><div><br>Correct, we have not gotten to the task of supporting BRI just yet.<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
2) my TE120P Digium PRI card should work.<br>
</blockquote><div><br>Any zaptel compatible card should work with OpenZAP on our beta PRI stack which is able<br>to at least run on euro and DMS dialects.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
3) can freeswitch work in a master-master cluster?<br>
Example:<br>
<br>
FreeSWITCH-1 --- MySQL nbcluster tables --- FreeSWITCH-2<br>
<br>
I suppose I can do this if I enable ODBC in FreeSWITCH. But will both FreeSWITCH boxes<br>
get "confused" if they use the "same" clustered database (active/active)?<br>
(by the way, does the built-in sqlite support clustered tables?)<br>
</blockquote><div><br>Every place you can choose ODBC in FS was designed to be able to be shared.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
SIP softphones and ATA phones would register via DNS SRV (or custom method) to any one of the servers but only one (the idea is to load balance registrations).<br>
<br>
Say, extension 101 registers to FS-1 and 102 registers to FS-2.<br>
Could 101 contact 102 simply by looking it up the clustered database (eg. querying the table may yield something like sip:102@FS-2)?<br>
This would be similar to Asterisk 1.4+ Realtime SIP registrations.<br>
In Asterisk 1.2 I use IAX2 friend trunks between the 2 servers and DUNDi for the lookup.<br>
</blockquote><div><br>I know asterisk realtime all to well. I am credited with helping to design it though i believe it was improperly executed from my vision.<br>I personally coded the original res_config* hooks which were later developed into realtime. I also was responsible for making it possible to share SIP registrations over realtime in asterisk <a href="http://bugs.digium.com/view.php?id=4832">http://bugs.digium.com/view.php?id=4832</a> wow what an ordeal that was .....<br>
<br>You will find by studying the xml_hooks and mod_xml_curl <a href="http://wiki.freeswitch.org/wiki/Mod_xml_curl">http://wiki.freeswitch.org/wiki/Mod_xml_curl</a> and this overview <a href="http://www.freeswitch.org/node/123">http://www.freeswitch.org/node/123</a> that the distributed logic to obtain external information in FreeSWITCH will out perform the realtime in both raw capability as well as in the simplicity of implementation to features gained ratio.<br>
<br><br>If you use a sofia profile with ODBC on multiple machines, if you register to any machine all of them will resolve the correct contact address when trying to make an outbound call. Presence, however such as subscriptions must still go to the original box because there is an open SIP dialog that must be maintained. So if you have box1 .. box10 and you register and it hits box2, you can call this user from all 10 boxes and it will find the correct contact addr.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Would queues and ring groups also work in a "clustered" freeswitch system?<br>
In case of "queues", where is the caller position stored? Who's counting? FS-1 or FS-2?<br>
Could the counter be stored in the clustered SQL table so that both FreeSWITCH servers get it right in case calls come in on both servers?<br>
example:<br>
<br>
PSTN---PRI---FreeSWITCH-1 --- clustered SQL --- FreeSWITCH-2---PRI---PSTN<br>
<br>
Calls coming in from the PSTN reach both FS-1 and FS-2. I would like these calls to enter<br>
a "clustered" queue which bridges calls to operator extensions which can be registered on either server.<br>
The caller positions should be coherent across both servers.<br>
<br>
Has anyone done this already?<br>
</blockquote><div><br>All the things stored in mod_limit, the limit app, the db app etc. Can be shared via ODBC the same way as SIP.<br><br>For advanced clustering, you can use an external control entity such as mod_event_socket and combinations of mod_xml_curl so you can dynamically generate a dial plan to send the call to PARK state which is a passive state where you can control the channel on a staging box then distribute them to satellite machines running applications or mod_fifo for call queuing . <br>
<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Thanks for your feedback.<br>
<br>
Vieri<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <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>
<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="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400