Skip to content

plugin_asterisk

Alejandro Mora edited this page Mar 9, 2026 · 1 revision

asterisk plugin

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.


Functions:

asterisk::zapstatus(int) - Returns the status of the line passed to it.


Example

Widget Zap1 {
    class 'Text'
    expression asterisk::zapstatus(1)
    width 20
    align 'L'
    update 1000
}

Clone this wiki locally