[asterisk-bugs] [Asterisk 0014973]: [patch] Patch to add new command PlayNameOf to voicemail

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 10 13:44:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14973 
====================================================================== 
Reported By:                ghjm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14973
Category:                   Applications/app_voicemail/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-27 00:29 CDT
Last Modified:              2009-06-10 13:44 CDT
====================================================================== 
Summary:                    [patch] Patch to add new command PlayNameOf to
voicemail
Description: 
This patch adds a new command, PlayNameOf, which plays the recorded name of
a voicemail user. It also reports back to the diaplan whether it played the
name or not.

This is intended for use in custom dialplan schemes like follow-me or
conferencing or whatever, where it might be necessary to identify an
extension to a caller. "Please hold while <name-of-user> is located" - that
sort of thing.

If there's an easier way to do this, I didn't find it.
====================================================================== 

---------------------------------------------------------------------- 
 (0106256) mmichelson (administrator) - 2009-06-10 13:44
 https://issues.asterisk.org/view.php?id=14973#c106256 
---------------------------------------------------------------------- 
Both lmadsen and ghjm's methods fall short of what's necessary because they
will not work if using ODBC or IMAP voicemail.

In trunk, there is a function in app_voicemail.c called 'sayname' which
will retrieve the name file from whatever storage method is being used and
play it. If you were to write a dialplan application which was simply a
wrapper for the sayname function in app_voicemail, then that could be
useful. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-10 13:44 mmichelson     Note Added: 0106256                          
======================================================================




More information about the asterisk-bugs mailing list