I’ve been asked by a customer to enable an email notification upon “Holiday mode activation/deactivation”.
Currently, the holiday mode is managed by a Call Flow so I’ve been wondering if anyone already has implemented something like this, or how would you think the best (or more correct) way to implement this is.
I’ve thought about creating an extension to send the email and then proceed to the Call Flow as next action, but I’m not sure this would be the best way.
Thank you for your suggestions.
I am a developer but I have basic experience with FreePBX (and asterisk!) so I guess you’re suggesting to implement a custom extension (is this what you mean by custom dialplan?)?
Probably not. You may need to implement a custom context that implements your changes, but it shouldn’t require a custom extension. You can associate the context with several different implementation methods; a custom extension might work. Adding a feature code that implements your custom context would probably be cleaner and easier to remember.