Confbridge DTMF检测

Confbridge DTMF detection

我创建了一个 confbridge 菜单,当用户按 1 或 2 时它会退出会议...基本上我希望当用户在会议中按 1 时它 returns 在离开会议后回到上一个菜单当在会议中按 2 时,离开会议后 return 返回上一级菜单。所以我无法理解无论用户按 1 还是 2 我怎么能知道,所以在此基础上我将 return 用户到相应的菜单。请指导,如果有任何想法。 谢谢。

在菜单

中使用dialplan_exec

dialplan_exec

(context,exten,priority)

Allows one to escape from the conference and execute commands in the dialplan. Once the dialplan exits, the user will be put back into the conference.

https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10