Phonebook Directory

jbarrio
Posts: 9
Member Since:
2007-08-16

I'm trying to change the standard, welcome to the phonebook, directory. I want to make the audio cues a little more specific, first three letters of your parties "last" name, and have the names be the names people record for their voicemail not the chick spelling out the names

thanks



shanff
Posts: 15
Member Since:
2007-02-19
If I'm not mistaken, that

If I'm not mistaken, that should happen just like that if the user has set up his/her voicemail and recorded his/her name, it's separate from the voicemail message that can also be setup .



jbarrio
Posts: 9
Member Since:
2007-08-16
didn't work

this is the phonebook you set up in freepbx by clicking the radio button in IVR setup next to phonebook directory. and the entries are edited in tools section of freepbx, number name speed dial code,



fskrotzki
Posts: 181
Member Since:
2006-09-13
the file that ...

The file that does all the phone book work is called pbdirectory. You'll find it located at /var/lib/asterisk/agi-bin/.

The flaw with your thinking is that the phone book is the phone system directory service. Yea they can be but that file is in the same place and called directory. Think of the phone book like your local yellow/white pages directory. you in that book don't have access to the recorded names of every number because they are most likely external to your system.

On the otherhand the directory has the code needed to play the recorded names of people if the following is true, they have voice mail (needs to be listed in the voicemail.conf file), and they recorded there name in the setup. That is what produces the files called greet.wav and greet.WAV which are used to play the name instead of the speak and spell that happens if it is not setup.

Take a look at the code in each and I'm sure you can modify pbdirectory to see if a extension is in the phonebook and has a voicemail box and recorded greeting to play it. It's not a BIG deal but will require some work.

I've posted a patch at freepbx for the directory file so that with a little pre-setup of a multiple system configuration the phone directory can contain and play all recorded names from any system to make a unified phone directory.



jbarrio
Posts: 9
Member Since:
2007-08-16
thanks

i get the basic idea, set pbdirectory file to play greet.wav file for each extension, i have no idea how to start.



fskrotzki
Posts: 181
Member Since:
2006-09-13
what you are looking to do...

What you are looking to do is not straight forward. The pbdirectory was not designed to be a local phone system directory where the greet.wav/gsm files are located. It is actually based around the old Berkley database.

There is NO code at all in the pbdirectory for playing the greet audio files, let alone digging into the voicemail directory structure to locate those files.

What were you planning on doing for numbers in the phone directory who do NOT have a voicemail box, external numbers, etc?

The code in directory and pbdirectory don't support hidden names (I also posted a one line patch for that on freepbx last week for someboy who complained it was not working, it was never designed).



jbarrio
Posts: 9
Member Since:
2007-08-16
isn't there a normal

isn't there a normal directory module i can just use to replace "welcome to the phonebook"

i just want the lady to say enter the first three letters of your parties last name

and when you enter them it plays the extension it thinks you are looking for voicemail name instead of spelling it out

how can i do this?



jbarrio
Posts: 9
Member Since:
2007-08-16
are there any third party

are there any third party directory modules available



sscheuri
Posts: 8
Member Since:
2007-07-06
I am struggling with this

I am struggling with this too. I recorded a new sound, converted it to gsm, saved the old one in /var/lib/asterisk/sounds, added this new one, and it still did not work.

I thought there was some option within FreePBX-> System Recordings -> built-in recordings. Thought one could select the existing built-in recording and have it point to another. That does not work for me either.

Scott



steve.sills
Posts: 3
Member Since:
2007-03-21
directory-diff.txt

I have downloaded the Universal directory patch, great job by the way.

This may be a dumb question, to patch the directory file, is there a command to run, or does it have to be done manually?



jtucker
Posts: 11
Member Since:
2008-10-24
Directoy vs Phonebook Directory

As (fskrotzki) said you might want use the Directory instead of the Phonebook Directory.

This is provided that you have the module installed. You have to have the Misc. Destination installed.

Go to Module Admin and then click on Check for updates online Afterwards follow the link below and directions work great.

Link on howto.
http://www.freepbx.org/support/documentation/module-documentation...

I know that it is not the Phonebook Directory but that option is appears to be limited in what it can do.

Hopes this helps other people that stumble upon this.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.