<div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I can't really comment regarding your architecture. But real power of FS shines when using with <span style="font-size:12.8px;font-family:arial,sans-serif">xml_curl. </span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="font-size:12.8px;font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><span style="font-size:12.8px;font-family:arial,sans-serif">I am using FS with </span><span style="font-size:12.8px;font-family:arial,sans-serif">xml_curl</span><span style="font-size:12.8px;font-family:arial,sans-serif"> to not let FS to make any decision or checking, but only to handle calls. For example, I even check on server side, where curl </span><span style="font-size:12.8px;font-family:arial,sans-serif">is generated, if extension is registered before transfering calls. In your case server side logic can check time of day and only tells FS even to play file and cancel or to transfer to extension.</span></div><img src="http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=971470c7-f355-44fc-a5d7-67d859047263" style="display:none!important" height="1" width="1"><img src="http://t.sidekickopen68.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5dbp0W3MPnzY4XrbSMW8q-f_43LvrVvW59BB4r1k1H6H0?si=5036397111279616&pi=2212b91d-b9a5-4cf6-d40d-7841c4a5e8a6" style="display:none!important" height="1" width="1"><div class="gmail_extra"><br><div class="gmail_quote">2017-05-15 22:34 GMT+02:00 Piccinin Francesco <span dir="ltr"><<a href="mailto:francesco.piccinin@insiel.it" target="_blank">francesco.piccinin@insiel.it</a>></span><wbr>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gregor,<br>
our platform is a cluster of FS server and all the config resides on a centralized DB hosted on HA servers.<br>
If I got it right, offloading logic on server side for all FS implies replicating data (and keep them updated and sync) from DB to all fs server.<br>
<br>
Is it really a good solution for scalability?<br>
<br>
Thanks<br>
Francesco<br>
<br>
Da: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists<wbr>.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounc<wbr>es@lists.freeswitch.org</a>] Per conto di Gregor Nanger<br>
Inviato: lunedì 15 maggio 2017 20:38<br>
A: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>><br>
Oggetto: Re: [Freeswitch-users] Freeswitch Time of Day Routing XML_curl<br>
<br>
Even if FS makes http post, you can offload FS with all logic in server side, that you can return only small dial plan.<br>
<br>
On Mon, May 15, 2017, 19:29 Brian West <mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>> wrote:<br>
ToD routing when using xml_curl makes no sense, You can already answer the request with exactly what needs to run for the current time the request is being made.<br>
<br>
/b<br>
<br>
<br>
On Mon, May 15, 2017 at 11:41 AM, Piccinin Francesco <mailto:<a href="mailto:francesco.piccinin@insiel.it" target="_blank">francesco.piccinin@ins<wbr>iel.it</a>> wrote:<br>
Hi all,<br>
we are trying to setup Freeswitch ToD routing using XML curl for XML dialplan dynamic generation.<br>
<br>
Please note that our dialplan is mainly stored on static file (plus lua support) with few exceptions like IVRs.<br>
In order to avoid freeswitch sending http post on every call (as would happen adding binding=directory on xml_curl configuration module), we would like to find a way to generate dynamic xml dialplan only on particular case like ToD.<br>
<br>
Can you please give us some clues about this?<br>
<br>
Thanks<br>
Regards<br>
<br>
Francesco<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.o<wbr>rg</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
<br>
--<br>
Brian West<br>
mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="http://www.freeswitchbook.com" rel="noreferrer" target="_blank">http://www.freeswitchbook.com</a> <br>
<a href="http://www.freeswitchcookbook.com" rel="noreferrer" target="_blank">http://www.freeswitchcookbook.<wbr>com</a><br>
<a href="https://freeswitch.com/appointment" rel="noreferrer" target="_blank">https://freeswitch.com/appoint<wbr>ment</a><br>
<br>
Allison prompts for FreeSWITCH:<br>
<a href="https://www.gofundme.com/allison-prompts-for-freeswitch" rel="noreferrer" target="_blank">https://www.gofundme.com/allis<wbr>on-prompts-for-freeswitch</a><br>
Got Bugs? Report them <a href="https://freeswitch.org/jira" rel="noreferrer" target="_blank">https://freeswitch.org/jira</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitchT:+19184209001" rel="noreferrer" target="_blank">https://www.reddit.com<wbr>/r/freeswitch<br>
T:+19184209001</a> | F:<a href="tel:%2B19184209002" value="+19184209002" target="_blank">+19184209002</a> | M:+1918424WEST (9378)<br>
Skype:briankwest<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
mailto:<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.o<wbr>rg</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
--<br>
Gregor Nanger<br>
<br>
CTO<br>
t./f.: <a href="tel:00386%20%280%29%207%206000%20308" value="+38676000308" target="_blank">00386 (0) 7 6000 308</a>/309 • m:. <a href="tel:00386%20%280%2941%20756485" value="+38641756485" target="_blank">00386 (0)41 756485</a> <br>
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia <br>
• <a href="http://www.infomedia.si/" rel="noreferrer" target="_blank">http://www.infomedia.si/</a><br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br><div><br></div><div class="m_-5956628751056732459gmail_signature" data-smartmail="gmail_signature"></div>
</div></div>