Dial-by-name Directory limited to 30 names?

I’m using 10.5.1 with asterisk realtime for voicemail configuration and postgres as the back end, with 46 voicemail accounts. The dial by name function using the Directory() application doesn’t recognize names 31-46 in the list. The first 30 work fine.

This is the piece of the dialplan that handles it.

exten => 1,1,Noop(Public IVR dial by name request)
same => n,Directory(cato,incoming)
same => n,Hangup()

Asterisk claims not to know these names. Tho
se that share the first 3 digits with others resolve properly, but the 31-46 are not included in the list. All names on the list are two words, with a single space in between. None have anything but letters of the alphabet.

I’m out of ideas. Anyone else have one?


What looked like an impossible problem and had me reading the code turned out to be quite simple. The HideFromDir parameter was set to ‘yes’ by default in Postgres (it was cribbed from some one of the asterisk support web sites like voip.org). For some reason I had the first 30 set to ‘no’. A simple SQL UPDATE fixed the problem.