[asterisk-users] AMI Command

Tilghman Lesher tlesher at digium.com
Thu Aug 5 10:24:51 CDT 2010


On Thursday 05 August 2010 06:05:48 Ron wrote:
> Thank you. i think i would go for this solution.
>
> On 8/5/10 4:53 PM, Gareth Blades wrote:
> > 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.

Actually, what you probably want is the CoreShowChannels command.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list