- Joined
- Apr 24, 2018
- Messages
- 160
- Reaction score
- 16
I was trying to think of a way to restore the functionality of the dial code to over ride office hours. I was able to successfully use this to override the office hours. But I would like to have the flexibility to be granular or edit the call flow in CFD if I want to. I was trying to achieve this in CFD and simplest way I could think of was to have it increment a variable to a certain value when a code is dialed and loop sending it to an after hours destination as long as the varibale matches that value, then dial another code that changes it to a different value to set it back to in office. But I can't think of a way to properly route calls to it. If I set it up so that if a user dials a code then it will set the variable, but it won't matter because no calls will flow to it becuase no DID is assigned. If I send calls to it then the variable will be incremented upon execution to the matching value for the loop condition and calls will permanently be sent to the after hours destination.
So what I'm wondering is can I have a call processing script tell another to set variable to a certain value? Or is there a way to just set all hours to closed the entire day when a code is dialed? It seems like that is what the script I linked earlier is doing, but I don't see the function to change office hours in CFD.
This is not like a huge or urgent priority, its more of a control thing and me being able to customize it.
So what I'm wondering is can I have a call processing script tell another to set variable to a certain value? Or is there a way to just set all hours to closed the entire day when a code is dialed? It seems like that is what the script I linked earlier is doing, but I don't see the function to change office hours in CFD.
This is not like a huge or urgent priority, its more of a control thing and me being able to customize it.