Adds a bit of additional logic to allow the following variable to be set in dialplan:
agent_action
When set to login, this script will always log the agent in regardless of current state.
When set to logout, this script will always log the agent out regardless of current state.
When unset, original behavior is preserved.
The reason for adding this code is to allow us to create a dialplan that puts a user on DND at the same time as logging out the agent, and vice-versa.
We only want to lookup the follow-me destinations for ring group members. If additional numbers are added to the destination array via follow-me lookup then we don't want to check for follow-me again on the new destinations. This can result in a lookup loop that will cause the call to not complete and throw lua into a loop that will fill up logs and burn system resources.
Small change that attaches a pdf copy of the sent fax rather than the tif by replacing the extension in the file path.
PDF files are dramatically smaller and more user friendly than TIF files.
Conference Controls for moderators are hard coded. Because of this you cannot use the Conference Controls app in the web interface to create a new set of moderator controls and set them in the Conference Profile.
* Update index.lua
added confirm to random ring group, quick fixed random sort for low endpoint ring groups so the likelyhood of the same extension coming up 5-8 times in a row is MUCH lower
* Update index.lua
two randoms added too much query time just simplified not the same results but still better than just plain random()
* Fixed Yealink Account 6 Errors
Fixed Yealink Account 6 Errors (misstyped)
* Revert "Fixed Yealink Account 6 Errors"
This reverts commit 7e48d32a33.