<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:11.0pt;
        font-family:"Calibri",sans-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;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
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;}
/* List Definitions */
@list l0
        {mso-list-id:678118033;
        mso-list-type:hybrid;
        mso-list-template-ids:-282178136 -231678266 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:10;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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"><span style="font-size:10.0pt;font-family:"Courier New"">Hi! Mike,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Thank you for your help resolving the cache files cleaning up issue we have.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Now, I am having another question about the “terminators” attribute for playback tag.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">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 “FreeSwicth 1.2” did talk about it though.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">I would like to know that “terminators” will be kept as an attribute in the furture?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">Many Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:10.0pt;font-family:"Courier New""><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:10.0pt;font-family:"Courier New"">Xiaoping<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">************* From online : https://freeswitch.org/confluence/display/FREESWITCH/mod_httapi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><work>*ACTIONS*</work></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><playback</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
</span><span style="font-size:10.0pt;font-family:"Courier New"">file name error-file action digit-timeout input-timeout loops asr-engine asr-grammar><bind</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">
</span><span style="font-size:10.0pt;font-family:"Courier New"">action strip>*EXPR*</bind></playback>
</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""> : Plays a file and optionally collects input.</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">ATTRS:</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">file : The file</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">name : Parameter name into which to save result</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">error-file : Error file to play on invalid input</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">action : Change the new target url</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">temp-action : Change url to submit to, just for the next loop</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">digit-timeout : Pause to wait for digits after file plays (when input bindings are present)</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">input-timeout : Pause to wait for more digits in a multi-digit input</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">loops : Maximum number of times to play the file when input bindings are present</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">asr-engine : Automatic speech recognition engine to use</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New"">asr-grammar : ASR grammar to use</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:16.0pt;font-family:"Arial-BoldMT",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:16.0pt;font-family:"Arial-BoldMT",sans-serif"><o:p> </o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:16.0pt;font-family:"Arial-BoldMT",sans-serif">======== from the book FreeSwitch 1.2<o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:16.0pt;font-family:"Arial-BoldMT",sans-serif">playback<o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"CourierStd",serif">playback
</span><span style="font-size:10.5pt;font-family:BookAntiqua">plays a file and optionally collects input. It has the following attributes:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">file</span><span style="font-size:10.5pt;font-family:BookAntiqua">: The path to the file to play<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">name</span><span style="font-size:10.5pt;font-family:BookAntiqua">:
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">Param </span>
<span style="font-size:10.5pt;font-family:BookAntiqua">name to save result<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">error-file</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Error file to play on invalid input<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">digit-timeout</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Timeout waiting for digits after file plays (when input<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.5pt;font-family:BookAntiqua">bindings are present)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">input-timeout</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Timeout waiting for more digits in a multi-digit input<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">loops</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Maximum number of times to play the file (when input bindings are<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.5pt;font-family:BookAntiqua">present)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">asr-engine</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Automated Speech Recognition (ASR) engine to use<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><span style="font-size:9.5pt;font-family:"CourierStd",serif">asr-grammar</span><span style="font-size:10.5pt;font-family:BookAntiqua">: Automated Speech Recognition (ASR) grammar to use<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="ZH-CN" style="font-size:10.5pt;font-family:BookAntiqua">•
</span><b><span style="font-size:9.5pt;font-family:"CourierStd",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><span style="font-size:10.5pt;font-family:BookAntiqua"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:BookAntiqua">process the digits collected</span><o:p></o:p></p>
</div>
</body>
</html>