Hide extension from presence directory

Atcom Alberta
Posts: 219
Member Since:
2008-07-14

I searched the Forum and couldn't find any applicable posts

Is there a way to hide certain extensions from the XML Directory script? The script appears to display every single SIP extension (but not IAX). I read somewhere that FreePBX uses brackets around the extension name to exclude it from the company directory - could that be implemented here?

Note: I tried modifying Aastra_get_username_Asterisk in AastraAsterisk.php with a preg_match "()" statement but I'm not sure that's even the right place to look...



euser4life
Posts: 180
Member Since:
2006-07-16
You need to edit the

You need to edit the following file...

/var/www/html/aastra/config/asterisk.conf

Look for the section below.

[Directory]
# List of extension ranges to be hidden separated by a comma (xxx,xxx-yyy,-yyy,xxx-)
hidden=


Atcom Alberta
Posts: 219
Member Since:
2008-07-14
Thanks! Precisely what I

Comment viewing options

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