[asterisk-users] How to get presence using AMI

Matt Riddell lists at venturevoip.com
Sun Aug 21 17:22:48 CDT 2011


If the peers are SIP you could do:

akl*CLI> manager show command SIPpeers
Action: SIPpeers
Synopsis: List SIP peers (text format)
Privilege: system,all
Description: Lists SIP peers in text format with details on current status.
Variables:
   ActionID: <id>        Action ID for this transaction. Will be returned.

Basically you should connect to Asterisk, go into the console (asterisk 
-r) and then type manager show commands.  Read through them, learn what 
they all do and you'll pretty quickly get a feel for what you can do and 
how to do it.

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)



More information about the asterisk-users mailing list