applications/luci-asterisk:
[project/luci.git] / applications / luci-asterisk / luasrc / model / cbi / asterisk / trunks.lua
index b9dd1dfd8d1892db40d4248f6fe57ef0df06bf94..af992989c49ff34fbc27c063f7a27c96672eb479 100644 (file)
@@ -57,7 +57,8 @@ function online.cfgvalue(self, s)
        if sip_peers[s].info.online == nil then
                return "n/a"
        else
-               return sip_peers[s].info.online and "yes" or "no"
+               return sip_peers[s].info.online
+                       and "yes" or "no (%s)" % sip_peers[s].info.Status:lower()
        end
 end