IVR with email notification

Hi!
I would like to create an IVR with custom destination. I want email to be sent with chosen extension after people call the ivr number and choose a specific extension. I red about custom destinations and modifying /etc/asterisk/extensions_custom.conf. But I don’t understand, how it should look like exactly? What I have to write in the custom destination’s target example?

Welcome to the community!

There are a few examples of this in the forum such as this thread here:

2 Likes

Thank you your answer! I tried the above context, but it doesn’t work for me. In the logfile I get the following error message: Attempt to reach a non-existent destination for Gosub: (Context:send-email, Extension: s, Priority:1). I ran the ‘dialplan show send-email’ command and the context appeared. I don’t understand why it doesn’t work. Can you help me, please?

We would need to see the dialplan you’re using and a call trace of a failure. Providing Great Debug - Support Services - Documentation

Thank you, the problem solved! There was a space between the target parameters.

1 Like

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