Giter VIP home page Giter VIP logo

polycomphones's People

Contributors

rwagoner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

polycomphones's Issues

FreePBX 14 Compatibility

module doesn't populate extensions dropdown when adding a line to a phone in FreePBX 14.

The issue seems to be that the SQL in functions.inc.php/polycomphones_dropdown_lines only selects devices/users of "tech" type "sip". FreePBX 14 encourages you to use pjsip as the default. updating the SQL as follows fixes this issue.

original code:

	$results = sql("SELECT devices.id, devices.description, users.extension, users.name FROM devices 
		LEFT OUTER JOIN users on devices.user = users.extension
		WHERE tech = 'sip' ORDER BY devices.id",'getAll',DB_FETCHMODE_ASSOC);

modified code

	$results = sql("SELECT devices.id, devices.description, users.extension, users.name FROM devices 
		LEFT OUTER JOIN users on devices.user = users.extension
		WHERE tech IN ('sip','pjsip') ORDER BY devices.id",'getAll',DB_FETCHMODE_ASSOC);

I'd make a pull request, but I'm in the middle of rebuilding a pbx that has to go live in a few hours and do not have the time right now.

I will update this issue if i find any side effects or other incompatibilities.

Error when adding phone

Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)

Paging?

Is there a feature to add a paging soft-button?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.