0

I have 2 kinds of sip extensions. Clients and agents, is it possible to find out how many clients and how many and which agents are available on run-time? In dialplan or AGI.

Arslan Mehboob
  • 1,012
  • 1
  • 9
  • 21
  • does `sip show registry` or `sip show peers` on the CLI shows the desired information for you? – pce Dec 21 '14 at 13:15

1 Answers1

0

You can do only

asterisk -rx "sip show peer"

or similar command via AMI

There are no agent tracking code inside asterisk. If you need tracking, name extensions like agent_extensionname or use database to match agent/extension.

arheops
  • 15,544
  • 1
  • 21
  • 27