<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Agreed. There is danger in over-thinking the problem.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Bote<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mario G<br><b>Sent:</b> Wednesday, 17 February, 2016 12:03<br><b>Subject:</b> Re: [Freeswitch-docs] FreeSWITCH 1.8 New Configs<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Not sure why you need to add this to FreeSwitch config/install for OS X but I documented auto startup for OS X here:<o:p></o:p></p><div><p class=MsoNormal><a href="https://freeswitch.org/confluence/display/FREESWITCH/Customization+on+OS+X#CustomizationonOSX-AutomaticStartupandShutdown">https://freeswitch.org/confluence/display/FREESWITCH/Customization+on+OS+X#CustomizationonOSX-AutomaticStartupandShutdown</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>And for OS X config should all be in one place as it is now. Otherwise there could be permissions problems, etc.<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>On Feb 17, 2016, at 6:53 AM, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>&gt; wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>Oops. Systemd error &nbsp;:o)<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>I made smal search and find:<o:p></o:p></p></div><div><p class=MsoNormal>1) MacOS systemd alternative - launchd<o:p></o:p></p></div><div><p class=MsoNormal>2) BSD systemd alternative - relaunchd<o:p></o:p></p></div><div><div><p class=MsoNormal>3) Windows systemd alternative - SCM<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><a href="https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/launchd.plist.5.html">launchd (MacOS)</a><o:p></o:p></p></div><div><div><p class=MsoNormal>DEPENDENCIES<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp;Unlike many bootstrapping daemons, launchd has no explicit dependency model.&nbsp; Interdependencies are<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp;expected to be solved through the use of IPC.&nbsp; It is therefore in the best interest of a job developer<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp;who expects dependents to define all of the sockets in the configuration file. This has the added bene-fit benefit<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp;fit of making it possible to start the job based on demand instead of immediate<o:p></o:p></p></div></div><div><p class=MsoNormal>Please read &quot;<a href="https://wiki.afp548.com/index.php/Launch_Daemons/Agents_in_OS_X#The_launchd_Startup_Process">The launchd Startup Process</a>&quot; and &quot;<a href="https://wiki.afp548.com/index.php/Launch_Daemons/Agents_in_OS_X#The_launchd_Startup_Process">How to communicate with a LaunchAgent via Unix Sockets?</a>&quot;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><a href="https://github.com/mheily/relaunchd">relaunchd(BSD)</a><o:p></o:p></p></div><div><p class=MsoNormal>This tool is not installed to FreeBSD in default configuration. But may be installed and used like launchd in MacOS.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><a href="https://technet.microsoft.com/ru-ru/library/aa998749(v=exchg.65).aspx">SCM(Windows)</a><o:p></o:p></p></div><div><p class=MsoNormal>DependOnService - Lists the names of Windows services on which this service depends. SCM must start these services before it starts this service. This value can be an empty string if the service has no dependencies.<o:p></o:p></p></div><div><p class=MsoNormal>One more <a href="http://support.voiceelements.com/index.php?title=How_to_Add_Service_Dependencies">link</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>PS. About changes I will write late.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Wed, Feb 17, 2016 at 4:28 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt; wrote:<o:p></o:p></p><div><p class=MsoNormal>Now you're thinking linux only, now apply your mindset to Mac, Windows, *BSD, have you reviewed the changes I've made last week to the sample configs in the fsconfig18 repo?<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Wed, Feb 17, 2016 at 4:12 AM, Sergey Safarov &lt;<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>&gt; wrote:<o:p></o:p></p><div><p class=MsoNormal>Hello FSs<o:p></o:p></p><div><p class=MsoNormal>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<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>I think FS get more flexibility if config files will be spited of pisses for each module and modules will be loaded using systemd.<o:p></o:p></p></div><div><p class=MsoNormal>Example:<o:p></o:p></p></div><div><p class=MsoNormal>1) freeswitch.service contain strings &quot;Requires=freeswitch-config.service freeswitch-directory.service freeswitch-dialplan.service&quot;<o:p></o:p></p></div><div><p class=MsoNormal>2) freeswitch-config.service contains string &quot;Wants= freeswitch-mod-sofia.service freeswitch-mod-dptools.service freeswitch-mod-lua.service&quot;<o:p></o:p></p></div><div><p class=MsoNormal>3) freeswitch-mod-*.service unit files contains strings &quot;ExecStart=/usr/bin/freeswitch -x 'load &lt;mod_module&gt;'&quot;. Where &lt;mod_module&gt; is name of module<o:p></o:p></p></div><div><p class=MsoNormal>4) &nbsp;freeswitch-directory.service &nbsp;contains string like&nbsp;ExecStart=/usr/bin/freeswitch -x 'load directory'&quot;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>This case of loading FS has following features:<o:p></o:p></p></div><div><p class=MsoNormal>1) management of module dependency and module loading order via systemd;<o:p></o:p></p></div><div><p class=MsoNormal>2) allow at preprocessor level abbility to implement construction like &quot;if module loaded; then else; fi&quot; and &quot;case where&quot;. This allow dialplan will be polymorphic for FS configuration;<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><div><p class=MsoNormal>On Mon, Dec 7, 2015 at 7:57 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt; wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal>FreeSWITCHers,<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>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&nbsp;FS-8609 on <a href="http://hipchat.freeswitch.org/" target="_blank">hipchat.freeswitch.org</a> if you wish to join in.&nbsp; Lets start the discussion on this topic.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><i><span style='font-size:13.5pt;font-family:"Courier New"'>Brian West</span></i></b><span style='font-family:"Courier New"'><br></span><span style='font-size:10.0pt;font-family:"Courier New"'><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span><o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></div></div></div></div></blockquote></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></body></html>