I´m pretty now to all this Asterisk-thingy and I wonder, is there a way how to call a user back from asterisk after he ended (hangup) call and give him a IVR survey, then save results somewhere (in form of audio records or DTMF inputs) ?
2 Answers
Sure there are alot of way to do that. But all require understanding of how asterisk works.
Hangup events can be detected by "h" extensions something like this
exten => h,1,System(/etc/asterisk/create_callback.sh)
After that you have create script for callback, see
You need create IVR in your dialplan http://www.voip-info.org/wiki/view/Asterisk+Dialplan+Introduction

- 15,544
- 1
- 21
- 27
If you have programming experience you can use AMI(Asterisk Manager Interface) to generate your calls from Asterisk to your customers, based on whatever logic. Once the customer answer the call all you have to do is redirect it to your IVR context.
For the IVR(survey) portion, you may want use AGI(Asterisk Gateway Interface). You can access both APIs with virtually any programming language. Take a look of the following:
- Adhearsion (Ruby)
- Asterisk-Java or Astive Toolkit (Java)
- PHPAGI (PHP)
Good luck.

- 51
- 6