Commit Graph

1292 Commits

Author SHA1 Message Date
FusionPBX 0302b112ac Merge pull request #1045 from moteus/page_domain
Page domain
2015-07-18 12:47:55 -07:00
FusionPBX a109375100 Merge pull request #1040 from moteus/vm-phrase
Change. Use predefined phrases in vm menu.
2015-07-18 12:45:34 -07:00
Alexey Melnichuk 42ebf34104 Fix. Use `temp_dir` to debug dialplan xml file 2015-07-16 12:56:13 +04:00
Alexey Melnichuk f029aeff24 Fix. Use correct conf name on originate 2015-07-16 12:11:57 +04:00
Alexey Melnichuk 928a843794 Fix. Make page extension domain specific. 2015-07-16 11:50:07 +04:00
markjcrane fefdfc626e Enable XML Handler by default. 2015-07-15 23:43:03 -07:00
Alexey Melnichuk 3796a66df8 Change. Use predefined phrases in vm menu.
Current implementation produces not correct phrases e.g. on Russian language.
2015-07-14 13:42:05 +04:00
Alexey Melnichuk 8f554cf889 Fix. Use OS specific copy function. 2015-07-13 10:44:47 +04:00
markjcrane 36c4ac0e45 Change 'is null' to 'is not null'. 2015-07-10 08:00:08 -03:00
markjcrane 42cad993d7 Change {#server_address_2} to {$server_address_2} for the GX42xx template. 2015-07-09 00:05:29 -03:00
markjcrane b6d95174b0 Play voicemail messages with the newest messages first. 2015-07-08 15:46:34 -03:00
markjcrane 58311a8d98 Prevent nil from causing problems with functions/settings.lua. 2015-07-08 15:36:33 -03:00
Alexey Melnichuk b4435c974e Fix. xml_handler/directory generate vm params based on number_alias 2015-07-07 18:16:21 +04:00
Alexey Melnichuk 86b0b21e7b Fix. Use extension to generate dial-string in xml_handler
When uses number_alias contact should be searched by extension name.
2015-07-07 17:47:50 +04:00
markjcrane 3ba9759bed Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-07-05 23:11:29 -06:00
markjcrane 4742fac8f9 Adjustments to event_socket_request to make it faster. 2015-07-05 23:08:10 -06:00
FusionPBX 677d2f069f Update confirm.lua
Add a domain_name nil check.
2015-07-04 04:16:44 -06:00
markjcrane b0e24db2fa Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-07-03 09:52:36 -06:00
markjcrane b46d68777a Use originate_delay_start to fix the enterprise ring group delay. 2015-07-03 09:51:02 -06:00
reliberate e24526fb92 Upgrade: Converted Advanced > Upgrade to use Git instead of SVN (untested).
Misc: Added provisions elsewhere to account for .git/* files, as currently done with .svn/* files.
2015-07-02 17:25:41 -06:00
Alexey Melnichuk 9097861e30 Change. Does not use `default` dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Alexey Melnichuk d61f2b2817 Fix. indent. 2015-07-02 12:24:58 +04:00
Alexey Melnichuk d05d294225 Add. Allow edit domain name while installing.
On my Windows machine default domain now is `127.0.0.1` which is quite useless.
2015-07-02 12:21:53 +04:00
Alexey Melnichuk d1edcbd2c5 Disable of sip profile does not work
Close #1008
2015-07-02 12:09:09 +04:00
Mark Crane 22203b66b0 Fix a problem where the inbound context has public in the name with public@ as a prefix and .public as a suffix. 2015-06-30 18:42:52 +00:00
Mark Crane bb4bab2fa8 FAX sure domain_uuid is set at the right time. 2015-06-30 18:01:30 +00:00
Mark Crane c99e249f71 Add beginTransaction and commit to speed up the install and upgrade. 2015-06-25 21:00:15 +00:00
Mark Crane 336a8d763d SIP profiles comment and disable the following params inbound-use-callid-as-uuid and outbound-use-callid-as-uuid if set to true even temporarily they will cause the call UUID not to be a UUID which FusionPBX is dependent on. 2015-06-25 20:27:00 +00:00
Mark Crane 5d4a2375a0 Write the call center dialplan with the new call center class. 2015-06-25 08:25:00 +00:00
Mark Crane 197420d6c9 Minor adjustments for confirm.lua and ring groups ensure domain_name and domain_uuid are set. 2015-06-24 19:31:53 +00:00
Mark Crane 72f7285a0a Add the call screen recording to work with call forward and follow me. 2015-06-23 23:41:15 +00:00
Mark Crane e40abdda91 Set call_screen_enabled as a variable in directory.lua. 2015-06-23 20:33:22 +00:00
Mark Crane 22dd5b6658 Add extension_call_screen permission, and add call_screen_enabled to extensions/extension_edit.php. 2015-06-23 20:06:44 +00:00
Mark Crane e70436bb86 Update the phrases in en/us/ivr/sounds.xml. 2015-06-23 19:37:09 +00:00
Mark Crane a3e3ed5a97 Add menu array to the menu class. 2015-06-22 17:56:40 +00:00
Mark Crane b3f1d8fabb A few more adjustments to get the ring group missed call working. 2015-06-20 04:06:20 +00:00
Mark Crane c2370a4a6d Add missed call option to ring groups. 2015-06-20 03:43:38 +00:00
Mark Crane e13582eb28 Fix call center xml handler domain. 2015-06-18 20:08:54 +00:00
Mark Crane 5b95222742 Add a missing quote fixes a problem with call center using xml handler and fix the indentation. 2015-06-18 19:25:42 +00:00
Mark Crane 732e1230fa Add a missing quote fixes a problem with call center using xml handler. 2015-06-18 19:20:51 +00:00
Mark Crane 6fe3c0fecf When dialing *74 clear the call forward destination which will allow it to set a new one with *73. 2015-06-18 06:55:46 +00:00
Mark Crane 3751cc7d58 Add variable for Ring Group Distinctive Ring ${domain_name} and ${local_ip_v4} 2015-06-15 23:26:02 +00:00
Mark Crane fdf4cb2cc8 Help with NAT keep alive. 2015-06-11 17:38:06 +00:00
Mark Crane 42357f443e When leaving a voicemail use the message_waiting function. 2015-06-11 06:31:10 +00:00
Mark Crane 5dad058dc8 Use the mwi_account under accounts -> extensions to allow sending MWI to multiple extensions. 2015-06-11 06:30:21 +00:00
luis daniel lucio quiroz 27bb9d1735 load balancing fixed 2015-06-11 01:43:30 +00:00
Mark Crane 291e9d7b15 Improve vertical line spacing. 2015-06-08 18:11:56 +00:00
Mark Crane 6b8bb6a1d5 Add ring_group_distinctive_ring to the destinations array. 2015-06-07 16:26:53 +00:00
Mark Crane c1b3bccc86 Add a prefix of Alert-Info= 2015-06-07 04:10:41 +00:00
Mark Crane 511f856d94 Add ring group distinctive ring option to the lua. 2015-06-07 04:06:39 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane 14dea03d06 Fix hold music when used with Conference Center and XML Handler. 2015-06-04 22:43:46 +00:00
Mark Crane 57ceca4590 Account for the fact that mb_strtolower is not always available. 2015-06-01 04:54:21 +00:00
Mark Crane 4831d0c133 Seems that Polycom needs this set to 1. 2015-05-31 04:12:09 +00:00
luis daniel lucio quiroz f32397252e mod_verto xml handler support 2015-05-30 22:14:01 +00:00
Mark Crane fc06cb3661 More work to make domain names case insensitive. 2015-05-30 20:59:11 +00:00
Mark Crane 163413cb85 Minor version update for the development branch updated to 3.9.0. 2015-05-30 20:33:12 +00:00
Mark Crane af6cd139c2 Sync the changes to fix conference recording from the dev branch. Add a few comments and make the indentation consistent. 2015-05-30 20:32:01 +00:00
Mark Crane 641958b220 Improve the indentation. 2015-05-30 20:19:36 +00:00
Mark Crane 4a4d331532 Polycom add feature.broadsoftUcOne.enabled="0" to disable a default that created an error. 2015-05-30 20:17:44 +00:00
Mark Crane 666be71f7c Reduce the security footprint, number of files, and bandwidth used by removing the template engines that are not being used. They can be added at any time if we need to use them in the future. 2015-05-30 15:35:13 +00:00
Mark Crane 01b7734f8b Change always reboot on sync for Polycom to false. 2015-05-30 05:08:55 +00:00
Mark Crane 629db232ab A little more polish for this feature. 2015-05-30 04:50:19 +00:00
Mark Crane fb3a50b9d2 Add the api object to the failur handler. 2015-05-29 05:53:02 +00:00
Mark Crane 3af1851e47 Update failure handler with the necessary changes for missed calls. 2015-05-29 05:46:21 +00:00
Mark Crane d588f9c4c5 Add trim include to the failure_handler. 2015-05-29 05:36:50 +00:00
Mark Crane 06588fdaad Add a hangup hook to dialplan local_extension and remove originator cancel from the failure_handler. 2015-05-29 05:16:34 +00:00
Mark Crane 05c81e2649 Add app/hangup to support originator cancel for missed calls. 2015-05-29 05:12:41 +00:00
Mark Crane 68fab86633 Add missed call email notification. 2015-05-29 03:56:49 +00:00
Mark Crane 6eb4e7ab6e Change the file from ANSI to UTF-8 no BOM. 2015-05-29 02:55:25 +00:00
luis daniel lucio quiroz 14235811ed conference_session_uuid issue fixed, the recording path is now fixed with/without multitenant 2015-05-28 18:41:43 +00:00
Mark Crane 1028bc645c Change how the previous alternate device is handled. 2015-05-25 16:31:08 +00:00
Mark Crane 2096b22485 Yealink provisioning if using Conference Meet-Me or BLF use the pickup value instead of the key extension. 2015-05-20 07:31:17 +00:00
Mark Crane bbbf30cbe6 Increment <sd> 2015-05-19 01:01:35 +00:00
Mark Crane c50a12f9b3 Add a file to the template. 2015-05-19 00:38:01 +00:00
Nate Jones 1ff7d1c1ba Contacts: Added Times/Timer to track support. 2015-05-17 06:16:43 +00:00
Mark Crane d6c4267243 Handle Do Not Disturb set on the extension for ring groups. 2015-05-16 23:38:07 +00:00
Mark Crane e6a0740375 Remove the code that is attempts and succeeds to prevent DND extension from affecting the Ring Groups because it also prevents calling external numbers and using bridge statements in the ring group. Will commit a fix soon that does an alternative way of removing extensions that are set to DND in FusionPBX's GUI. 2015-05-15 19:14:18 +00:00
Mark Crane 22276c3cf2 Remove session:sleep from scripts/confirm.lua. 2015-05-15 01:38:09 +00:00
Mark Crane eab67c97bc Polycom option to set headset_mode in provisioning. 2015-05-14 02:22:00 +00:00
Mark Crane c800fc3b67 Page conference settings need page caller controls. For non modertor 0 mute and press again to unmute. 2015-05-14 01:56:11 +00:00
Mark Crane 77100085b4 Remove ;; from the XML Handler. 2015-05-13 16:43:30 +00:00
Mark Crane 4ff324bfcf Fix a nil error for fax_remote_station_id and make the caller id name and number work for inbound FAX. 2015-05-13 06:46:36 +00:00
Mark Crane dd9ade256f Update release to fix big for systems where GLOB_BRACE is not available. 2015-05-13 04:37:36 +00:00
Nate Jones fe8032b1c3 Misc: Removed use of GLOB_BRACE as doesn't work on some systems, use non-GLOB_BRACE method instead. Thanks [xming] and Risk64. Should resolve Issue 916, as well. 2015-05-12 18:11:05 +00:00
Mark Crane acaac84edc Minor version update to FusionPBX 3.8.3. 2015-05-12 06:51:01 +00:00
Nate Jones ca9e59eca8 Menu: Re-enable Restore Default button for menus other than default, adjust other code to work better with non-default menus. 2015-05-12 06:31:34 +00:00
Nate Jones b2dd3ba7ad Ring Groups: DND extensions not included when retrieving Ring Group destinations (real fix for Issue 927, re: r8338). 2015-05-12 05:59:33 +00:00
Nate Jones 7a0895de4d Menu: Restore Default now restores unprotected menu items and their default groups. Removed Restore All function (no longer necessary). Hide Restore Default button for menus other than the default menu. 2015-05-12 03:03:09 +00:00
Nate Jones 51ae30fc10 Fax: Fix fax-to-email, better conversion to PDF. 2015-05-11 23:41:11 +00:00
Mark Crane 19e1500170 Minor version upgrade FusionPBX 3.8.2. 2015-05-10 06:36:19 +00:00
Mark Crane 1297133d8d Minor version update FusionPBX 3.8.1 2015-05-09 18:34:02 +00:00
Nate Jones b904214d59 Fax: Prevent fax_destination field from being populated on received faxes. 2015-05-09 06:21:53 +00:00
Nate Jones 7fab6d2e88 Fax: Upgrade script to generate and store meta-data from existing fax files, fix Lua script to insert correct fax file path into db, JavaScript prompt corrections, adjust redirect after send to use new interface, fix delete so files on file system are removed (using path from db), fix paging and sorting on Inbox and Sent, fix TIF to PDF conversion for viewing sent/received faxes (if PDF version not present). 2015-05-09 05:22:29 +00:00
Mark Crane 032643bcc8 Fix call forward no answer by changing originate_disposition from "ALLOTTED_TIMEOUT" to "NO_ANSWER". 2015-05-08 14:48:48 +00:00
Mark Crane af71ca0001 Update the comments on provision/index.lua 2015-05-06 04:39:26 +00:00
Mark Crane 8731aa60cd Put the message date back in the email template but comment it out. It's removed by default because it doesn't respect the timezone per domain. 2015-05-05 17:23:25 +00:00
Mark Crane 6b4c4e8c73 Remove the message_date from the voicemail to email template. 2015-05-05 16:25:51 +00:00
Mark Crane 86af85d039 Release the official version of FusionPBX 3.8. 2015-05-05 08:20:49 +00:00
Mark Crane 6b552b7025 Change leg_timeout for call_timeout in the xml handler directory. 2015-05-05 07:34:19 +00:00
Mark Crane ea714ebf35 Change the copyright year on the ring groups lua script. 2015-05-05 07:12:44 +00:00
Mark Crane 9080e5eba0 Add domain_uuid to the ring group SQL query. 2015-05-05 07:11:31 +00:00
Mark Crane ab4326c7cf Remove the DND check on the ring groups as it caused the query to return duplicate destination numbers. 2015-05-05 06:35:43 +00:00
Mark Crane a1fdee00c6 Fix the sip profile enabled by changing the alias from 's' to a 'p'. 2015-05-05 05:34:00 +00:00
Mark Crane e616fad12e Add the format number to destinations list and adjust the function to only process numeric. 2015-05-05 04:50:23 +00:00
Nate Jones 0acd0922ff Devices: Prevent duplicate username within domain (if device assigned to a domain) or globally (if domain set to Global).
Functions: Added is_mac() and format_mac() functions.
2015-05-04 20:07:51 +00:00
Mark Crane d4dd114ebe Change scripts directory from user_status to agent_status. 2015-05-04 18:40:54 +00:00
Mark Crane 52fb65f114 Lua script app/user_status updated to use agent_id and agent_password. 2015-05-04 18:34:43 +00:00
Mark Crane 614f7f3165 Add support for the new sip profiles enabled field. 2015-05-02 05:08:41 +00:00
Mark Crane 3526897a0c Update the version from 3.7.1 to 3.8 Release Candidate 1. We have tested it heavily so anticipate it will be a short RC version. 2015-05-01 13:48:42 +00:00
Mark Crane e36dc93986 Add domain_uuid to the provision SQL queries and add debug SQL option. 2015-05-01 13:37:04 +00:00
Mark Crane b28b9d5988 Add additional auhtorized checks and comment out debugging code. 2015-05-01 12:57:06 +00:00
Nate Jones 3e53a658b2 Default Settings: Fix set() function in domains class to first clear ALL default/domain settings, then only load settings that are currently enabled. 2015-05-01 12:14:52 +00:00
Mark Crane 73dcc7321f Change device_model to device_uuid_alternate. 2015-04-30 10:21:23 +00:00
Nate Jones b7e91bdca2 Paging: Ability to grant caller moderator status/controls, auto-generate random pin.
Conference: Add missing caller-controls and moderator-controls parameters in autoload_config.
2015-04-30 09:45:41 +00:00
Mark Crane f82a23aa13 Get the login details from devices table. 2015-04-30 09:33:19 +00:00
Nate Jones b62d377712 XML Handler: Include missing language macros. 2015-04-30 06:59:24 +00:00
Mark Crane 5185137093 Add lua script app/provision. 2015-04-30 05:42:30 +00:00
Mark Crane 8815578914 Remove two trailing tabs from the end of the lines. 2015-04-29 21:48:08 +00:00
Mark Crane 26f643ed31 Additional work with temporary permissions. 2015-04-29 21:45:05 +00:00
Nate Jones a8c7fb9f02 SIP: Return "NO_ANSWER" instead of "NORMAL_CLEARING" if an extension is called with voicemail disabled. Implements patch suggested in Issue 920. Thanks. 2015-04-29 21:21:00 +00:00
Nate Jones d480333003 Recordings: Add sleep (1s) before ID prompt. 2015-04-29 21:05:19 +00:00
Mark Crane 66b9b59d44 Fix the delete method. 2015-04-29 07:30:58 +00:00
Mark Crane b175fbfec9 Update the permission delete method one more time. 2015-04-29 07:06:23 +00:00
Mark Crane 4e0779d31c Modify the delete permission. 2015-04-29 06:33:48 +00:00
Mark Crane c931201a04 Add a new permission class. 2015-04-29 06:24:04 +00:00
Nate Jones d53d574be7 Ring Group: Fixes Issue 927 - Assigned extensions set to DND (via the GUI) will not be included when the Ring Group executes. 2015-04-29 00:29:20 +00:00
Nate Jones 04c9e31f63 Phrases: Include full path for recordings (not sounds), when not using base64. 2015-04-28 19:06:27 +00:00
Nate Jones 75f8cb0a9e Phrases: Save phrases xml and delete phrases from memcache after converting to/from base64 in app_defaults.
IVR: Using phrase greetings, DTMF tones now captured and executed, but only after playback completes (uses session:variable).  Still searching for a better solution.
2015-04-28 17:24:32 +00:00
Nate Jones ddee7be012 Phrases: App Defaults now converts phrases between base64 compatible and back, enhanced interface with better js manipulation, easily add pauses to a phrase.
Note: Currently DTMF tones are not recognized during phrase playback in IVR (rrrrr!).
2015-04-28 09:54:02 +00:00
Mark Crane 915c2c8d94 Add the new fax hangup hook. 2015-04-28 06:44:11 +00:00
Mark Crane 391bbfee1d Fix some line spacing and one tab in fax_retry.lua. 2015-04-27 16:45:23 +00:00
Mark Crane 9685315023 Update fax retry to use fax_files.lua. 2015-04-27 14:32:29 +00:00
Nate Jones 6ae74a8591 Voicemail Greetings: Better base64 support in gui (playback, download, etc) and lua scripts, some lua mods to allow re-recording without having to enter greeting # again, fixed choose greeting function, new greeting recordings now only save when told to (uses a temp file prior to), fix sorting on greetings list, app_defaults to move greetings from file system to base64 in db (and vice versa).
Recordings: Fix sorting and paging.

IVRs: Code cleanup.

(... and some other stuff I can't remember at this hour.)
2015-04-25 12:26:31 +00:00
Mark Crane ef920567d9 Fix the indentation on lua app/avmd/index.lua. 2015-04-24 20:44:47 +00:00
Mark Crane 83992c2fe0 Prevent nil errors in the ivr_menu.lua also change file_name_only to file_name as the name already implies name only. 2015-04-24 05:24:43 +00:00
Mark Crane a9fce962df Increase the limit in the loop to allow more data across event socket. 2015-04-24 04:43:32 +00:00
Nate Jones dfaa7b1aed Lua: Remove debug console output from streamfile.lua. 2015-04-24 02:54:03 +00:00
Nate Jones c91b4b0b5d IVR: Better support for the use of base64 Recordings, added option to use Phrases in a couple places, fixed the Exit Sound. (Note: A selected Sound with the same file name as a Recording will get trumped.) 2015-04-24 02:47:10 +00:00
Nate Jones f99b2e8c30 Voicemail: local and base64 fixes. 2015-04-23 05:25:21 +00:00
Mark Crane a9aa74209b If mod_shout exists then record to mp3 using it if it doesn't exist then use lame. 2015-04-23 00:05:56 +00:00
Mark Crane 990ef61c2f Replace voicemail_message_uuid for uuid in two additional places. 2015-04-22 23:33:25 +00:00
Mark Crane 2d43e5e6d7 Use the call uuid for the voicemail_message_uuid. 2015-04-22 23:23:59 +00:00
Mark Crane 9ad4a5850a Fix conference sound file problem and add the missing profiles that are in the standard conference.conf.xml file. 2015-04-22 22:45:05 +00:00
luis daniel lucio quiroz 67e96c27e6 use numeric not alphanumeric on variables & logging options 2015-04-21 16:56:58 +00:00
Mark Crane 8ed38d3d1b Change the behavior of BLF. 2015-04-20 23:53:33 +00:00
Mark Crane 9885c0dfb4 Comment the sql string again as its no longer needed. 2015-04-18 22:51:43 +00:00
Mark Crane 08014dc042 Change the row table array to field to prevent a conflict with the existing row table / array. 2015-04-18 22:49:09 +00:00
Mark Crane 4cf051d1f8 Show the sql statement. 2015-04-18 22:46:09 +00:00
Mark Crane 35c39d14d0 Connect to the database earlier in the script. 2015-04-18 22:41:45 +00:00