Show active calls for a specific inbound route number

It can actually be retrieved using the Getvar AMI action[1]. There’s no need to specify a channel. It accepts dialplan functions as well as dialplan variables. So you’d use it like this for example:

    Action: Getvar
    Variable: GROUP_COUNT(1234)

[1] Getvar - Asterisk Documentation


The dialplan functions part I did not know. Sweet.

Thanks all for your great help!
Since I wasn’t able to fetch the value of the variable via AMi > Getvar… I added a counter when the call arrives at our PBX & added a hangup handler to decrease the count.

And there is always FOP2 for a slick look.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.