Hi Everyone,<div><br></div><div>I am looking into AMI (using PHP) to record every instance of HOLD that is generated by putting a caller on HOLD (press hold button on the phone set). There is no HOLD in Asterisk but the event Music on Hold is generated when HOLD is pressed. The complexity is that all of the the calls are handled by FreePBX so I don&#39;t have the channel IDs etc...</div>

<div><br></div><div>Can someone please point out how I can have an AMI session connected at all times (if that is wise) to harvest these Music on Hold events and to record the duration of the HOLD? I would be able to place it in the asteriskcdrdb then for reporting purposes.</div>

<div><br></div><div>Thanks,</div>