Freeswitch IVR按下一个数字并桥接2个参数操作

时间:2018-11-23 07:39:00

标签: freeswitch freepbx fusionpbx

在“我的Freeswitch IVR”中,有一个条目,

<entry action="menu-exec-app" digits="1" param="voicemail default $${domain} 8000"/>

在这里我也想按1按下相同的数字去"curl http://www.google.com"

<entry action="menu-exec-app" digits="1"
 param="voicemail default $${domain} 8000 AND curl http://www.google.com"/>

有可能吗?如果可能的话,我们该如何实施?

1 个答案:

答案 0 :(得分:2)

您可以使用execute_extension,一次按一下即可运行多个应用程序。 像这样

<entry action="menu-exec-app"
           digits="1"
           param="execute_extension voicemail:'default $${domain} 8000',curl:'http://www.google.com' inline"/>

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+IVR+Menu#mod_dptools:IVRMenu-Howtorunseveralappswithonedigit