freeswitch开启IVR按键

  • sip_profile/internal.xml修改:
  • diaplan/default.xml修改,拨号规则中新增几行设置:


  • 亲测可以收到DTMF信息。
  • 其中遇到的几个坑:
    • 线路不支持DTMF
    • dtmf-type的值设置分为“info”, “inband”, “rfc2833”(协商媒体中要看到“telephone-event”)
    • start_dtmf_generate跟上面的’start_dtmf’按理开启一个就可以了

你可能感兴趣的:(通讯Freeswitch)