List paging groups

Hi guys,
Is there a way to list paging groups?
Something like the “sip show peers” command in the CLI ?

I posted this on

I have a few call groups, and a lot of speakers connected to SIP phones with auto answer, for example:
100 = first floor
200 = second floor

900 = all of them

Option 1: I can define the groups in the application,
Just create a button for each group manually, and tell it to call the corresponding group
The problem with that is, that my application will not update automatically if I add a group, and I’ll need to re-code my app.

Option 2:To find a way to extract the groups from the dialplan…

I think option 1 will be easier, but I’ll dig some more and get to a conclusion.

What do you think?
Thanks for the help

There is a hint associated with each page group, and you can get a list of hints with:

asterisk -x "core show hints" | grep ext-paging

This is awesome!!
Is there a way to filter it so I will get only the group number?

That’s the first stanza of a shell script. Just keep at it:

asterisk -x "core show hints" | grep ext-paging | cut -f1 -d" "

Just keep trimming the output, sorting it, and chopping it up until you get what you’re looking for.

Thanks, that worked!