Hi, I'm having some difficulty with my callouts request with an AMD. I have setup my custom callouts with this ice: %{
name: "connectPstn",
number: "phone number",
maxDuration: 240,
amd: %{
enabled: true,
async: false
},
locale: "Gabrielle"
}, I also have a simple instruction to set a cookie. I correctly receive the ACE callback with the amd in the payload. I can easily hangup if the amd status is a machine. But when a human answer, if the svaml that I return contains a simple say instruction it works perfectly fine. But if I return a runMenu action, the menu is never trigger and the call hangup. Here the svaml: %{
instructions: [
%{
name: "say",
text: "Bonjour, passé une agréable journée",
locale: "Gabrielle"
}
],
action: %{
name: "runMenu",
locale: "Gabrielle",
menus: [
%{
id: "main",
mainPrompt: "Bonjour, passé une agréable journée, faites le 1 ou le 2",
repeats: 3,
options: [
%{dtmf: 1, action: "return(callee_one)"},
%{dtmf: 2, action: "return(callee_two)"}
]
}
]
}
}
... View more