Extension Map Checking

 

FreePBX 2.11 and higher use javascript to check that extension are unique. Currently they check the following:

  • The element is an input has a class of extdisplay

  • The element is an input, with a type of text and name of extension

  • The element is an input, with a type of text and name of extdisplay

  • The element is an input, with a type of text and name of account

In the case where you have an input setup with the above rules but do not want to check the extension against the extension map, you can a data parameter to the input field. For example:

modules/core/page.did.php

<td><input type="text" class="form-control" name="extension" value="<?php echo isset($extension)?$extension:''; ?>" tabindex="<?php echo ++$tabindex;?>"></td>

would become

modules/core/page.did.php

<td><input type="text" class="form-control" data-no-duplicate-check="true" name="extension" value="<?php echo isset($extension)?$extension:''; ?>" tabindex="<?php echo ++$tabindex;?>"></td>

Return to Documentation Home I Return to Sangoma Support