Commit Graph

53 Commits

Author SHA1 Message Date
Alexey Melnichuk 28d3ebb51f Allow use odbc to store files (record/voicemail) in database. (#1535)
* Change. Allow use odbc to store files (record/voicemail) in database.

* Fix. Generate correct default config.
2016-09-04 13:05:47 -06:00
mafoo 0eb7d5ddac WhitespaceClean-resources/install/scripts
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 13:21:52 +00:00
Alexey Melnichuk 7c225b404a Fix. Add `#` to caller ID name when call from IVR 2016-02-24 16:28:38 +03:00
Alexey Melnichuk b616736a29 Fix. Declare vars in correct scope. 2016-02-05 10:20:09 +03:00
Alexey Melnichuk b3764e21f9 Update log. 2016-02-04 20:00:12 +03:00
Alexey Melnichuk 9f818dfbbf Fix. Infinity loop. IVR ignores `max_failures`. 2016-02-04 19:42:42 +03:00
Alexey Melnichuk a9e4f5a3e6 Fix. Allow multiple actions in IVR 2016-02-04 19:05:24 +03:00
Alexey Melnichuk 1f9fbc6b7b Use logger class. 2016-02-04 16:05:35 +03:00
Alexey Melnichuk 2fe1337494 Simplify code 2016-02-04 13:20:30 +03:00
Alexey Melnichuk 834c0bce86 Merge remote-tracking branch 'upstream/master' into ivr_menu 2016-02-04 12:14:27 +03:00
markjcrane b7512ecc88 Include the mkdir function for the IVR Menu. 2016-02-03 10:43:22 -07:00
markjcrane 986784e3fa Base64 - Make sure the directory structure exists. 2016-02-03 10:01:43 -07:00
Alexey Melnichuk 2f8e950d34 Fix. Can not pick any options after IVR play `streamfile.lua`
Rewrite ivr functions to easy read code.
2016-02-03 16:53:22 +03:00
FusionPBX 85218c9133 Merge pull request #1415 from mafoo/Enhance-ringback
Enhance ringback
2016-01-29 07:24:14 -07:00
mafoo b655a064fd Converted uses of ringback to common function 2016-01-28 15:51:50 +00:00
markjcrane cf2a4601ff Remove the recordings_dir with automatic domain_name and add domain_name in a few places where it was missing. 2016-01-25 16:53:09 -07:00
markjcrane 46fd506ed2 Add domain name to the recordings path in ivr_menu.lua. 2016-01-25 16:31:04 -07:00
markjcrane cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
Alexey Melnichuk 30109b4523 Fix. IVR menu option without arguments. 2015-11-10 17:56:40 +03:00
Alexey Melnichuk 82d22322df Fix. Get DTMF in IVR when using phrases. 2015-10-30 17:33:26 +03:00
markjcrane 8fdd55c917 IVR Menu allow one of the options to override direct dial to an extension. 2015-08-14 11:26:11 -06:00
Alexey Melnichuk 69717e31d5 Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX d1f3b05cf6 Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
FusionPBX 8d9430352b Merge pull request #1053 from moteus/require_config
Change. Use `require "resources.functions.config"` to load config file.
2015-08-10 11:31:35 -06:00
Alexey Melnichuk a8142f527a Change. Use only `require` to load function.
Fix. Remove multiple definition of same function.
2015-08-10 12:43:06 +04:00
Alexey Melnichuk 59c1fbe2ef Fix. Always use `/` separator on FS command.
Fix. Override `temp_dir` from `config.lua` file.
2015-08-07 12:11:27 +04:00
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04: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
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
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
Mark Crane a64961cc66 Complete http_cache for the IVR Menu and Recordings. 2015-04-06 14:14:32 +00:00
Mark Crane 4312b05c50 Add http_cache to IVR Menu. 2015-04-06 14:06:11 +00:00
Mark Crane 0dfe0f6732 Start the option for http_cache. 2015-04-06 07:34:02 +00:00
Mark Crane ece0788531 Fix the long and short greetings for the IVR Menu. 2015-04-04 09:38:26 +00:00
Mark Crane 1018aa123f Check for a nil to prevent an error for voicemail, ivr menu and recordings. 2015-04-04 09:09:09 +00:00
Mark Crane cf0068446d Improve indentation, use base64 value from database bypass writing the value to a variable first. 2015-04-03 19:06:16 +00:00
Nate Jones 54c465abaa IVR: Additional check for nil needed. 2015-04-03 17:58:49 +00:00
Mark Crane 920b08fa23 Remove trailing spaces from the ivr_menu.lua. 2015-04-01 08:12:27 +00:00
Mark Crane a7b191a47e Pre-define the variables for the ivr menu. 2015-04-01 06:52:45 +00:00
Mark Crane e9fc52436d Improve the speed of base64 encode and decode. 2015-03-31 18:48:00 +00:00
Mark Crane bf09ca3e1c Add base64 decode to the IVR Menu. 2015-03-31 00:50:13 +00:00
Mark Crane 7aa729f56b IVR Menu use the ringback method from ring groups. 2015-03-20 04:56:25 +00:00
Mark Crane 2bf031dd68 IVR Menu commit ringback this approach will be replaced but is added to document the approach. 2015-03-20 04:54:49 +00:00
Mark Crane 5f7a14041a Fix ringback on the ivr menu by getting the global variable representing the ring back tones. 2015-03-18 23:31:14 +00:00
Mark Crane 75321f04f7 Fix IVR Menu ringback. 2015-03-13 16:45:05 +00:00
Nate Jones c67daf9a48 Issue 767 Fix: Invalid Sound file path was hard coded in lua, modified as suggested to use file path defined in IVR. 2014-12-10 03:26:52 +00:00
Mark Crane 7045ae3b32 Remove the back slash from ivr_menu.lua. http://jira.freeswitch.org/browse/FS-6059 thanks Travis for the bug fix. 2014-01-26 13:25:50 +00:00
Mark Crane 4eff7e163b Fixed a bug with IVR Menu where it reached the max failures +1 before moving onto the timeout action. 2013-07-25 18:25:52 +00:00
Mark Crane 9038cfb9b7 Move direct dial code outside of the loop. Next user_exists replace context with domain_name so that it works with single tenant systems. 2013-07-15 21:47:22 +00:00
Mark Crane 5b402817b9 IVR Menu only allow direct dial calls to existing extensions. 2013-06-24 18:51:03 +00:00