Either use ExtensionState or watch for Hold/Unhold events.
http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+ExtensionState
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> Jerry Geis
> Sent: Friday, June 10, 2011 10:16 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] AMI question
>
> Through the AMI how can I tell if a call is on hold or not? I
> am using 1.4.X
>
> Thanks,
>
> jerry
>
> --
> _____________________________________________________________________
> -- 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
>