[Freeswitch-users] R: Freeswitch Time of Day Routing XML_curl

Gregor Nanger gregor at infomedia.si
Mon May 15 20:54:57 UTC 2017


I can't really comment regarding your architecture. But real power of FS
shines when using with xml_curl.

I am using FS with xml_curl 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 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.

2017-05-15 22:34 GMT+02:00 Piccinin Francesco <francesco.piccinin at insiel.it>
:

> Hi Gregor,
> our platform is a cluster of FS server and all the config resides on a
> centralized DB hosted on HA servers.
> 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.
>
> Is it really a good solution for scalability?
>
> Thanks
> Francesco
>
> Da: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] Per conto di Gregor Nanger
> Inviato: lunedì 15 maggio 2017 20:38
> A: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Oggetto: Re: [Freeswitch-users] Freeswitch Time of Day Routing XML_curl
>
> Even if FS makes http post, you can offload FS with all logic in server
> side, that you can return only small dial plan.
>
> On Mon, May 15, 2017, 19:29 Brian West <mailto:brian at freeswitch.org>
> wrote:
> 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.
>
> /b
>
>
> On Mon, May 15, 2017 at 11:41 AM, Piccinin Francesco <mailto:
> francesco.piccinin at insiel.it> wrote:
> Hi all,
> we are trying to setup Freeswitch ToD routing using XML curl for XML
> dialplan dynamic generation.
>
> Please note that our dialplan is mainly stored on static file (plus lua
> support) with few exceptions like IVRs.
> 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.
>
> Can you please give us some clues about this?
>
> Thanks
> Regards
>
> Francesco
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> mailto:consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> mailto:FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Brian West
> mailto:brian at freeswitch.org
> Twitter: @FreeSWITCH , @briankwest
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
> https://freeswitch.com/appointment
>
> Allison prompts for FreeSWITCH:
> https://www.gofundme.com/allison-prompts-for-freeswitch
> Got Bugs? Report them https://freeswitch.org/jira! | Reddit:
> https://www.reddit.com/r/freeswitch
> T:+19184209001 <https://www.reddit.com/r/freeswitchT:+19184209001> | F:
> +19184209002 | M:+1918424WEST (9378)
> Skype:briankwest
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> mailto:consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> mailto:FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> --
> Gregor Nanger
>
> CTO
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>http://www.infomedia.si/
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170515/8d64abd5/attachment-0001.html 


More information about the FreeSWITCH-users mailing list