Skip to main content

show_peers.cgi

Posted by Jasril on Thu, 02/02/2012

this is the first of a couple of scripts i'll be posting, this is the show_peers script, it basically just gives you a very simple gui interface for using "sip show peers" / "sip show peers like xxxxxxx"

just copy and paste it into your /usr/libexec/webmin/asterisk/ directory on your thirdlane server along with the contents of http://www.kryogenix.org/code/browser/sorttable/sorttable.js into another file which you need to label "sorttable.js"

i think i tweaked it so it will work with any tenant naming scheme, but it may not, i only tested it with my tenant naming scheme of a 10 digit number