打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Asterisk AGI phpivr

Asterisk AGI phpivr

You can get phpivr from here

1. Copy folder ivr into astagidir (/var/lib/asterisk/agi-bin/)

$ cp -rv ./ivr /var/lib/asterisk/agi-bin/


2. Create symlink on IVR.php

$ ln -s /var/lib/asterisk/agi-bin/ivr/IVR.php /var/lib/asterisk/agi-bin/IVR


3. Copy configuration file phpivr.conf and phpivr_extensions.conf into /etc/asterisk/

$ cp phpivr.conf phpivr_extensions.conf /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

$ cp ./sounds/ivr /var/lib/asterisk/sounds


6. Add these lines into /etc/asterisk/extensions.conf

; IVR menu
  1. include "phpivr_extensions.conf"

    then from asterisk CLI type following
    asterisk*CLI> dialplan reload


    7. Change folders owner to asterisk user

    $ sudo chown astreisk.asterisk /var/lib/astreisk/agi-bin/ivr /var/lib/asterisk/sounds/ivr


    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.


    See Also




    Page visited: 12692 times
    本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
    打开APP,阅读全文并永久保存 查看更多类似文章
    猜你喜欢
    类似文章
    freeiris设计文档
    asterisk 扩展应用之IVR 实现
    写得蛮好的linux学习笔记
    Apache Directory Server的安装和配置
    Redis系列
    使用Asterisk manager API实现自动拨号
    更多类似文章 >>
    生活服务
    热点新闻
    分享 收藏 导长图 关注 下载文章
    绑定账号成功
    后续可登录账号畅享VIP特权!
    如果VIP功能使用有故障,
    可点击这里联系客服!

    联系客服