[asterisk-dev] app.record feature requests for medical dictation

Stephen Keller n337cd at gmail.com
Sat Jun 20 10:32:03 CDT 2015


Greetings all:

My apologies if I'm not supposed to post here after posting in the support
forums.

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.

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.

A new Global system variable like RECORDEXITKEY (similiar in function to
SYSTEMSTATUS and READSTATUS) would be sufficient.


app.record  ...

} else if ((f->frametype == AST_FRAME_DTMF) &&
((f->subclass.integer == terminator) ||
(ast_test_flag(&flags, OPTION_ANY_TERMINATE)))) {

/* BEGIN NEW CODE -- avmar */
temp_record_exitkey[0] = f->subclass.integer;
temp_record_exitkey[1] = '\0';
pbx_builtin_setvar_helper(chan, "RECORD_EXITKEY", temp_record_exitkey);
/* END NEW CODE -- avmar */



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)

I have not found a workaround for that yet.

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.


Thanks for your help.

Steve Keller (avmar)
n337cd at gmail.com
316-990-9955
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150620/5fc83d3d/attachment.html>


More information about the asterisk-dev mailing list