[Home]

Summary:ASTERISK-02179: [patch] introduce the 'f' flag in app_directory (Directory()) to use the first name as a match
Reporter:twisted (twisted)Labels:
Date Opened:2004-08-02 17:58:05Date Closed:2008-01-15 15:04:44.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_directory
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) directory-firstlast.txt
( 1) dir-intro-fn.gsm
( 2) dir-intro-ln.gsm
( 3) sounds.txt
Description:Option only from the dialplan, but when enabled, allows use of the 'f' flag as follows:

Exten => 9,1,Directory(vmcontext[|dial-context[|f]])

where 'f' searches the voicemail.conf file for the first name and matches, instead of the last name.

Yay.

This patch requires two sound files, one which already exists and will need to be renamed, and one which needs to be created.

dir-intro-ln.gsm - Same as dir-intro.gsm
dir-intro-fn.gsm - needs to be recorded for instructions on first name.

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

patch requested on IRC by cuban, and many others at various times... enjoy!
Comments:By: djimenez (djimenez) 2004-08-02 18:21:01

Sweet! Thanks.

How do we go about getting dir-intro-fn.gsm recorded? Does digium do it, or should someone in the community?

By: cmslaght (cmslaght) 2004-08-02 22:06:13

now if we can only get it to search by the max of three (default) but use less if fewer than three digits are supplied.

By: Mark Spencer (markster) 2004-08-03 02:55:04

Can't merge this one until we have the missing prompts.

By: djimenez (djimenez) 2004-08-03 10:04:39

I tried seeing if my company would fund this, as they wanted directory searching by first name. I was declined. What other options do we have to get the recordings done?

By: twisted (twisted) 2004-08-03 15:29:27

sound files added, sounds.txt patch added, file dir-intro.gsm needs to be removed upon commit to cvs.

By: Mark Spencer (markster) 2004-08-05 18:16:41

Merged (modified) into CVS

By: Digium Subversion (svnbot) 2008-01-15 15:04:44.000-0600

Repository: asterisk
Revision: 3580

U   trunk/apps/app_directory.c
A   trunk/sounds/dir-intro-fn.gsm
U   trunk/sounds.txt

------------------------------------------------------------------------
r3580 | markster | 2008-01-15 15:04:43 -0600 (Tue, 15 Jan 2008) | 2 lines

Allow directory to be searched by first name (bug ASTERISK-2179)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3580