Thanks for the input.<div><br></div><div>Would I have to process each call through a specific dial-plan for the AMI to be in charge of each call so that it can see the Unique ID of the channel and the Hold event? Because that seems like a lot of work. If AMI (I have no experience with it) allows me to open a socket and just read whatever comes through then it might work for me.</div>

<div><br></div><div>Thanks<br><br><div class="gmail_quote">On Mon, Oct 25, 2010 at 10:47 AM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">












<div lang="EN-US" link="blue" vlink="blue">

<div>

<div>

<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">

<hr size="2" width="100%" align="center">

</span></font></div>

<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Bruce B<br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, October 25, 2010
9:32 AM<br>
<b><span style="font-weight:bold">To:</span></b> Asterisk
 Users Mailing List - Non-Commercial Discussion<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [asterisk-users] Best
way to recording the hold time for a Queue agent or an extension</span></font></p>

</div><div class="im">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks for the feedback. I don&#39;t need the Queue times but rather
putting ON HOLD times. If you press the HOLD button on your SIP phone, Asterisk
records the event Music On HOLD Playing and that is recorded in
/var/log/asterisk/full. I want to harvest the ON HOLD time per phone SET.</span></font></p>

<div>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>

</div>

</div><div>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thanks</span></font></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Again,
the AMI would be your most likely help here.  The information in
/v/l/a/full is going to give you a start and stop time for MOH, but not in a
format where you can easily tie it back to an extension.  You will have a “start
moh” and “stop moh” event in the AMI that is tied to an
extension by the uniqueid.  In “PERL Weenie” world, the way to
process this is to pipe the AMI output where it is an input file keyed by the
uniqueid.  You can find some decent examples on <a href="http://voip-info.org" target="_blank">voip-info.org</a>.</span></font></p>

<p class="MsoNormal" style="margin-bottom:12.0pt"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>

</div>

</div>

</div>


<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>