<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Callouts with answering machine detection, fail with a runMenu in Discussion Forum</title>
    <link>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16252#M769</link>
    <description>&lt;P&gt;Pretty sure it is not require and default to "main".&lt;BR /&gt;&lt;BR /&gt;I did try with it to be sure, and still fail&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 17:02:51 GMT</pubDate>
    <dc:creator>beaver</dc:creator>
    <dc:date>2024-10-03T17:02:51Z</dc:date>
    <item>
      <title>Callouts with answering machine detection, fail with a runMenu</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16249#M766</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm having some difficulty with my callouts request with an AMD. I have setup my custom callouts with this ice:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;%{
   name: "connectPstn",
   number: "phone number",
   maxDuration: 240,
   amd: %{
      enabled: true,
      async: false
    },
   locale: "Gabrielle"
 },&lt;/LI-CODE&gt;&lt;P&gt;I also have a simple instruction to set a cookie.&lt;BR /&gt;&lt;BR /&gt;I correctly receive the ACE callback with the amd in the payload. I can easily hangup if the amd status is a machine.&lt;BR /&gt;&lt;BR /&gt;But when a human answer, if the svaml that I return contains a simple say instruction it works perfectly fine.&lt;BR /&gt;But if I return a runMenu action, the menu is never trigger and the call hangup.&lt;BR /&gt;&lt;BR /&gt;Here the svaml:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;%{
 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)"}
        ]
       }
      ]
 }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:06:16 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16249#M766</guid>
      <dc:creator>beaver</dc:creator>
      <dc:date>2024-10-03T16:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Callouts with answering machine detection, fail with a runMenu</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16251#M768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that the runMenu action isn't configured properly. You're missing the `mainMenu` property that tells what menu to run first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;%{
 instructions: [
   %{
      name: "say",
      text: "Bonjour, passé une agréable journée",
      locale: "Gabrielle"
    }
  ],
  action: %{
    name: "runMenu",
    locale: "Gabrielle",
    mainMenu: "main",
    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)"}
        ]
       }
      ]
 }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:13:20 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16251#M768</guid>
      <dc:creator>Alex_Sberna</dc:creator>
      <dc:date>2024-10-03T16:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Callouts with answering machine detection, fail with a runMenu</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16252#M769</link>
      <description>&lt;P&gt;Pretty sure it is not require and default to "main".&lt;BR /&gt;&lt;BR /&gt;I did try with it to be sure, and still fail&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:02:51 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16252#M769</guid>
      <dc:creator>beaver</dc:creator>
      <dc:date>2024-10-03T17:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Callouts with answering machine detection, fail with a runMenu</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16253#M770</link>
      <description>&lt;P&gt;Looks like I had another typo, now working.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:31:02 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Callouts-with-answering-machine-detection-fail-with-a-runMenu/m-p/16253#M770</guid>
      <dc:creator>beaver</dc:creator>
      <dc:date>2024-10-03T17:31:02Z</dc:date>
    </item>
  </channel>
</rss>

