Koozali.org: home of the SME Server

Fop and Dahdi

Offline dz00te

  • *
  • 6
  • +0/-0
Fop and Dahdi
« on: February 06, 2010, 01:10:27 PM »
Hi,
teh fop panel seems to display only the zaptel status. how can i display the dahdi status in FOP using sail 2.4.1-7?

i've edited the file /usr/local/operator/op_buttons.cfg with

[_Dahdi/.*]                                                                                       
Position = 64                                                                                     
Label=Dahdi Trunks                                                                                 
Count=30                                                                                           
Extension=-1                                                                                       
Icon=4                                                                                             
groupcount=1 

and it seems to work... it is right? or is there a better solution?

Tnx

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Fop and Dahdi
« Reply #1 on: February 06, 2010, 11:21:54 PM »
It isn't quite correct (but not far offf).  The buttons file is generated from a template so the next time the template runs it will overwrite your change.

Instead - make your change in the template

/etc/e-smith/templates/usr/local/op_buttons_cfg/10-general

Make your change at or around line 114

fix your change by expanding the template...

expand-template /usr/local/operator/op_buttons.cfg

Kind Regards

S