<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, &quot;name&quot;, name);
                         XmlUtils.AddNodeAttrib(config_node, &quot;description&quot;, desc);
                         func(config_node);
<span style="color: #A00000">-                        root_doc.Save(@&quot;c:\temp\fs_&quot; + name);</span>
<span style="color: #00A000">+                        //root_doc.Save(@&quot;c:\temp\fs_&quot; + 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 = &quot;&quot;;
<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>
 &lt;?xml version=&quot;1.0&quot;?&gt;
 &lt;document type=&quot;freeswitch/xml&quot;&gt;
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;auto_answer=false&quot;/&gt;</span>
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;domain=$${local_ip_v4}&quot;/&gt;</span>
         &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;hold_music=local_stream://moh&quot;/&gt;
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_rtp_ip=stun:stun.freeswitch.org&quot;/&gt;</span>
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_sip_ip=stun:stun.freeswitch.org&quot;/&gt;</span>
         &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;console_loglevel=info&quot;/&gt;
         &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;us-ring=v=0;%(2000,4000,440.0,480.0)&quot;/&gt;
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;bong-ring=v=-7;%(100,0,941.0,1477.0);v=-7;&gt;=2;+=.1;%(1400,0,350,440)&quot;/&gt;</span>
<span style="color: #A00000">-        &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;sit=%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)&quot;/&gt;</span>
 
         &lt;section name=&quot;configuration&quot; description=&quot;Various Configuration&quot;&gt;
                 &lt;configuration name=&quot;console.conf&quot; description=&quot;Console Logger&quot;&gt;
<span style="color: #800080; font-weight: bold">@@ -36,15 +30,12 @@</span>
                         &lt;/settings&gt;
                         &lt;profiles&gt;
                                 &lt;profile name=&quot;default&quot;&gt;
<span style="color: #A00000">-                                        &lt;settings&gt;</span>
<span style="color: #A00000">-                                        &lt;/settings&gt;</span>
                                         &lt;mappings&gt;
                                                 &lt;map name=&quot;all&quot; value=&quot;debug,info,notice,warning,err,crit,alert&quot;/&gt;
                                         &lt;/mappings&gt;
                                 &lt;/profile&gt;
                         &lt;/profiles&gt;
                 &lt;/configuration&gt;
<span style="color: #A00000">-</span>
                 &lt;configuration name=&quot;modules.conf&quot; description=&quot;Modules&quot;&gt;
                         &lt;modules&gt;
                                 &lt;load module=&quot;mod_console&quot;/&gt;
<span style="color: #800080; font-weight: bold">@@ -69,38 +60,20 @@</span>
                                 &lt;load module=&quot;mod_event_socket&quot;/&gt;
                         &lt;/modules&gt;
                 &lt;/configuration&gt;
<span style="color: #A00000">-</span>
                 &lt;configuration name=&quot;portaudio.conf&quot; description=&quot;Soundcard Endpoint&quot;&gt;
                   &lt;settings&gt;
<span style="color: #A00000">-                    &lt;param name=&quot;indev&quot; value=&quot;4&quot;/&gt;</span>
<span style="color: #A00000">-                    &lt;param name=&quot;outdev&quot; value=&quot;8&quot;/&gt;</span>
<span style="color: #A00000">-                                        &lt;param name=&quot;ringdev&quot; value=&quot;8&quot;/&gt;</span>
                                         &lt;param name=&quot;dual-streams&quot; value=&quot;true&quot; /&gt;
                                         &lt;param name=&quot;live-stream-switch&quot; value=&quot;true&quot; /&gt;
                                         &lt;param name=&quot;no-auto-resume-call&quot; value=&quot;true&quot; /&gt;
<span style="color: #A00000">-                                        &lt;param name=&quot;no-ring-during-call&quot; value=&quot;true&quot; /&gt;</span>
<span style="color: #A00000">-                                        </span>
<span style="color: #A00000">-                                        </span>
<span style="color: #00A000">+                                        &lt;param name=&quot;no-ring-during-call&quot; value=&quot;true&quot; /&gt;                        </span>
                     &lt;param name=&quot;ring-file&quot; value=&quot;tone_stream://%(2000,4000,440.0,480.0);loops=20&quot;/&gt;
                     &lt;param name=&quot;ring-interval&quot; value=&quot;5&quot;/&gt;
                     &lt;param name=&quot;hold-file&quot; value=&quot;$${hold_music}&quot;/&gt;
                     &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;
                     &lt;param name=&quot;sample-rate&quot; value=&quot;24000&quot;/&gt;
                     &lt;param name=&quot;codec-ms&quot; value=&quot;20&quot;/&gt;
<span style="color: #A00000">-                                        &lt;!--</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">-                                        --&gt;</span>
                   &lt;/settings&gt;
                 &lt;/configuration&gt;
<span style="color: #A00000">-</span>
<span style="color: #A00000">-                &lt;configuration name=&quot;post_load_modules.conf&quot; description=&quot;Modules&quot;&gt;</span>
<span style="color: #A00000">-                        &lt;modules&gt;</span>
<span style="color: #A00000">-                        &lt;/modules&gt;</span>
<span style="color: #A00000">-                &lt;/configuration&gt;</span>
<span style="color: #A00000">-</span>
                 &lt;configuration name=&quot;switch.conf&quot; description=&quot;Core Configuration&quot;&gt;
                         &lt;cli-keybindings&gt;
                                 &lt;key name=&quot;1&quot; value=&quot;help&quot;/&gt;
<span style="color: #800080; font-weight: bold">@@ -117,12 +90,10 @@</span>
                                 &lt;key name=&quot;12&quot; value=&quot;version&quot;/&gt;
                         &lt;/cli-keybindings&gt;
                         &lt;settings&gt;
<span style="color: #A00000">-                                &lt;param name=&quot;colorize-console&quot; value=&quot;true&quot;/&gt;</span>
<span style="color: #A00000">-                                &lt;param name=&quot;max-sessions&quot; value=&quot;20&quot;/&gt;</span>
<span style="color: #A00000">-                                &lt;param name=&quot;sessions-per-second&quot; value=&quot;5&quot;/&gt;</span>
<span style="color: #00A000">+                                                                &lt;param name=&quot;colorize&quot; value=&quot;true&quot;/&gt;</span>
<span style="color: #00A000">+                                &lt;param name=&quot;max-sessions&quot; value=&quot;100&quot;/&gt;</span>
<span style="color: #00A000">+                                &lt;param name=&quot;sessions-per-second&quot; value=&quot;30&quot;/&gt;</span>
                                 &lt;param name=&quot;loglevel&quot; value=&quot;debug&quot;/&gt;
<span style="color: #A00000">-                                &lt;param name=&quot;crash-protection&quot; value=&quot;false&quot;/&gt;</span>
<span style="color: #A00000">-                                &lt;param name=&quot;dump-cores&quot; value=&quot;yes&quot;/&gt;</span>
                                 &lt;param name=&quot;rtp-start-port&quot; value=&quot;16384&quot;/&gt;
                                 &lt;param name=&quot;rtp-end-port&quot; value=&quot;16484&quot;/&gt;
                         &lt;/settings&gt;
<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, &quot;global_settings&quot;);
                         Utils.add_xml_param(global_settings, &quot;auto-restart&quot;, &quot;true&quot;);
<span style="color: #A00000">-                        Utils.add_xml_param(global_settings, &quot;debug-presence&quot;, &quot;0&quot;);</span>
                         Utils.add_xml_param(global_settings, &quot;log-level&quot;, &quot;0&quot;);
                         XmlNode profiles = XmlUtils.AddNodeNode(config_node, &quot;profiles&quot;);
                         XmlNode profile = XmlUtils.AddNodeNode(profiles, &quot;profile&quot;);
<span style="color: #800080; font-weight: bold">@@ -87,7 +86,6 @@ namespace FSClient {</span>
                         Utils.add_xml_param(settings, &quot;context&quot;, &quot;public&quot;);
                         Utils.add_xml_param(settings, &quot;dialplan&quot;, &quot;xml&quot;);
                         Utils.add_xml_param(settings, &quot;disable-register&quot;, &quot;true&quot;);
<span style="color: #A00000">-                        Utils.add_xml_param(settings, &quot;manage-presence&quot;, &quot;false&quot;);</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>