<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Here's my current specific scenario.  I
      have a working "call me now" solution on our web site.  The
      customer types in their phone number, it goes into our normal
      "sales" asterisk queue via an AMI action.  When the agent answers
      the call, he gets a brief announcement then asterisk dials the
      customer's number.  (This works in Asterisk 11.  There is an
      apparent bug in asterisk 12 with queue variables:
      <a class="moz-txt-link-freetext" href="https://issues.asterisk.org/jira/browse/ASTERISK-24267">https://issues.asterisk.org/jira/browse/ASTERISK-24267</a>)  It works,
      but I'm struggling to understand how.  <br>
      <br>
      <b>AMI Action:</b><br>
      Action: Originate<br>
      Channel: Local/s@callmenow/n<br>
      Context: dial-to-customer<br>
      Exten: s<br>
      Priority: 1<br>
      Async: true<br>
      Variable: MMCALLMENOWID=107<br>
      Timeout: 999999 <br>
      Callerid: Call Me Now <778><br>
      <br>
      <b>Dial Plan:</b><br>
      [callmenow]<br>
      exten => s,1,NoOp(callmenow: Queue without answer)<br>
        same =>n,Queue(sales,Rtc)<br>
        <br>
      [dial-to-customer]<br>
      exten => s,1,NoOp(dial-to-customer channel=${CHANNEL(name)})<br>
        same =>n,Wait(1)<br>
        same =>n,Playback(custom/callmenow-announce)<br>
        ; do some more stuff<br>
        same
      =>n,Dial(${TOLL}/${MMCUSTOMER_NUMBER},,TKU(dial-to-cust-connect-sub)) 
      <br>
      <br>
      <br>
      <pre class="moz-signature" cols="72">Mitch
</pre>
      <pre class="moz-signature" cols="72">



</pre>
      On 08/25/2014 11:43 AM, Joshua Colp wrote:<br>
    </div>
    <blockquote cite="mid:53FB67BB.4000304@digium.com" type="cite">On
      8/25/2014 1:33 PM, Patrick Laimbock wrote:
      <br>
      <blockquote type="cite">On 25-08-14 17:06, Mitch Claborn wrote:
        <br>
        <blockquote type="cite">Can someone point me to a good tutorial
          / explanation of local
          <br>
          channels?  I've been using them without really understanding
          what is
          <br>
          going on, and we all know how dangerous that is!
          <br>
          <br>
          I've read
          <a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+local+channels">http://www.voip-info.org/wiki/view/Asterisk+local+channels</a> but
          <br>
          I'm just not quite getting it.
          <br>
        </blockquote>
        <br>
        How about the info on the Asterisk wiki:
        <br>
        <br>
<a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/displa/AST/Introduction+to+Local+Channels">https://wiki.asterisk.org/wiki/displa/AST/Introduction+to+Local+Channels</a>
        <br>
      </blockquote>
      <br>
      That wiki page isn't REALLY detailed. To what level are you
      wanting to know more about, Mitch?
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>