<h1>Project "FreeSWITCH user-contributed scripts, etc" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: abd1a5786ac8079d735ede53515dbaedd8324acd (commit)
from: d850c3f8a176e25142ee03cf316f4f19204837ea (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Mitch Capper
comments:
Minor cleanup, removed options that were not needed, and stop debug logging.
<span style="color: #000080; font-weight: bold">diff --git a/mitchcapper/FSClient/Broker.cs b/mitchcapper/FSClient/Broker.cs</span>
<span style="color: #000080; font-weight: bold">index b97d932..959dc0d 100644</span>
<span style="color: #A00000">--- a/mitchcapper/FSClient/Broker.cs</span>
<span style="color: #00A000">+++ b/mitchcapper/FSClient/Broker.cs</span>
<span style="color: #800080; font-weight: bold">@@ -652,7 +652,7 @@ namespace FSClient {</span>
                        XmlUtils.AddNodeAttrib(config_node, "name", name);
                        XmlUtils.AddNodeAttrib(config_node, "description", desc);
                        func(config_node);
<span style="color: #A00000">-                        root_doc.Save(@"c:\temp\fs_" + name);</span>
<span style="color: #00A000">+                        //root_doc.Save(@"c:\temp\fs_" + name);</span>
                        return root_doc.OuterXml;
                }
                private string xml_search(FreeSWITCH.SwitchXmlSearchBinding.XmlBindingArgs args) {
<span style="color: #800080; font-weight: bold">@@ -674,9 +674,9 @@ namespace FSClient {</span>
                private static IDisposable event_bind;
                
                private void fs_core_init() {
<span style="color: #A00000">-                        fs_inited = true;</span>
<span style="color: #A00000">-                        freeswitch.switch_core_set_globals();</span>
<span style="color: #00A000">+                        fs_inited = true;</span>
                        String err = "";
<span style="color: #00A000">+                        freeswitch.switch_core_set_globals();</span>
                        const uint flags = (uint)(switch_core_flag_enum_t.SCF_USE_SQL | switch_core_flag_enum_t.SCF_USE_AUTO_NAT);
                        switch_status_t res = freeswitch.switch_core_init(flags, switch_bool_t.SWITCH_FALSE, ref err);
                        search_bind = FreeSWITCH.SwitchXmlSearchBinding.Bind(xml_search, switch_xml_section_enum_t.SWITCH_XML_SECTION_CONFIG);
<span style="color: #000080; font-weight: bold">diff --git a/mitchcapper/FSClient/External Items/conf/freeswitch.xml b/mitchcapper/FSClient/External Items/conf/freeswitch.xml</span>
<span style="color: #000080; font-weight: bold">index abd04ad..8c53be0 100644</span>
<span style="color: #A00000">--- a/mitchcapper/FSClient/External Items/conf/freeswitch.xml        </span>
<span style="color: #00A000">+++ b/mitchcapper/FSClient/External Items/conf/freeswitch.xml        </span>
<span style="color: #800080; font-weight: bold">@@ -1,14 +1,8 @@</span>
<?xml version="1.0"?>
<document type="freeswitch/xml">
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="auto_answer=false"/></span>
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/></span>
<X-PRE-PROCESS cmd="set" data="hold_music=local_stream://moh"/>
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/></span>
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:stun.freeswitch.org"/></span>
<X-PRE-PROCESS cmd="set" data="console_loglevel=info"/>
<X-PRE-PROCESS cmd="set" data="us-ring=v=0;%(2000,4000,440.0,480.0)"/>
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;>=2;+=.1;%(1400,0,350,440)"/></span>
<span style="color: #A00000">- <X-PRE-PROCESS cmd="set" data="sit=%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)"/></span>
<section name="configuration" description="Various Configuration">
<configuration name="console.conf" description="Console Logger">
<span style="color: #800080; font-weight: bold">@@ -36,15 +30,12 @@</span>
</settings>
<profiles>
<profile name="default">
<span style="color: #A00000">- <settings></span>
<span style="color: #A00000">- </settings></span>
<mappings>
<map name="all" value="debug,info,notice,warning,err,crit,alert"/>
</mappings>
</profile>
</profiles>
</configuration>
<span style="color: #A00000">-</span>
<configuration name="modules.conf" description="Modules">
<modules>
<load module="mod_console"/>
<span style="color: #800080; font-weight: bold">@@ -69,38 +60,20 @@</span>
<load module="mod_event_socket"/>
</modules>
</configuration>
<span style="color: #A00000">-</span>
<configuration name="portaudio.conf" description="Soundcard Endpoint">
<settings>
<span style="color: #A00000">- <param name="indev" value="4"/></span>
<span style="color: #A00000">- <param name="outdev" value="8"/></span>
<span style="color: #A00000">-                                        <param name="ringdev" value="8"/></span>
                                        <param name="dual-streams" value="true" />
                                        <param name="live-stream-switch" value="true" />
                                        <param name="no-auto-resume-call" value="true" />
<span style="color: #A00000">-                                        <param name="no-ring-during-call" value="true" /></span>
<span style="color: #A00000">-                                        </span>
<span style="color: #A00000">-                                        </span>
<span style="color: #00A000">+                                        <param name="no-ring-during-call" value="true" />                        </span>
<param name="ring-file" value="tone_stream://%(2000,4000,440.0,480.0);loops=20"/>
<param name="ring-interval" value="5"/>
<param name="hold-file" value="$${hold_music}"/>
<param name="dialplan" value="XML"/>
<param name="sample-rate" value="24000"/>
<param name="codec-ms" value="20"/>
<span style="color: #A00000">-                                        <!--</span>
<span style="color: #A00000">-                                                Alternate items:</span>
<span style="color: #A00000">-                                                        codec-ms</span>
<span style="color: #A00000">-                                                        sample-rate=8000</span>
<span style="color: #A00000">-                                                </span>
<span style="color: #A00000">-                                        --></span>
</settings>
</configuration>
<span style="color: #A00000">-</span>
<span style="color: #A00000">- <configuration name="post_load_modules.conf" description="Modules"></span>
<span style="color: #A00000">- <modules></span>
<span style="color: #A00000">- </modules></span>
<span style="color: #A00000">- </configuration></span>
<span style="color: #A00000">-</span>
<configuration name="switch.conf" description="Core Configuration">
<cli-keybindings>
<key name="1" value="help"/>
<span style="color: #800080; font-weight: bold">@@ -117,12 +90,10 @@</span>
<key name="12" value="version"/>
</cli-keybindings>
<settings>
<span style="color: #A00000">- <param name="colorize-console" value="true"/></span>
<span style="color: #A00000">- <param name="max-sessions" value="20"/></span>
<span style="color: #A00000">- <param name="sessions-per-second" value="5"/></span>
<span style="color: #00A000">+                                                                <param name="colorize" value="true"/></span>
<span style="color: #00A000">+ <param name="max-sessions" value="100"/></span>
<span style="color: #00A000">+ <param name="sessions-per-second" value="30"/></span>
<param name="loglevel" value="debug"/>
<span style="color: #A00000">- <param name="crash-protection" value="false"/></span>
<span style="color: #A00000">- <param name="dump-cores" value="yes"/></span>
<param name="rtp-start-port" value="16384"/>
<param name="rtp-end-port" value="16484"/>
</settings>
<span style="color: #000080; font-weight: bold">diff --git a/mitchcapper/FSClient/Sofia.cs b/mitchcapper/FSClient/Sofia.cs</span>
<span style="color: #000080; font-weight: bold">index 3f776d6..b3f3b3d 100644</span>
<span style="color: #A00000">--- a/mitchcapper/FSClient/Sofia.cs</span>
<span style="color: #00A000">+++ b/mitchcapper/FSClient/Sofia.cs</span>
<span style="color: #800080; font-weight: bold">@@ -75,7 +75,6 @@ namespace FSClient {</span>
                        XmlNode global_settings = XmlUtils.AddNodeNode(config_node, "global_settings");
                        Utils.add_xml_param(global_settings, "auto-restart", "true");
<span style="color: #A00000">-                        Utils.add_xml_param(global_settings, "debug-presence", "0");</span>
                        Utils.add_xml_param(global_settings, "log-level", "0");
                        XmlNode profiles = XmlUtils.AddNodeNode(config_node, "profiles");
                        XmlNode profile = XmlUtils.AddNodeNode(profiles, "profile");
<span style="color: #800080; font-weight: bold">@@ -87,7 +86,6 @@ namespace FSClient {</span>
                        Utils.add_xml_param(settings, "context", "public");
                        Utils.add_xml_param(settings, "dialplan", "xml");
                        Utils.add_xml_param(settings, "disable-register", "true");
<span style="color: #A00000">-                        Utils.add_xml_param(settings, "manage-presence", "false");</span>
                        foreach (FieldValue value in values) {
                                if (!String.IsNullOrEmpty(value.field.xml_name))
                                        Utils.add_xml_param(settings, value.field.xml_name, value.value);
</pre></div>
========================================================================<pre>
Summary of changes:
mitchcapper/FSClient/Broker.cs | 6 ++--
.../FSClient/External Items/conf/freeswitch.xml | 37 ++-----------------
mitchcapper/FSClient/Sofia.cs | 2 -
3 files changed, 7 insertions(+), 38 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH user-contributed scripts, etc</p>