<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" style><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">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>