Automatic forwarding to survey

Hi, do a telephone survey.
The operator must hang up and the call is forwarded to the survey.
Could you give me an example of how the marking plan would be?

Regards.

hi,
You can use the option M(macro^arg) of the application dial(), and create a macro in the diaplan
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial

Macros are deprecated. That macro is run at the start of hte call, not the end.

If you are using Dial, you can use the g option to not terminate the dialplan when the callee hangs up.

1 Like

Perfect, for interns it works ok.
For calls that enter a queue no.
Any option for call queues?
Search but I didn’t find or I didn’t understand.

Regards.

I found the answer, with the “c” flag.
Thank you.