- Joined
- Jan 5, 2018
- Messages
- 7
- Reaction score
- 0
I'm starting to try to make a solution which monitors currently placed calls, and will notify someone in charge if one of a specific set of numbers is dialed.
This person in charge will be notified by being called by the system and will use Amazon Polly to explain the situation to the person. "Extension 101, John Smith, has just dialed an emergency number".
I've been playing around with CFD figuring out how it's best to do this.
I currently think the best option to do this is two seperate CFDs.
- The first one as a Dialer as a sort of "background thread" that continually runs and checks if someone is placing a call to one of the designated numbers. When someone makes the call, it'll store the call details and use Make Call to connect the person in charge with the second CFD.
- The second CFD is the one that makes the actual notification call using a basic call flow of Person answers->Load message to say from first CFD->Use a Prompt to say message.
I'm aiming to try and do this without a database, and just have the two CFDs communicate to each other through code, the 3CX classes, or even a static class which both CFDs could see. Is this possible/how would I achieve this? Or am I doing it all wrong and there is a better way?
Thanks for any help! Happy to hear multiple solutions or clarify myself if I haven't been clear.
This person in charge will be notified by being called by the system and will use Amazon Polly to explain the situation to the person. "Extension 101, John Smith, has just dialed an emergency number".
I've been playing around with CFD figuring out how it's best to do this.
I currently think the best option to do this is two seperate CFDs.
- The first one as a Dialer as a sort of "background thread" that continually runs and checks if someone is placing a call to one of the designated numbers. When someone makes the call, it'll store the call details and use Make Call to connect the person in charge with the second CFD.
- The second CFD is the one that makes the actual notification call using a basic call flow of Person answers->Load message to say from first CFD->Use a Prompt to say message.
I'm aiming to try and do this without a database, and just have the two CFDs communicate to each other through code, the 3CX classes, or even a static class which both CFDs could see. Is this possible/how would I achieve this? Or am I doing it all wrong and there is a better way?
Thanks for any help! Happy to hear multiple solutions or clarify myself if I haven't been clear.