Hi, Is there a way to check on AMI if a user is currently engage on the phone? i would like to display on my portal whether a user is calling or not. thank you regards Ron
On Thu, Aug 5, 2010 at 11:28 AM, Ron <nhadie at gmail.com> wrote:> Hi, > > Is there a way to check on AMI if a user is currently engage on the > phone? i would like to display on my portal whether a user is calling or > not. ># Asterisk Manager API Action CoreShowChannels: List currently active channels (Priv: system,reporting,all) From: http://www.voip-info.org/wiki/view/Asterisk+manager+API And maybe this (check output): http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+SIPshowPeer Regards Motiejus Jak?tys
Ron wrote:> Hi, > > Is there a way to check on AMI if a user is currently engage on the > phone? i would like to display on my portal whether a user is calling or > not. > > thank you > > regards > Ron >You could get it to run a command and do 'core show hints' and parse the result. You will need to define hints for each extension though but you might have already done this as its required to get busy lamps working on most phones.