<div dir="ltr"> To build on Josh's response, app_config is essentially the arbitrary data field that can pass all the information you want to the application from Asterisk. We wanted to leave this open-ended intentionally, with the idea in mind that it could be used for other things besides TTS and STT.<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Will there be a mechanism to stop the TTS on one stream when speech to text detects someone speaking?<br></blockquote><div><br></div><div>We'll update the wiki page for this! There should be another response type to handle this, with defaults in place if Asterisk doesn't receive this particular kind of response from the application.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 22, 2021 at 4:01 PM Joshua C. Colp <<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Mar 22, 2021 at 5:54 PM Dan Cropp <<a href="mailto:dan@amtelco.com" target="_blank">dan@amtelco.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal">Thank you Ben.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Looking at the TTS, would that language property be language and country? Example en-US, en-GB, etc.<u></u><u></u></p>
<p class="MsoNormal">Will we use SSML to specify a specific voice for the language? Examplt, Amazon Polly en-US language supports 4 female and 4 male voices. Or might this be an additional parameter (similar to the language)? </p></div></div></blockquote><div><br></div><div>These are arbitrary example values. The values in app_config aren't defined within the protocol, they are opaque:</div><div><br></div><div><p style="margin:10px 0px 0px;padding:0px;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">The app_config section contains arbitrary configuration options and are not defined by this protocol. They will be able to be set by the user, and then consumed by the external application.</p><br></div><div>Depending on the external applications and what develops we could probably standardize some.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div><p class="MsoNormal">
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Will there be a mechanism to stop the TTS on one stream when speech to text detects someone speaking? Many people will interrupt automated phone systems. Example, the system answers the call and plays something, a person familiar with
the system will start speaking and they expect the TTS/prompts to stop playing.</p></div></div></blockquote><div><br></div><div>This is a good point. It's probably something we should add to the protocol, so it can communicate back 1. If it can do it and 2. When it occurs. We can use the same thing func_talkdetect uses as a fallback if the external application doesn't support it. The core speech stuff itself already supports handling when they speak and stopping playback.</div></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><div><font color="#073763">Joshua C. Colp</font></div><div><font color="#073763">Asterisk Technical Lead</font></div><div><font color="#073763">Sangoma Technologies</font></div><div><font color="#073763">Check us out at <a href="http://www.sangoma.com/" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org/" target="_blank">www.asterisk.org</a></font></div></div></div></div></div></div></div></div></div></div></div></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><span style="background-color:rgb(255,255,255)"><font color="#073763"><font face="tahoma, sans-serif">Benjamin Ford</font><br></font></span></div><div style="font-size:12.8px"><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)" color="#073763">Software Engineer<br></font></div><div style="font-size:12.8px"><font face="tahoma, sans-serif" style="background-color:rgb(255,255,255)" color="#073763">256-428-6147</font></div><div><font face="tahoma, sans-serif" style="font-size:12.8px"><span style="background-color:rgb(255,255,255)"><font color="#073763">Check us out at</font></span> <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font></div><div dir="ltr" style="font-size:12.8px"><div style="font-size:12.8px"><br></div></div></div></div></div></div></div>