Changeset 54

Show
Ignore:
Timestamp:
08/02/07 19:42:23 (1 year ago)
Author:
root
Message:

Example new buttons config for groupcount

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/op_buttons.cfg

    r1 r54  
    278278 
    279279 
     280# The entry below will create ONE button 
     281# showing the number of ZAP channels used 
     282# for an E1 trunk (zap/1 to zap/31 
     283# 
     284# Interesting bits: regexp, groupcount, and count 
     285# 
     286# groupcount will count number of channels used 
     287# count will set and limit the number of sessions matched 
     288;[_Zap\/(\d$|1\d$|2\d$|3[01]$)] 
     289;Position=70 
     290;Count=31 
     291;Label=Trama 1 
     292;Icon=2 
     293;groupcount=1 
     294 
     295 
     296# The following entry same as above but 
     297# for 2nd E1 line (zap/32 to zap/62) 
     298;[Zap\/(3[2-9]$|4\d$|5\d$|6[012]$)] 
     299;Position=71 
     300;Count=31 
     301;Label=Trama 2 
     302;Icon=2 
     303;groupcount=1 
     304 
     305 
    280306;include => more_legends.cfg 
    281307