Hi,
Yes, I changed my system, so that it will do the search
either the first or the last name
copy callbyname.aspx.cs to callbyname.aspx.cs.original
edit callbyname.aspx.cs
look for
!Matches(ext.LastName.ToLowerInvariant(), mask)
change the line to search for first or last name, instead of just last name
if (!Matches(ext.FirstName.ToLowerInvariant(), mask) && !Matches(ext.LastName.ToLowerInvariant(), mask))
now test the system to make sure that (don't mind the voice saying search for last name, that will still need to be changed.) it searches by first or last name.
Search for the line if (list.Length == 1) and comment out the whole if statement
I don't like the fact that when there is only one result it automatically dials the number, I like when it says the name so you can verify it, then you press 1 to dial the number... I just didn't want to delete the code.
save the file
now login to the management console, and under advance settings create a new prompt set and make it active (it will copy all the voice prompts from the current setup. This needs to be done so that you can change the prompt, if you don't it will not use the new prompt.
Record a new version of UserName.wav. and make sure it is stored with your new prompt set and you are done.