<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Arial-BoldMT;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:CourierStd;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:BookAntiqua;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"\@BookAntiqua";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">I have a question about &#8220;termintaors&#8221; attribute for httapi playback tag.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">I did not see it in the online document and I did explore and plan to use it, but I am not sure it will be supported in
 the future. The book &#8220;FreeSwicth 1.2&#8221; did talk about it though.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">I would like to know that &#8220;terminators&#8221; will be kept as an attribute in the future?<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Many Thanks!<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">************* From online :
<a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi" target="_blank">
https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;work&gt;*ACTIONS*&lt;/work&gt;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;playback</span>
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">file name error-file action digit-timeout input-timeout loops asr-engine asr-grammar&gt;&lt;bind</span>
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">action strip&gt;*EXPR*&lt;/bind&gt;&lt;/playback&gt;
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Plays a file and optionally collects input.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">ATTRS:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : The file</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Parameter name into which to save result</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">error-file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Error file to play on invalid input</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">action&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Change the new target url</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">temp-action&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Change url to submit to, just for the next loop</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">digit-timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Pause to wait for digits after file plays (when input bindings are present)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">input-timeout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Pause to wait for more digits in a multi-digit input</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">loops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Maximum number of times to play the file when input bindings are present</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">asr-engine&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Automatic speech recognition engine to use</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">asr-grammar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : ASR grammar to use</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:16.0pt;font-family:&quot;Arial-BoldMT&quot;,sans-serif">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<b><span style="font-size:16.0pt;font-family:&quot;Arial-BoldMT&quot;,sans-serif">&nbsp;</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<b><span style="font-size:16.0pt;font-family:&quot;Arial-BoldMT&quot;,sans-serif">======== from the book FreeSwitch 1.2</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<b><span style="font-size:16.0pt;font-family:&quot;Arial-BoldMT&quot;,sans-serif">playback</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">playback </span><span style="font-size:10.5pt;font-family:BookAntiqua">plays a file and optionally collects input. It has the following attributes:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">file</span><span style="font-size:10.5pt;font-family:BookAntiqua">: The path to the file to play</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">name</span><span style="font-size:10.5pt;font-family:BookAntiqua">:
</span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">Param </span>
<span style="font-size:10.5pt;font-family:BookAntiqua">name to save result</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">error-file</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Error file to play on invalid input</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">digit-timeout</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Timeout waiting for digits after file plays
 (when input</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.5pt;font-family:BookAntiqua">bindings are present)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">input-timeout</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Timeout waiting for more digits in a multi-digit
 input</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">loops</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Maximum number of times to play the file (when input
 bindings are</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.5pt;font-family:BookAntiqua">present)</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">asr-engine</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Automated Speech Recognition (ASR) engine to
 use</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">asr-grammar</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Automated Speech Recognition (ASR) grammar to
 use</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">&#8226; </span><b><span style="font-size:9.5pt;font-family:&quot;CourierStd&quot;,serif">terminators</span></b><b><span style="font-size:10.5pt;font-family:BookAntiqua">: The keys that you want to use to immediately
 stop and</span></b><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:BookAntiqua">process the digits collected</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>