This plugin provides a simple way to see which zaptel trunks on an Asterisk phone server are in use. It works for up to 32 lines and displays either inactive or the sip device that is currently “connected” to the trunk. Only works for zaptel stuff for now as it's all I have to test.
asterisk::zapstatus(int) - Returns the status of the line passed to it.
Widget Zap1 { class 'Text' expression asterisk::zapstatus(1) width 20 align 'L' update 1000 }