ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. DavidMo
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by DavidMo

    • RE: Use a php file to create a dynamic Yealink Remote Address book of FreePBX extensions

      https://github.com/sorvani/freepbx-helper-scripts/blob/master/Extensions_to_Yealink_AddressBook/ylab.php is still working as of 11.3.2022. My FreePBX extension names contained the "&" which is a reserved symbol in XML and will throw an error in the script. If you run into this, the fix is below.

      Simple fix is to edit this line:
      echo " <Name>" . $extension['description'] . "</Name>\n";

      to this:

      echo " <Name>" . htmlspecialchars($extension['description']) . "</Name>\n";

      posted in IT Discussion
      D
      DavidMo
    • 1 / 1