[Freeswitch-docs] FreeSWITCH 1.8 New Configs
Sergey Safarov
s.safarov at gmail.com
Wed Feb 17 13:12:27 MSK 2016
Hello FSs
At present time FS config file is solid. Loaded ones at startup for all
modules. Also module loading is executed as modules listed in modules.conf
I think FS get more flexibility if config files will be spited of pisses
for each module and modules will be loaded using systemd.
Example:
1) freeswitch.service contain strings "Requires=freeswitch-config.service
freeswitch-directory.service freeswitch-dialplan.service"
2) freeswitch-config.service contains string "Wants=
freeswitch-mod-sofia.service freeswitch-mod-dptools.service
freeswitch-mod-lua.service"
3) freeswitch-mod-*.service unit files contains strings
"ExecStart=/usr/bin/freeswitch
-x 'load <mod_module>'". Where <mod_module> is name of module
4) freeswitch-directory.service contains string like
ExecStart=/usr/bin/freeswitch
-x 'load directory'"
This case of loading FS has following features:
1) management of module dependency and module loading order via systemd;
2) allow at preprocessor level abbility to implement construction like "if
module loaded; then else; fi" and "case where". This allow dialplan will be
polymorphic for FS configuration;
On Mon, Dec 7, 2015 at 7:57 PM, Brian West <brian at freeswitch.org> wrote:
> FreeSWITCHers,
>
> FS-8609 is raised to get a rough outline of a completely new config sample
> that will be used in 1.8, So we are reaching out to the community for input
> and direction, I have also created a hipchat room FS-8609 on
> hipchat.freeswitch.org if you wish to join in. Lets start the discussion
> on this topic.
>
> Thanks,
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _______________________________________________
> Freeswitch-docs mailing list
> Freeswitch-docs at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20160217/2ddde2e4/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the Freeswitch-docs
mailing list