<h1>Project "FreeSWITCH Source" received a push.</h1>

<h2>branch: master updated</h2>
<pre>
       via: e79174cacf6abb943fe34840a5261b940b281c91 (commit)
      from: 33b74ca8c710a58d245ea8903f98e0e86cffe164 (commit)


</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments: 
fix regression from d72cde9b76a856cf002366300bea02c26db44ffb

<span style="color: #000080; font-weight: bold">diff --git a/src/switch_core_session.c b/src/switch_core_session.c</span>
<span style="color: #000080; font-weight: bold">index 4836aae..d2e28de 100644</span>
<span style="color: #A00000">--- a/src/switch_core_session.c</span>
<span style="color: #00A000">+++ b/src/switch_core_session.c</span>
<span style="color: #800080; font-weight: bold">@@ -1865,6 +1865,17 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_get_app_flags(const char *ap</span>
 SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application_async(switch_core_session_t *session, const char *app, const char *arg)
 {
         switch_event_t *execute_event;
<span style="color: #00A000">+        char *ap, *arp;</span>
<span style="color: #00A000">+        </span>
<span style="color: #00A000">+        if (!arg &amp;&amp; strstr(app, &quot;::&quot;)) {</span>
<span style="color: #00A000">+                ap = switch_core_session_strdup(session, app);</span>
<span style="color: #00A000">+                app = ap;</span>
<span style="color: #00A000">+</span>
<span style="color: #00A000">+                if ((arp = strstr(ap, &quot;::&quot;))) {</span>
<span style="color: #00A000">+                        *arp = &#39;\0&#39;;</span>
<span style="color: #00A000">+                        arg = arp + 2;</span>
<span style="color: #00A000">+                }</span>
<span style="color: #00A000">+        }</span>
         
         if (switch_event_create(&amp;execute_event, SWITCH_EVENT_COMMAND) == SWITCH_STATUS_SUCCESS) {
                 switch_event_add_header_string(execute_event, SWITCH_STACK_BOTTOM, &quot;call-command&quot;, &quot;execute&quot;);
<span style="color: #800080; font-weight: bold">@@ -1894,6 +1905,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application_get_flag</span>
         switch_application_interface_t *application_interface;
         switch_status_t status = SWITCH_STATUS_SUCCESS;
 
<span style="color: #00A000">+        if (!arg &amp;&amp; strstr(app, &quot;::&quot;)) {</span>
<span style="color: #00A000">+                return switch_core_session_execute_application_async(session, app, arg);</span>
<span style="color: #00A000">+        }</span>
<span style="color: #00A000">+</span>
         if (switch_channel_down(session-&gt;channel)) {
                 switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, &quot;Channel is hungup, aborting execution of application: %s\n&quot;, app);
                 return SWITCH_STATUS_FALSE;
</pre></div>
========================================================================<pre>

Summary of changes:
 src/switch_core_session.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 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 Source</p>