<p dir="ltr">Hi,</p>
<p dir="ltr">I don't know if could help, however, I've implemented a system like that for a Belgium hospital, based on dictate Asterisk application + some custom dialplan.</p>
<p dir="ltr">Regards. </p>
<p dir="ltr">Ludovic Gasc (GMLudo)<br>
<a href="http://www.gmludo.eu/">http://www.gmludo.eu/</a></p>
<div class="gmail_quote">On 20 Jun 2015 17:32, "Stephen Keller" <<a href="mailto:n337cd@gmail.com">n337cd@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace">Greetings all:</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">My apologies if I'm not supposed to post here after posting in the support forums.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Medical dictation ivr's typically require the immediate action on the key that is pressed to exit the record function. When app.record is configured to exit on "any" key it does not return what that key was.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">I've been using a little hack (below) to return that key and while it seems to work, it of course requires a custom compile and does not allow me to use cloud based asterisk services because they would not have that feature.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default"><font face="courier new, monospace">A new Global system variable like RECORDEXITKEY (similiar in function to SYSTEMSTATUS and READSTATUS) would be sufficient.</font><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">app.record ...</span></div><div class="gmail_default" style="font-family:'courier new',monospace"><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">} else if ((f->frametype == AST_FRAME_DTMF) &&</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">((f->subclass.integer == terminator) ||</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">(ast_test_flag(&flags, OPTION_ANY_TERMINATE)))) {</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">/* BEGIN NEW CODE -- avmar */</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">temp_record_exitkey[0] = f->subclass.integer;</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">temp_record_exitkey[1] = '\0';</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">pbx_builtin_setvar_helper(chan, "RECORD_EXITKEY", temp_record_exitkey);</span><br style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><span style="color:rgb(51,51,51);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)">/* END NEW CODE -- avmar */</span><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">A second important feature is while recording, its important to know that you are not dictating into a dead phone. That results in unpleasant surprises and great anxieties to the parties involved later on. Most medical dictation systems guard against that by playing a low volume, short duration, high pitched beep about every 10 seconds during actual recording (very similar the beep heard in asterisk during pausing of the playback functions)</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">I have not found a workaround for that yet.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Would there be any interest in the community to put features such as these into future builds? I am developing with Asterisk 11 latest version.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Thanks for your help.</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">Steve Keller (avmar)</div><div class="gmail_default" style="font-family:'courier new',monospace"><a href="mailto:n337cd@gmail.com" target="_blank">n337cd@gmail.com</a></div><div class="gmail_default" style="font-family:'courier new',monospace">316-990-9955</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace"><span style="color:rgb(0,0,0);font-family:'Lucida Grande','Trebuchet MS',Verdana,Helvetica,Arial,sans-serif;font-size:13.100001335144px;line-height:18.3400020599365px;background-color:rgb(225,235,242)"><br></span></div></div>
<br>--<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><br></blockquote></div>