<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Please file a lira for the crash you are getting. (test on master first to confirm we have not already fixed it please).<div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Dec 16, 2014, at 4:17 AM, Keith Laaks <<a href="mailto:keith@laaks.com" class="">keith@laaks.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Freeswitchers. <div class=""><br class=""></div><div class="">(Reposting under new thread - previous went to the wrong place.)<br class=""><br class="">I am running "FreeSWITCH Version 1.5.15b+git~20141215T224714Z~0b414a8de8~64bit (git 0b414a8 2014-12-15 22:47:14Z 64bit)” - updated this morning.</div><div class=""><br class=""><br class="">I have the following actions in an extension being executed:<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><action application="info"/><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><action application="bind_digit_action" data="start_echo,##,exec:info,both,self"/><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><action application="digit_action_set_realm" data="start_echo"/><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><action application="delay_echo" data="10"/><br class=""><br class="">For the ‘info’ action at the top, I see the normal stuff printed in the console log:<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>EXECUTE <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" class="">sofia/portaprod/27878881000@10.10.10.10</a> info()<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>2014-12-15 20:52:06.137537 [INFO] mod_dptools.c:1647 CHANNEL_DATA:<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>Channel-State: [CS_EXECUTE]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>Channel-Call-State: [ACTIVE]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>Channel-State-Number: [4]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>Channel-Name: [<a href="mailto:sofia/portaprod/27878881000@10.17.180.204" class="">sofia/portaprod/27878881000@10.17.180.204</a>]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>Unique-ID: [8218a229-562d-4706-85a2-988d2bae0041]<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span><cut cut><br class=""><br class="">Then follows the ‘bind_digit_action’ and ‘digit_action_set_realm’ to bind ‘##’ to executing the ‘info’ app.<br class=""><br class="">The ‘echo' application at the very bottom works as per normal and I get my audio echoed back.<br class=""><br class="">When I send “#9” - I get this in the log:<br class="">2014-12-15 21:13:32.777537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br class="">2014-12-15 21:13:33.637537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF 9:800<br class="">2014-12-15 21:13:33.637537 [DEBUG] mod_dptools.c:132 <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" class="">sofia/portaprod/27878881000@10.10.10.10</a> Digit NOT match binding [#9]<br class=""><br class="">So all normal.<br class=""><br class="">But here my issue. <br class=""><br class="">When I send ‘##’ - I only see this in the log:<br class="">2014-12-15 21:14:58.817537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br class="">2014-12-15 21:14:59.317537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br class="">2014-12-15 21:14:59.317537 [DEBUG] mod_dptools.c:188 <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" class="">sofia/portaprod/27878881000@10.10.10.10</a> Digit match binding [exec:info][both]<br class="">2014-12-15 21:14:59.317537 [DEBUG] switch_core_session.c:1188 Send signal <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" class="">sofia/portaprod/27878881000@10.10.10.10</a> [BREAK]<br class=""><br class="">So its finding a match, but the app to be executed never does so. If it had, I would have seen the above ‘info’ stuff printed to the console.<br class="">I actually want the call transferred to another extension when the user enters ‘##’ - but that similarly does not happen. It seems I can’t get any action to actually be executed.<br class=""><br class="">So what do I need to set first, such that the specified ‘action’ gets executed?<br class=""><br class="">Hope someone can help me out here.<br class=""><br class="">Looking at the code, I see that in mod_dptools.c there seems to be support for “blocking” and “non-blocking” execution modes. </div><div class="">I figured out that to ‘activate’ the ’non-blocking mode the above action needs to change to:</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span><action application="bind_digit_action" data="start_echo,##,exec[i]:info,both,self"/> </div><div class="">[This sets ‘exec = 2’ such that ‘switch_core_session_execute_application’ is called - otherwise ‘switch_ivr_broadcast_in_thread’ is called.]<br class=""><br class=""></div><div class="">But when I try this, as soon as I send the ##, I get a core dump. </div></div></div></blockquote></div><br class=""></div></div></body></html>