Commit Graph

143 Commits

Author SHA1 Message Date
Alexey Melnichuk 0a0383db9a Add. Handler for SUBSCRIBE method for call flow application. (#1701)
* Add. Handler for SUBSCRIBE method for call flow application.

Usage:
1. Run form fs_cli `luarun call_flow_subscribe`
2. Create new call flow extension and set feature code to `flow+<EXTENSION>`(e.g. `flow+401`).
3. Set on the phone BLF key to `flow+401`

This code based on `mod_valet_parking`.

* Add. prevent running 2 copy of script.

Remove some unused vars and simplify implementation.

* Fix. Use correct protocol for send event.

* Fix. Do escape SQL arguments

* Fix. escape `+` sign in call flow extension.
2016-06-24 10:32:19 -06:00
reliberate 931b30db24 Call Flows: Restore missing quote in app_languages.php. 2016-06-13 13:05:55 -06:00
FreeMe d8ffd18af4 Update app_languages.php (#1656)
Corrected 'uk' field to Ukraine not english.
2016-06-13 10:58:23 -06:00
FusionPBX a3d8270e30 Update call_flows.php
Update call_flows.php rename anti to alternate.
2016-06-12 14:24:35 -06:00
FreeMe 0b2506dad1 Update app_languages.php (#1651)
Multilingual support for new features
2016-06-11 15:57:01 -06:00
FreeMe b046094042 Update call_flow_edit.php (#1652)
Allows the page to become multilingual
2016-06-11 15:23:49 -06:00
FusionPBX 665273d0c7 Update app_languages.php 2016-06-11 11:08:21 -06:00
FusionPBX fad5fcd239 Update app_languages.php
Set temporary transltations for label-sound and label-alternate_sound
2016-06-11 10:19:16 -06:00
FusionPBX 84ee791aea Update call_flow_edit.php
Fix the call flow alternate sounds so it saves to the database and its value is displayed when loading the form.
2016-06-11 09:49:22 -06:00
FusionPBX 5b9a1aadf2 Update call_flow_edit.php
Correct the SQL insert and updates and put the call flow sound and alternate sound into the order that matches the web interface.
2016-06-11 09:29:56 -06:00
FusionPBX 21538da340 Update app_languages.php
Change the labels to sound and alternate_sound.
2016-06-11 09:14:30 -06:00
FusionPBX cb96cb3362 Update call_flow_edit.php
Rename the call flows using anti to alternate.
2016-06-11 09:06:12 -06:00
FusionPBX b7a8e372ae Update app_config.php
Change call_flow_sound_on to call_flow_sound. Call flow anti to alternate and call_flow_sound_off to call_flow_alternate_sound.
This changes make it more consistent with the front end. For the few developers that have the call_flow_sound_on and call_flow_sound off I offer the these alter table statements.
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_on to call_flow_sound;
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_off to call_flow_alternate_sound;
2016-06-11 09:04:42 -06:00
Alexey Melnichuk 6095609c5a Add. Support sound prompts on call flow. (#1645)
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin fd313a7c66 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
reliberate cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
Mafoo ad324f4744 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 2669f6f1a9 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
Matthew Vale b20a38f454 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 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
Alexey Melnichuk c19cd89bc5 Fix. Delete some keys from memcache 2015-08-24 10:34:33 +04:00
markjcrane e9b93fd426 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
markjcrane 5d457205f6 Move call flows to the new destinations class. 2015-08-07 14:10:24 -05:00
markjcrane 15ca076e09 Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane 5c8a6dd7fe Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane b64c850a9a Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane d6636aee17 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 f742c22359 Set the user_context on an call flows to the domain name for single tenant. 2015-03-22 03:33:37 +00:00
Nate Jones 18fefa3682 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones dbd9fbc07b Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones 474e63f939 Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane 91bfa85bac Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane ddca77629e Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane 6d98ffc320 Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Philippe Rioual 22f04d0556 updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Nate Jones e67aa0c638 Document (Window) Title: Update variable name to avoid conflict when paging is used. 2014-07-10 00:32:50 +00:00
Mark Crane ad83bc17a9 Remove edit title 2014-06-22 08:12:07 +00:00
Nate Jones 752ad07d8a Usability Enhancement: Click on list rows to View/Edit items.
Conference Center: Misc minor visual mods.
Contacts: Misc minor visual mods.
2014-06-22 03:24:36 +00:00
Mark Crane 90d53e5bea clear memcache correctly when saving a call flow 2014-05-24 14:15:18 +00:00
Nate Jones fa9e9b2ac4 Submit button also placed at top; reordered to right margin, too. 2014-04-26 23:37:41 +00:00
Nate Jones 830dc5ee58 Unstack list control icons. 2014-02-26 04:17:21 +00:00
Nuno Miguel Reis c8740bad49 fixed some translations 2014-02-25 22:49:35 +00:00
Nuno Miguel Reis eeed105dff change of some pt_PT translations and fixed some encoding bugs for the new Chile spanish
Conflicts:
	fusionpbx/app/call_center_active/app_languages.php
	fusionpbx/app/calls_active/app_languages.php
	fusionpbx/app/ring_groups/app_languages.php
	fusionpbx/app/schemas/app_languages.php
2014-02-25 03:28:28 +00:00
Nate Jones ad1d964821 Response message updates. 2014-02-21 02:27:42 +00:00
Mark Crane f513b95c6d Add a new Spanish translation donated by José Manuel Calquin Heinsohn. 2014-02-14 07:03:12 +00:00
Mark Crane a6b2dd512d Add a new Spanish translation donated by José Manuel Calquin Heinsohn. 'es-cl'. This completes the menu Spanish translation. 2014-02-13 20:15:59 +00:00
Mark Crane 3cf0a25f7d Add app/dialplan/ to the dialplan class path. 2014-01-13 14:34:13 +00:00
Nuno Miguel Reis 24dabf4a1c language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:01 +00:00
Nuno Miguel Reis 184ec05020 changed single quote to double quotes everywhere 2013-10-01 11:35:07 +00:00
Mark Crane a43c8f892d Correct the tabbing by replacing the spaces with tabs. Replace some of the single quotes with double qoutes and keep the fr-ca translations. 2013-09-30 16:21:08 +00:00
Mark Crane 0955da65ba Fix a few things in app_config.php leaving fr-ca and changing some of the single quotes to double quotes. 2013-09-30 16:16:32 +00:00
Philippe Rioual f0489b418f repaired previous errors inserted in r4614 : reinserted 'de-de' instead 'de' and correct files. keeps fr-ca to report in app_config.php files 2013-09-30 15:22:35 +00:00
Philippe Rioual 9ce5b02701 added missing french translations and changed fr to fr-fr in all app_languages.php and app_config.php files. 2013-09-30 13:19:40 +00:00
Mark Crane bd07e97064 Fix the call flows feature. 2013-09-21 22:46:32 +00:00
Mark Crane bf52a675a0 Convert all remaining app_config.php files to UTF-8 without BOM. 2013-09-21 16:00:28 +00:00
Mark Crane 9b0c91491c Update the file types for the the app_languages.php that were not the correct type. Set the file type to UTF-8 without BOM. 2013-09-21 08:40:50 +00:00
Mark Crane 850ff7b0db Change fr to fr-fr and de to de-de. 2013-09-17 20:02:19 +00:00
Nuno Miguel Reis cfc37a8910 new changes to group_permissions/menu logic 2013-09-17 19:06:44 +00:00
Mark Crane bd727dd44f Call Flows fixed the quotes. 2013-09-13 22:17:26 +00:00
Mark Crane 82807926d8 Remove extra characters from the call flow app_languages. 2013-09-13 22:10:38 +00:00
Mark Crane f077840883 Move the French translations into the development branch.
Translation work done thanks to by bhouba for his work on the translations.
2013-09-13 21:04:53 +00:00
Mark Crane 962fc99515 Fix the database app_config array on several of teh app_config file array. 2013-09-13 09:39:57 +00:00
Mark Crane ea4e824fd5 Added ['type'] so that it is applied as $field['key']['type'] so that it is uniform across all app_config.php files. 2013-09-10 23:06:41 +00:00
Mark Crane 13dabc3d3b Move references to php classes in includes/classes to resource/classes. 2013-07-06 07:13:36 +00:00
Mark Crane 6da2c3734c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +00:00
Mark Crane 52628c713c Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane ffffea0710 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane a6e289ed5d Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Nate Jones 4cada4b382 Multilinguified Call Flows. 2013-05-14 15:09:15 +00:00
Mark Crane 189ae6f377 Copy the translations French and Spanish translations into the dev branch. 2013-05-13 00:50:43 +00:00
Mark Crane 751b1c721c Clear memcache as needed. 2013-01-16 00:26:48 +00:00
Mark Crane 43740a3694 Change en to en-us for call flows. 2012-10-12 01:59:57 +00:00
Mark Crane 6819062453 Hide the call flow name from the list its status and description should be enough to identify it. call flow name is still used as the dialplan name for the call flow. 2012-09-20 09:41:36 +00:00
Mark Crane 43949c653d Use the label for the call flow status on the list and edit page. 2012-09-20 09:34:48 +00:00
Mark Crane c343c085e8 Change what columns are shown in call flows destination and alternate destinations. 2012-09-20 09:09:32 +00:00
Mark Crane bc7930f23f Call flows make sure the dialplan detail is deleted. 2012-09-20 09:05:12 +00:00
Mark Crane 54e2f194de Make sure * is escaped for call flows in the dialplan. Also make sure the dialplan destination number is updated for changes to the extension number and for the feature code. 2012-09-20 08:58:04 +00:00
Mark Crane 85df50139c Add call flow labels for display on the phone when using blf. 2012-09-20 07:16:08 +00:00
Mark Crane d14e30d3a4 Fix the dialplan entry for call flows. 2012-09-17 18:38:11 +00:00
Mark Crane 9abb5d84b4 Add call flow context and the license details. 2012-09-14 23:22:46 +00:00
Mark Crane d17f7c88ad Add call flow name and the beginning of the dialplan structure. 2012-09-14 22:45:26 +00:00
Mark Crane a3bd914405 Add dialplan_uuid to the call flow table. 2012-09-14 22:07:33 +00:00
Mark Crane df888b6a03 Delete the dialplan entry for call flows when the call flow is deleted. 2012-09-14 22:07:03 +00:00
Mark Crane 4b9690ceae Add the select destination for call flows. Also add descriptions for each field. 2012-09-14 21:57:22 +00:00
Mark Crane 79b6aba199 Call Flows - directs calls to a destination or alternate destination. A phone call to the feature code will toggle the call between the two destinations. Commonly used for Day/Night mode. 2012-09-14 20:50:34 +00:00