Commit Graph

522 Commits

Author SHA1 Message Date
FusionPBX 0a9060c40e Update 530_talking_clock_date_and_time.xml 2016-08-03 21:57:36 -06:00
FusionPBX 93684693bf Create 530_talking_clock_date_and_time.xml 2016-08-03 17:39:15 -06:00
FusionPBX b00c90a019 Rename 520_talking_clock_time.xml to 540_talking_clock_time.xml 2016-08-03 17:38:15 -06:00
FusionPBX c8c788d8f9 Rename 530_talking_clock_date.xml to 550_talking_clock_date.xml 2016-08-03 17:37:51 -06:00
FusionPBX 03cf930553 Create 530_talking_clock_date.xml 2016-08-03 17:37:10 -06:00
FusionPBX 61d265c653 Rename 520_talking_clock_time. to 520_talking_clock_time.xml 2016-08-03 17:35:10 -06:00
FusionPBX 9376a2ea92 Create 520_talking_clock_time.
Add talking clock time dialplan.
2016-08-03 17:34:30 -06:00
FusionPBX 8eecfa59d6 Update dialplan.php
Committed by rdissauer - original pull request had a conflict.
https://github.com/fusionpbx/fusionpbx/pull/1568
2016-07-27 23:09:32 -06:00
FusionPBX 13db7e67cb Update 900_voicemail.xml
Add user_exists to the voicemail dialplan. If using a voicemail box that is not associated to an extension then transfer call to voicemail with *99 ( voicemail id ).
2016-07-25 10:43:08 -06:00
FusionPBX 7ed7b8f641 Update app_defaults.php
Update the dialplan order to make it easier for upgrades.
2016-07-24 13:45:03 -06:00
markjcrane 32b1d42df8 Add application answer to the 900 voicemail and send to voicemail increase number of digits allowed for the extension from 7 to 10. 2016-07-20 13:32:39 -06:00
markjcrane 1083b7b63c Changes to voicemail make it possible to have voicemail box without a registered extension. 2016-07-20 13:14:31 -06:00
markjcrane e8b753c5f0 Change the order of the last 3 dialplans and add a voicemail dialplan. 2016-07-20 12:45:27 -06:00
markjcrane 405900a2a4 Remove voicemail from the local_extension dialplan. 2016-07-20 12:42:40 -06:00
FusionPBX 70bcfcffa6 Update dialplan.php
Use the domain array name as the row so it doesn't conflict with the row array.
2016-07-01 17:58:24 -06:00
FusionPBX dbc2a561f4 Update dialplan.php
Fix the global dialplan.
2016-07-01 16:50:50 -06:00
FusionPBX 0a89b156f9 Update app_defaults.php
Adjust the indentation.
2016-07-01 16:49:12 -06:00
FusionPBX 4fcd8be55f Update app_defaults.php
Remove the context from app defaults.
2016-07-01 14:35:45 -06:00
FusionPBX 6a434f6cf9 Update dialplan.php
Fix the dialplan context on the import.
2016-07-01 14:33:55 -06:00
FusionPBX d439c5a8a3 Update dialplan.php
Moving this code back to the way it was.
2016-07-01 14:04:38 -06:00
markjcrane af8aef39b0 Add another missing semi-colon. 2016-07-01 13:47:50 -06:00
markjcrane a2138678e6 Add a missing semi-colon. 2016-07-01 13:46:24 -06:00
markjcrane c6fa6dc69a Add a missing ). 2016-07-01 13:44:58 -06:00
markjcrane e7001baa5c Work on a more efficient way to handle app_uuid_exists on a larger scale. 2016-07-01 13:42:44 -06:00
markjcrane c920cdca51 Fix the syntax. 2016-07-01 13:05:54 -06:00
markjcrane 52c1726fe6 Efficiency for app defaults. 2016-07-01 13:02:31 -06:00
badcrc c295fd31ff Clear memcached when toggling on/off dialplans (#1717)
When clicking True/False link from the dialplan list (like outbound routers for examples), the change isn't effective until the cache expires. 

Full editing the dialplan entry (dialplan_detail_edit.php) does this right and clears the cache, I took the code from there.
2016-06-28 19:18:28 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane 662ae4d986 Fix the dialplan import problem caused when checking if the array 'isset' one word was incorrect. 2016-05-01 08:21:15 -06:00
markjcrane 459f98ea14 Call direction outbound is set on the outbound route making it redundant and so removing it. 2016-05-01 08:08:30 -06:00
markjcrane 6d68c73f01 Verify that all arrays used in a foreach use isset for classes/dialplan.php. 2016-04-29 15:49:36 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
FusionPBX 7961eb3b37 Merge pull request #1533 from moteus/dialplan_copy_check_str
Fix. Check string before build sql when do copy dialplan extension.
2016-04-12 12:40:01 -06:00
reliberate 798f94125f Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells).
Editor: Prevent / (slashes) in clip name.
Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility.
Functions: Add option to check_str() to skip string trim.
2016-04-07 12:00:19 -06:00
Alexey Melnichuk d15820f167 Fix. Check string before build sql when do copy dialplan extension. 2016-04-04 14:41:18 +03:00
reliberate 4a4517a5ab Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 12967e6b67 Dialplan Edit: Style mods. 2016-03-28 09:57:03 -06:00
reliberate 403bcc5a2e Dialplan Edit: Disable text-overflow (for now). 2016-03-28 09:31:53 -06:00
FusionPBX ab3aaf51cb Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
mafoo dda30766ec WhitespaceClean-app/dialplan
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:49:17 +00:00
mafoo 77c72c8d7c BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
markjcrane 63fd267125 Add a call limit dialplan disabled for now. 2016-02-29 18:46:50 -07:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Alexey Melnichuk ae243926ce Fix. Copy dialplan extension with correct `add_uuid` for outbound route. 2016-01-21 17:29:14 +03:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
FusionPBX d298dad5cc Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07:00
blackc2004 937bd501cf Update 980_cidlookup.xml 2016-01-15 20:16:21 -08:00
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
markjcrane f0b57b1516 Add hangup to the destination select list. 2016-01-12 21:07:49 -07:00
markjcrane 274b18cebd Remove the round brackets as they are not needed with this dialplan. 2016-01-12 20:54:48 -07:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
markjcrane 728e33bd68 Update the name of the dialplan. 2016-01-08 14:13:00 -07:00
markjcrane b1839f08e7 Add a dialplan for mod_cidlookup. 2016-01-08 14:05:59 -07:00
Matthew Vale f88a78efc7 Intercept mode for Polycom
first dialplan to be utilized as global="true" and
context="${domain_name}"
2015-12-21 14:03:57 +00:00
markjcrane a940f9d3cb Add dialplan domain_uuid is null. 2015-12-20 01:46:30 -07:00
markjcrane ba6efbbd6d Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-12-19 14:55:42 -07:00
markjcrane cac310a7dd Add ability to have global dialplan templates. 2015-12-19 14:55:28 -07:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
blackc2004 c092ebacd2 Update 010_user_exists.xml 2015-12-09 13:59:15 -08:00
markjcrane c9fee6c080 Add the ${ and } to user_exists so that it works with the condition. 2015-12-09 12:10:31 -07:00
markjcrane 8f3f2040a7 Remove the self closing tag on the local_extension condition. 2015-12-09 12:05:20 -07:00
markjcrane 36e546adcb Remove the destination number condition and exchange the $1 for the destination_number variable. 2015-12-08 09:13:56 -07:00
markjcrane 925feb06a1 Add user_exists condition to local_extension to compensate for the fact we allow dialing an extension based on a non numeric username. 2015-12-07 22:09:27 -07:00
markjcrane ebc9b41c4a Add ^.*$| to local_extension to support dialing non numeric usernames. 2015-12-07 21:45:24 -07:00
markjcrane c7ce4dade0 Change how the app_uuid is handled on device copy. 2015-12-06 10:26:10 -07:00
markjcrane c02713a3bd Use set and unset instead. 2015-12-06 10:13:22 -07:00
markjcrane 85f84e0ef6 Create a new app_uuid when creating a dialplan however when copying a time condition, inbound and outbound route keep the original app_uuid. 2015-12-06 10:02:24 -07:00
markjcrane 7c275f54af Add domain_uuid is null to the dialplan class similar to how already done in the ring_groups/index.lua. 2015-11-27 11:25:06 -07:00
markjcrane 5c1d1ff05a Change the paging extension_list to destinations. 2015-10-23 15:23:55 -06:00
markjcrane 5d3ecc30c8 Add hold music option and update the call_block dialplan. 2015-10-19 18:30:55 -06:00
markjcrane d32e53395f Fix a bug with outbound routes back button. 2015-10-12 14:25:01 -07:00
markjcrane 8f93d4d548 Dialplan page add mute=true back again. 2015-09-26 08:56:44 -06:00
markjcrane d3a1e48c18 Set inline to false. 2015-09-02 20:49:36 -06:00
markjcrane 51b4c94413 Disable inline for limit in the local_extension dialplan. 2015-09-02 20:31:02 -06:00
Alexey Melnichuk 094b49828c Fix. Start record when b-leg answer.
This fix problem when DID transfers to IVR.
After that user make direct-dial to extension.
IVR do transfer but a-leg already answered and
api_on_answer did not call.
2015-08-25 14:56:01 +04:00
Alexey Melnichuk 911fd65aa1 Revert. Both legs can control of call. 2015-08-19 10:06:22 +04:00
Alexey Melnichuk 8d96b580cb Fix. Set voicemail ID. 2015-08-18 15:42:14 +04:00
Alexey Melnichuk ae341a6aba Change. Use bind_bind_digit instead of bind_meta_app.
Change. Allow transfer and turn on recordings only for authorized users.
Fix. Use record_ext in recording in ring_group.

This allow configure other dtmf sequence like `*#` and `##`
2015-08-18 15:38:41 +04:00
FusionPBX 75aaf20cfa Merge pull request #1017 from moteus/no_default_domain
Change. Does not use `default` dialplan/directory.
2015-08-10 11:27:19 -06:00
markjcrane 144e22094e Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
markjcrane 59eb7a492a Add title-other to app_languages.php. 2015-08-09 11:02:18 -06:00
markjcrane d2147cb133 Remove switch_select_destination function from the remaining features that used it and replace with the destination php class. 2015-08-07 15:06:07 -05:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane c4517b15c2 Move the 'show application' completely out of the content. Then save the result in a session variable $_SESSION['switch']['applications']. 2015-07-21 09:47:23 -06:00
Alexey Melnichuk 55d01cffd4 Fix. Edit dialplan without running FS may load too long. 2015-07-21 11:44:13 +04:00
Alexey Melnichuk 18491ea2c0 Merge branch 'master' into no_default_domain
Conflicts:
	app/hot_desking/extension_edit.php
2015-07-21 11:24:59 +04: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 5ea2c0e964 Remove using `feature` context.
Default dilplan context contains all needed extension to does not use `feature` context.
2015-07-02 12:35:34 +04:00
Mark Crane 59b81e5b3d Add transaction support to dialplan import. 2015-06-25 21:10:50 +00:00
Mark Crane 995780f8f2 Change the call screen recording name. 2015-06-23 23:16:55 +00:00
Mark Crane 18bd7505ba Change the filename reference to file and the caller id number to the call uuid. 2015-06-23 22:19:46 +00:00
Mark Crane 819bd7457d Add call_direction inbound filter and inline true. 2015-06-23 21:57:31 +00:00
Mark Crane b43f5f8647 Change call_screen to call_screen_enabled. 2015-06-23 21:21:50 +00:00
Mark Crane f9a5a1db66 Add dialplans needed for call screening. 2015-06-23 19:48:40 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +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 68fab86633 Add missed call email notification. 2015-05-29 03:56:49 +00:00
Mark Crane 8b539a79fb Change eavesdrop from *88[ext] to *33[ext] to prevent a conflict with page extension on *8[ext] 2015-05-15 18:05:31 +00:00
Mark Crane 7e1f3abb4e Change user_status to agent_status. 2015-05-05 17:24:02 +00:00
Mark Crane 50c88ba930 Add call_timeout tot he user_exists dialplan so it works in both directions. 2015-05-05 07:36:06 +00:00
Mark Crane 872fa20983 Add format phone to the dialplan number. 2015-05-05 04:44:34 +00:00
Mark Crane 2205cf4fb7 Add _id to *23 name. 2015-05-04 19:06:04 +00:00
Mark Crane 91df1c01db Remove one file and rename the dialplan attribute inside the XML. 2015-05-04 19:05:20 +00:00
Mark Crane 287da808e3 Add *23 for agent status that requests the id and password. 2015-05-04 18:58:18 +00:00
Mark Crane 89e01c08d0 Rename the user_status dialplan. 2015-05-04 18:48:09 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +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 57b344135d Change page extension to order 250. 2015-04-30 08:30:43 +00:00
Mark Crane cc1ab86fdd Change the order of the page dialplan. 2015-04-30 08:30:01 +00:00
Mark Crane c07d842579 Had the login and logout backwards. 2015-04-30 08:06:11 +00:00
Mark Crane 435c2a7d77 Add the provision dialplan as *11 and *12. 2015-04-30 06:21:19 +00:00
Mark Crane 5e558cca0d Add an api_hangup_hook to ensure all members of page hangup. 2015-04-29 21:54:02 +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
Mark Crane 7e9767f0d9 Simplify the page dialplan. 2015-04-29 18:25:20 +00:00
Mark Crane 7c97283b5a Change the name of extension-intercom to page-extension. 2015-04-29 18:14:26 +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 889c2c803b Remove the old park.lua dialplans in favor of mod_valet. 2015-04-15 23:21:32 +00:00
Mark Crane 0ffeaf9b5e Remove v_ as they are not used in the dialplan templates. 2015-04-15 23:19:13 +00:00
Nate Jones bffeac9a8f Call Center Agents / Dialplan Edit: Optimize Gateway Name lookup (only do if necessary). 2015-04-14 00:42:15 +00:00
Mark Crane 3b8b7ad0ca Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Mark Crane b0497e36db Update the local_extension dialplan. 2015-04-01 10:22:34 +00:00
luis daniel lucio quiroz b7b98cef79 not short-tags on all project 2015-03-25 13:46:19 +00:00
Mark Crane b31da11704 Change the context to the domain_name. 2015-03-23 04:29:09 +00:00
Errol Samuels 8e29688f33 slight correction 2015-03-22 20:30:40 +00:00
Errol Samuels 8473849839 Peplaced transfer_context with just context because transfer_context seems to return an
UNDEF value and breaks att_xfer when attempting to transfer using *4.
2015-03-22 20:26:22 +00:00
Mark Crane dd0cc6bd75 Update dialplan edit adjust to ensure the dialplan is able to be viewed correctly and validate the uuid with is_uuid. 2015-03-21 03:23:44 +00:00
Nate Jones 3cbe7e6f24 Dialplan Edit: Default details group to 0 if not specified (also fixes Copy feature). Fix details group order by. 2015-03-19 23:42:25 +00:00
Mark Crane 4289a55b95 Change valet_park_out $1 to $2. 2015-03-10 18:27:28 +00:00
Mark Crane abe396020f Change the dialplan context to the domain name. 2015-03-10 10:21:43 +00:00
Mark Crane 2c30faff18 Fix the indentation in the file. 2015-03-07 13:48:13 +00:00
Mark Crane 61d88f46d8 Add missing fields to dialplan copy: dialplan inline, break, and groups. 2015-03-07 13:45:22 +00:00
Mark Crane 9c662eef1e 2015-03-07 13:44:27 +00:00
Nate Jones b5c844ca6f Time Conditions: Remove debug code.
Dialplan Manager: Set width on checkbox column.
2015-02-25 10:09:22 +00:00
Nate Jones 1a33320530 Time Conditions: Editable. 2015-02-25 09:52:12 +00:00
Mark Crane 79fc78e04d Set the min='0' for dialplan detail edit. 2015-02-20 04:27:14 +00:00
Nate Jones 2df30b401e Visual adjustments. 2015-02-15 10:05:08 +00:00
Nate Jones e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones d96f016ea5 Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones 366d1684a8 Time Conditions: Overhaul (on Add only, so far). 2015-01-24 04:10:37 +00:00
Nate Jones 8c26f2fd4a Dialplan Edit: Some code cleanup. 2015-01-23 00:58:47 +00:00