<div dir="ltr">I'm not getting the crash, but I am getting the exec:info no-op, please file the JIRA.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 11:37 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Please file a lira for the crash you are getting. (test on master first to confirm we have not already fixed it please).<div><div class="h5"><div><br><div><div><blockquote type="cite"><div>On Dec 16, 2014, at 4:17 AM, Keith Laaks <<a href="mailto:keith@laaks.com" target="_blank">keith@laaks.com</a>> wrote:</div><br><div><div style="word-wrap:break-word">Hi Freeswitchers. <div><br></div><div>(Reposting under new thread - previous went to the wrong place.)<br><br>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><br><br>I have the following actions in an extension being executed:<br><br><span style="white-space:pre-wrap">        </span><action application="info"/><br><span style="white-space:pre-wrap">        </span><action application="bind_digit_action" data="start_echo,##,exec:info,both,self"/><br><span style="white-space:pre-wrap">        </span><action application="digit_action_set_realm" data="start_echo"/><br><span style="white-space:pre-wrap">        </span><action application="delay_echo" data="10"/><br><br>For the ‘info’ action at the top, I see the normal stuff printed in the console log:<br><span style="white-space:pre-wrap">        </span>EXECUTE <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" target="_blank">sofia/portaprod/27878881000@10.10.10.10</a> info()<br><span style="white-space:pre-wrap">        </span>2014-12-15 20:52:06.137537 [INFO] mod_dptools.c:1647 CHANNEL_DATA:<br><span style="white-space:pre-wrap">        </span>Channel-State: [CS_EXECUTE]<br><span style="white-space:pre-wrap">        </span>Channel-Call-State: [ACTIVE]<br><span style="white-space:pre-wrap">        </span>Channel-State-Number: [4]<br><span style="white-space:pre-wrap">        </span>Channel-Name: [<a href="mailto:sofia/portaprod/27878881000@10.17.180.204" target="_blank">sofia/portaprod/27878881000@10.17.180.204</a>]<br><span style="white-space:pre-wrap">        </span>Unique-ID: [8218a229-562d-4706-85a2-988d2bae0041]<br><span style="white-space:pre-wrap">        </span><cut cut><br><br>Then follows the ‘bind_digit_action’ and ‘digit_action_set_realm’ to bind ‘##’ to executing the ‘info’ app.<br><br>The ‘echo' application at the very bottom works as per normal and I get my audio echoed back.<br><br>When I send “#9” - I get this in the log:<br>2014-12-15 21:13:32.777537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br>2014-12-15 21:13:33.637537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF 9:800<br>2014-12-15 21:13:33.637537 [DEBUG] mod_dptools.c:132 <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" target="_blank">sofia/portaprod/27878881000@10.10.10.10</a> Digit NOT match binding [#9]<br><br>So all normal.<br><br>But here my issue. <br><br>When I send ‘##’ - I only see this in the log:<br>2014-12-15 21:14:58.817537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br>2014-12-15 21:14:59.317537 [DEBUG] switch_rtp.c:6045 RTP RECV DTMF #:800<br>2014-12-15 21:14:59.317537 [DEBUG] mod_dptools.c:188 <a href="mailto:sofia/portaprod/27878881000@10.10.10.10" target="_blank">sofia/portaprod/27878881000@10.10.10.10</a> Digit match binding [exec:info][both]<br>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" target="_blank">sofia/portaprod/27878881000@10.10.10.10</a> [BREAK]<br><br>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>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><br>So what do I need to set first, such that the specified ‘action’ gets executed?<br><br>Hope someone can help me out here.<br><br>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>I figured out that to ‘activate’ the ’non-blocking mode the above action needs to change to:</div><div><span style="white-space:pre-wrap">        </span><action application="bind_digit_action" data="start_echo,##,exec[i]:info,both,self"/> </div><div>[This sets ‘exec = 2’ such that ‘switch_core_session_execute_application’ is called - otherwise ‘switch_ivr_broadcast_in_thread’ is called.]<br><br></div><div>But when I try this, as soon as I send the ##, I get a core dump. </div></div></div></blockquote></div><br></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>