On Wed, Jun 11, 2014 at 1:35 PM, David Huebner < [email protected]> wrote:
> I'm trying to capture when a call is placed on and removed from being on > hold through the AMI in Asterisk 12.3. In previous versions, the Hold > event contained a 'Status' field which indicated if the call was going 'On' > or 'Off' hold. However, in 12 not only am I not seeing the Status field, > but I am not seeing any AMI Hold event that corresponds to removing the > call from Hold. > > Is this the intended behavior, or am I missing something in how the call's > hold status should be tracked via the AMI? > This was changed in v12. There is a Hold and an Unhold event. Events no longer have a subevent type field. Instead there are separate events. e.g., DialBegin/DialEnd, Hold/Unhold, MusicOnHoldStart/MusicOnHoldStop, etc. See https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+AMI+Events Richard
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
