In hancements FOP

A while ago I did the DND patch on my server Ticket # 2112 and it works great
I also extended to another service I built called Out of Office which set the status to Yellow in the FOP so Now reception knows if you out of the office lol

What I would like help with is seting a application change in the Flash panel

Eg Ringservice when activated changes the incoming trunks to ring on another telephone in my programing Hints it shows the dev state change when I setup a button in FOP I see it turn red for a sec as the application is activated but thats it the status of the button doesnt stay in a on state or Im not trigering it properly

DESCRIPTION: Configuration for Asterisk
[test-app-ringservice]
exten => *1234,1,Set(GROUP(OUTGOING)=${CALLERID(number)})
exten => *1234,2,Answer
exten => ringservice-test-*1234,1,Goto(*1234,1)
exten => *1234,1,Answer
exten => *1234,2,Wait(1)
exten => *1234,3,Set(STATE=${DB(test/ringservice/line/1234/dest)})
exten => *1234,4,GotoIf($[“foo${STATE}” != “foo”]?100)
exten => *1234,5,Set(DB(test/ringservice/line/1234/dest)=test-aa-ringing-1)
exten => *1234,6,Set(DEVSTATE(Custom:ringservice-test-*1234)=BUSY)
exten => *1234,7,Playback(activated)
exten => *1234,8,Hangup(${IF($[“x${CLEARCAUSE}” = “x”]?${HANGUPCAUSE}:${CLEARCAUSE})})
exten => *1234,100,NoOp(DBDEL test/ringservice/line/1234/dest (${DB_DELETE(test/ringservice/line/1234/dest)}))
exten => *1234,101,Set(DEVSTATE(Custom:ringservice-test-*1234)=NOT_INUSE)
exten => *1234,102,Playback(de-activated)
exten => *1234,103,Hangup(${IF($[“x${CLEARCAUSE}” = “x”]?${HANGUPCAUSE}:${CLEARCAUSE})})
exten => *1234,3,Hangup(${IF($[“x${CLEARCAUSE}” = “x”]?${HANGUPCAUSE}:${CLEARCAUSE})})

Op_astdb.cfg

[ringservice]
setalpha=100|100
fopledcolor=0x0099ff^0|0x00A000^0
settext=Out of Office: ${value} |
flip=1|0

Op_Buttons.cfg
[APPS/*1234]
Position=11
Label="Application: *1234"
Extension=*1234
Context=test-application
Panel_Context=test

Asterisk 1.4.26 fop 1

Hi

You might want to contact Nicolás Gudiño. He wrote FOP. If you go to
http://www.asternic.org/

There is a chat link in the lower right. He will probably want to know what version of FOP you have.

To find Flash Operator Panel version:

Find where op_server.pl is located:
root@pbx:/ $ find / -name op_server.pl
/usr/src/freepbx/amp_conf/htdocs_panel/op_server.pl
/var/www/html/panel/op_server.pl
/var/www/html/admin/modules/fw_fop/htdocs_panel/op_server.pl

Goto that directory:

root@pbx:/ $ cd /var/www/html/admin/modules/fw_fop/htdocs_panel

And run the command below:

root@pbx:/var/www/html/admin/modules/fw_fop/htdocs_panel $ ./op_server.pl -v

The result will look something like this:

    op_server.pl version 0.30