[Home]

Summary:ASTERISK-09198: [patch] configurable voicemail playback controls
Reporter:James Rothenberger (jaroth)Labels:
Date Opened:2007-04-05 09:23:09Date Closed:2007-06-27 17:48:32
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) voicemail_control.patch
Description:This patch allows the playback controls (currently hard-coded to *,#,0 and 2 for forward, reverse, pause and restart) to be customized.  The keys can be specified in voicemail.conf (see sample file and additional info below).  The purpose for this patch is ease migration to Asterisk voicemail from other voicemail systems such as Octel that have different keys assigned to this functionality.

These parameters are passed to ast_control_streamfile() from wait_file().

****** ADDITIONAL INFORMATION ******

In voicemail.conf:

[general]

listen-control-forward-key=#
listen-control-reverse-key=*
listen-control-pause-key=0
listen-control-restart-key=2
listen-control-stop-key=13456789

Comments:By: Serge Vecher (serge-v) 2007-04-05 09:33:15

yet another fine patch from jaroth :)

By: James Rothenberger (jaroth) 2007-06-25 12:25:27

Is there anything that I need to do to move this patch along?

By: Mark Michelson (mmichelson) 2007-06-27 17:48:32

I applied the patch locally and made several tests on it and it appears to be in good working order. I have committed this with one slight change. That is, I check that the input in voicemail.conf is valid DTMF and if it isn't, go with the default controls.

This was committed in revision 72329.

Thanks for the contribution jaroth!