<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mozikeru</author_name>
  <author_url>https://blog.hatena.ne.jp/mozikeru/</author_url>
  <blog_title>mozikeru.com</blog_title>
  <blog_url>https://www.mozikeru.com/</blog_url>
  <categories>
    <anon>Twilio</anon>
  </categories>
  <description>Twilioを使ってインバウンドの電話を受けてメッセージを発話する際にメッセージの先頭に無音をはさみたかったのですが、当初考えていた方法では想定通りの動作をせず、ちょっと戸惑いました。その後の解決策と合わせてメモを残しておきます。 発話時の無音自体は、TwiMLでは&lt;Pause length=&quot;秒数&quot;/&gt;を使うことで実現できます。 今回の要件では電話がかかってきて最初のメッセージ発話の前に数秒の無音を挟むことで「貯め」を作り、利用者の注意を引きつけたかったので、TWiMLの動詞の先頭(&lt;Response&gt;のすぐあと)にPauseを入れました。 イメージとしてはこんな感じです。 【最初の実装】 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.mozikeru.com%2Fentry%2F2017%2F08%2F16%2F110948&quot; title=&quot;Twilioでインバウンド着信の冒頭に無音を挿入したい - mozikeru.com&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-16 11:09:48</published>
  <title>Twilioでインバウンド着信の冒頭に無音を挿入したい</title>
  <type>rich</type>
  <url>https://www.mozikeru.com/entry/2017/08/16/110948</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
