<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body wsmode="reply" bgcolor="#FFFFFF" text="#000000">
    Hi there,<br>
    <br>
    &nbsp;&nbsp;&nbsp; You can do that by making a context in your dial-plan with the
    name of your queue. Then in your queue config put :&nbsp;
    context="context you write in your dial-plan".<br>
    <br>
    &nbsp;&nbsp;&nbsp; That way the asterisk will save the name of your queue in the
    'dcontext'&nbsp; column <br>
    <br>
    &nbsp;&nbsp;&nbsp; Example:<br>
    <br>
    <br>
    &nbsp;&nbsp;&nbsp; ; Context in dialplan<br>
    &nbsp;&nbsp;&nbsp; [in_test]<br>
    <br>
    &nbsp;&nbsp;&nbsp; ; In queues.conf or in db(if you have it on Real Time)<br>
    <br>
    &nbsp;&nbsp;&nbsp; [in_test]<br>
    <br>
    &nbsp;&nbsp;&nbsp; context = in_test<br>
    <br>
    <br>
    &nbsp;&nbsp;&nbsp; I hope that's what you are looking for.<br>
    <br>
    <br>
    <br>
    El 06/13/2012 03:03 AM, Lenz Emilitri escribi&oacute;:
    <blockquote
cite="mid:CAN2-pA_WFpTxu9nc7KUb7+xBgeVRYUC-UKhhrLy=3ZfJHR-hpQ@mail.gmail.com"
      type="cite">It would likely be easier for you to use a tool that
      already processes queue_log information. There are a number
      available :)&nbsp;<br>
      <br>
      <div class="gmail_quote">2012/6/13 Pratik Shrestha <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:pratikdbl@gmail.com" target="_blank">pratikdbl@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All,
          <div><br>
          </div>
          <div>I am making asterisk report using CDR values given by
            asterisk.&nbsp;</div>
          <div><br>
          </div>
          <div>
            I have queues which consist of multiple members (extension).
            Also, an extension may be in multiple queues. So, I want CDR
            to record the name/number of queue from which the call was
            originated.&nbsp;</div>
        </blockquote>
      </div>
      <br>
      -- <br>
      <div>Loway - home of QueueMetrics - <a moz-do-not-send="true"
          href="http://queuemetrics.com">http://queuemetrics.com</a><br>
      </div>
      <div>Test-drive WombatDialer alpha @ <a moz-do-not-send="true"
          href="http://wombatdialer.com">http://wombatdialer.com</a></div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
    <br>
  </body>
</html>