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

Freeswitch IVR pressed one Digit and bridge on 2 param actions

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

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

这里我也想去 "curl http://www.google.com" 在同一个数字按下 1 就像,

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

可以吗?如果可能的话,我们如何实施它?

您可以使用 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