I am a non-techie. I can manage a system via FreePbx, I understand Polycom setup. I don't know much of nuts and bolts of asterisk and I don't know php. Here lies the problem:
I use BobH's implementation of night mode/day mode toggling
http://www.trixbox.org/forums/trixbox-forums/help/system-wide-do-...
[custom-daymode]
exten => s,1,gotoif($[${DB(daynightmode/currentmode} = daymode]?ext-group,1000,1:ivr-2,s,1)
[custom-day-night-mode]
exten => *28,1,Answer()
exten => *28,2,Set(daynightmode=${DB(daynightmode/currentmode})
exten => *28,3,gotoif($[${daynightmode} = daymode]?30:20)
exten => *28,20,Set(DB(daynightmode/currentmode)=daymode)
exten => *28,21,Playback(day&reception&enabled)
exten => *28,22,Hangup()
exten => *28,30,Set(DB(daynightmode/currentmode)=nightmode)
exten => *28,31,Playback(day&reception&disabled)
exten => *28,32,Hangup()
I would like to be able to have a phone browser to display the status change.
The way I see a solution is as such:
a php code would query DB daynightmode and depending on the value serve the appropriate page.
To accomplish that, I wold need to know XML, php and how to query that database or offer bounty hoping that somebody in the big TrixBox community would help me out.
alexis


Member Since:
2006-05-31