411 Feature code not in list

are you using the FreePBX distro? You should be able to search under standard, commercial, extended and I would expect it to show up there. It may be the path you are on (32 upgrade to 64) is the problem, I have only ever done fresh installs of the distro.

@lgaetz do you think running yum from SSH would produce a different result?

Yes, it’s the FreePBX distro.

I selected standard, commercial and extended, did a check for updates but Phonebook Directory did not appear.

Just to be absolutely clear - I had a working 32-bit system, installed a 64-bit on different hardware and then used the restore process to configure the new system with a backup of the old as advised here. I reported at the time that the Asterisk address book didn’t restore correctly but that was easily fixed using the export/import function of the address book.

Perhaps there’s a clue there somewhere?

Bill.

Is there a way to install this feature code without rebuilding the system again from scratch and manually setting everything up? Can I install from the command line?

I would appreciate some guidance please.

Bill.

Try fwconsole ma downloadinstall pbdirectory

Thanks for the thought. Here’s what happened:

fwconsole ma downloadinstall pbdirectory
No repos specified, using: [standard,extended,commercial] from last GUI settings

Downloading module 'pbdirectory'
The following error(s) occured:
 - Retrieved Module XML Was Empty

The module has not appeared in the list even after a refresh and system reboot. However, it looks like you’re on the right track.

Bill.

I’m considering making a fresh install, perhaps on another machine, checking that the 411 feature code is installed and then restoring from a backup.

Is this worth a try?

Bill.

1 Like

I am trying to reproduce this. I am attempting to create a new PJSIP extension with 411, but it doesn’t allow me to do so.

How did you create that extension?

Also, what’s the output of:

asterisk -x"dialplan show 411@from-internal" | pastebin

Actually

asterisk -rx "dialplan show 411@" | pastebin

would be more catholic

I did that. The result is here:

https://pastebin.freepbx.org/view/5636e1b4

I’m afraid that it means little to me. I hope it helps.

Bill.

I have no extension 411. I believe that it is the standard feature code for accessing the Asterisk phonebook via a search for the first few letters of the name. I used it extensively in the past because I have hundreds of phonebook entries and it doesn’t make sense to have speed dials for them all.

Bill.

Sorry, I got confused with the post you linked in your first post.

What’s the output of

mysql -e "select * from asterisk.featurecodes where modulename='pbdirectory'"

(Please post it in preformatted text)

How did you do that? Perhaps that can shed some light here.

Sorry that I confused you. The output of the SQL query is:

modulename	featurename	description	helptext	defaultcode	customcode	enabled	providedest
pbdirectory	app-pbdirectory	Phonebook dial-by-name directory		411	NULL	1	1

How did you do that? Perhaps that can shed some light here.

I asked about the best way to do it here:

and followed the advice.

Bill.

Looking back at that thread, one of the comments was:

One issue I’ve had converting 32 to 64 bit using backup and restore is the asterisk modules. You will have to go in and change the modules directory from

/usr/lib/asterisk/modules 

to

/usr/lib64/asterisk/modules

I’m not absolutely sure I did that. I thought I understood but may not have done.

Bill.

In desperation, I thought I would try restoring the backup from my main machine (FreePBX v16) to a test one that I set up some time ago. It runs v15 so I thought it wise to make a clean install from the v16 ISO before trying. After the installation I discovered that the 411 feature code was not present! It was there in the V15 system I had before.

Is this just me or has 411 been removed from v16? If it has, is it intentional or will it be restored in a future update?

Bill.

OK, I see whats going on here.

Per this post pbdirectory has been deprecated since v13.

From what it looks like to me, pbdirectory, is the one that has enabled the 411 feature code.

The way around it, is to create a Misc Application

image

[root@yplab ~]# asterisk -x"dialplan show 411@from-internal"
[ Included context 'app-miscapps' created by 'pbx_config' ]
  '411' =>          1. Noop(Running miscapp 13: Dial By Name Directory) [extensions_additional.conf:2716]
                    2. Macro(user-callerid,)                      [extensions_additional.conf:2717]
                    3. Goto(directory,2,1)                        [extensions_additional.conf:2718]

(cc @bpechey @marcm)

1 Like

Thank you very much for that. I looked at the release notes for v16 and I could find nothing about the feature being removed. I have now solved the problem (at least for the moment) by reverting to v15. I will make sure that I have your reply when I feel I need to upgrade to v16.

It’s a pity that the dial-by-name feature was removed; I find it very useful and, as far as I can tell, there is no equivalent in the Contacts system.

Thanks once again,

Bill.

It was replaced. It you follow the instructions I posted in my previous post, you will get to the dial-by-name directory.

I tried adding it on my test system, which also runs v15. I added it using 412 as the number. It worked well and created something identical to the existing 411 feature code. In v15 the destination “Directory” does not appear but “Phonebook Directory” does. I will, when I get some time, install v16 on the test system and try your suggestion on that.

Please forgive my ignorance but I assume that in V16 the dial-by-name feature is still present but using a different module which has to be enabled by the method you describe? Also, does “Directory” mean the contacts directory in v16?

Thank you for your patience.

Bill.

I made a fresh install of v16 on my test system. I then tried to add a new feature code as described by PitzKey. It created a new directory that could be accessed by the feature code but that directory can only hold, as far as I can see, internal extension numbers. I haven’t been able to import the old Asterisk Phonebook into this new directory.

I can import the old phonebook into contacts but I can’t see how to access contacts using dial by name.

What am I missing?

Bill.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.