411 Directory Not Working

lunitin

New Member
Joined
Sep 5, 2008
Messages
9
Reaction score
0
PBX in a flash v. 1.3 installed last week with all updates. FreePBX 2.4.1.1. Status shows everything ONLINE except Samba.

I am probably missing something simple, but I can't seem to spot it. When I dial 411, or the directory from the IVR I get the prompts but can't find any users. 0 also won't dial the operator ring group. In both cases it says no directory entries match your search.

All voicemail boxes are in the default context.
Under the extensions the voicemail status is set to Enable
In the IVR the Directory Context is set to default.
Under General Settings "Find users in the Company Directory" is set to first and last name, the operator extension is set to the 602 ring group.
I can manually dial the 602 ring group without any issue.

Not sure if this is related but I have the Aastra 57i scripts. If I press the Directory button on a 57i, all of my users are displayed and can be dialed without issue.
 
I have the exact same problem

Same thing with PiaF 1.2 - Need to fix for a customer installation.
Should I be setting up the users in another location for them to be found?
Thanks
TomS
 
Hey Tom,

I discovered that my problems are rooted in the directory script itself, called pbdirectory. Located in /var/lib/asterisk/agi-bin/

1. It incorrectly parses the phone book when it loads, resulting in no entries found.
2. It is not setup for LAST name search
3. It is not passed the First, Last, Any option that is set within the FreePBX GUI


I have addressed the first two issues, and have been using the hardcoded option for the third. I doubt I will ever change it from Any so this works for me.

Extract the zip into /var/lib/asterisk/agi-bin

If needed, change $dir_type on Line 39 from DIR_ANY to DIR_FIRST, or DIR_LAST depending on your needs.

chmod 555 /var/lib/asterisk/agi-bin/pbdirectory

This makes the file read only, see the comments at the top of the file for reasoning.
 

Attachments

Directory still broken?

Hi All,

I just installed PBX in a Flash 1.4 64bit on a new server. I locked down the firewall and then upgraded all FreePBX to 2.6. This is a dual homed server so I firewall nearly everything on the public interface.

I configured my Vitelity trunk and an extension and it's working properly for incoming and outgoing calls.

The only thing I've changed on the General Settings page is the Update E-mail, and I am having problems with the Directory again. With everything at the defaults (Find users by Last Name, Do not Announce Extension, and null for Operator Extension) I cannot find myself in the directory with the first three of my last name, however I can find myself with the first three of my first name.

I haven't found very many other posts with directory issues so I wonder if there is something I did wrong or a setting I am missing for the directory to work properly? Any help would be appreciated.
 
works on Piaf v1.4 32 bit

Hey Tom,

I discovered that my problems are rooted in the directory script itself, called pbdirectory. Located in /var/lib/asterisk/agi-bin/

1. It incorrectly parses the phone book when it loads, resulting in no entries found.
2. It is not setup for LAST name search
3. It is not passed the First, Last, Any option that is set within the FreePBX GUI


I have addressed the first two issues, and have been using the hardcoded option for the third. I doubt I will ever change it from Any so this works for me.

Extract the zip into /var/lib/asterisk/agi-bin

If needed, change $dir_type on Line 39 from DIR_ANY to DIR_FIRST, or DIR_LAST depending on your needs.

chmod 555 /var/lib/asterisk/agi-bin/pbdirectory

This makes the file read only, see the comments at the top of the file for reasoning.

Thanks for the fix!
 

Members online

Forum statistics

Threads
26,689
Messages
174,413
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top