Trigger Email on IVR Menu Selection

I want to trigger one email from asterisk IVR if

IVR Menu = Press 1 to Buy Battery
So the moment customer Presses 1, i want Asterisk to send an email with the following information

Subject= New Order - Battery
Body = Customer Number and Order information Like Battery order

Can someone give me a hint about it

Sure, In the IVR, make option one a custom dialplan linked to the IVR, using the custom destination application. The custom destination (dialplan) should trigger the email, then complete the next phase of the call treatment for the caller. Another option would be to trigger the email as part of the hangup.

Hints/Reading Material:
https://wiki.freepbx.org/display/FPG/Custom+Destinations+User+Guide

https://wiki.freepbx.org/display/FPG/System+Admin+-+Email+Setup

This has some options regarding email that could be applied to your use case:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.