1. Copy folder ivr into astagidir (/var/lib/asterisk/agi-bin/)
2. Create symlink on IVR.php
3. Copy configuration file phpivr.conf and phpivr_extensions.conf into /etc/asterisk/
4. Edit configuration file. By default IVR will run menu named “common”.
Parameter `options’ – required minimum to play “welcome” message.
5. For use Default settings copy folder ./sounds/ivr ( from demosounds.tar.bz2) into asterisk sounds dir
6. Add these lines into /etc/asterisk/extensions.conf
; IVR menu
- include “phpivr_extensions.conf”
then from asterisk CLI type following
7. Change folders owner to asterisk user
8. Call to SIP/7777 number and test IVR. By default 0, 2 and 1 menus (dtmf inputs) are available.
1 – jumps to another menu, 0 – exit from menu, 2 – playing additional info. Other dtmf – exit.