<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    api_on_answer_1='sched_api +10 none send_dtmf 1234@100'<br>
    <br>
    In Console<br>
    <br>
    [DEBUG] switch_event.c:1698 Parsing variable
    [api_on_answer_1]=[sched_api +10 none send_dtmf 1234@100]<br>
    <br>
    Looks good,<br>
    ...<br>
    But in 10 seconds:<br>
    <br>
    [DEBUG] mod_commands.c:4575 Command send_dtmf(1234@100):<br>
    INVALID COMMAND!<br>
    <br>
    What is wrong??<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/01/2015 06:40 PM, Michael Jerris
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEwTsAjRe9n6XWFBMMo1D5P-07HqemMGVjj5QkHijBEvAqFvCA@mail.gmail.com"
      type="cite">you could use api on answer to schedule an api
      command <span></span><br>
      <br>
      On Tuesday, September 1, 2015, Dmitry Mordovin &lt;<a
        moz-do-not-send="true" href="mailto:d.mordovin@dwide.com">d.mordovin@dwide.com</a>&gt;
      wrote:<br>
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
        <br>
        Is it possible to execute some api with delay after answer
        received?<br>
        <br>
        Trying<br>
        <br>
        api_on_answer_1='sleep 5000',api_on_answer_2='log -------delayed
        5sec<br>
        after answer------'<br>
        <br>
        <br>
        but 'api_on_answer_2' executed at once<br>
        <br>
        Any ideas?<br>
        <br>
        <br>
_________________________________________________________________________<br>
        Professional FreeSWITCH Consulting Services:<br>
        <a moz-do-not-send="true" href="javascript:;" onclick="_e(event,
          'cvml', 'consulting@freeswitch.org')">consulting@freeswitch.org</a><br>
        <a moz-do-not-send="true"
          href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
        <br>
        Official FreeSWITCH Sites<br>
        <a moz-do-not-send="true" href="http://www.freeswitch.org"
          target="_blank">http://www.freeswitch.org</a><br>
        <a moz-do-not-send="true"
          href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
        <a moz-do-not-send="true" href="http://www.cluecon.com"
          target="_blank">http://www.cluecon.com</a><br>
        <br>
        FreeSWITCH-users mailing list<br>
        <a moz-do-not-send="true" href="javascript:;" onclick="_e(event,
          'cvml', 'FreeSWITCH-users@lists.freeswitch.org')">FreeSWITCH-users@lists.freeswitch.org</a><br>
        <a moz-do-not-send="true"
          href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
          target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
        UNSUBSCRIBE:<a moz-do-not-send="true"
          href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
          target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
        <a moz-do-not-send="true" href="http://www.freeswitch.org"
          target="_blank">http://www.freeswitch.org</a><br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>