Commit Graph

91 Commits

Author SHA1 Message Date
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
FusionPBX 0bff93f3a4 Merge pull request #1079 from moteus/temp_dir
Fix. Use `temp_dir` variable instead of hard coded `/tmp`
2015-08-10 10:25:22 -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
Luis Daniel Lucio Quiroz 780b69a253 Use os.time instead of mysql native function
Odd, but on some deployments LUA wont accept unixtime stamp functions (regardless it works on CLI). So, to workaround this, lets use os.time() which it returns the same value expected.
2015-08-09 21:56:28 -06: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 73e0e7a3a8 Fix. Use `temp_dir` variable instead of hard coded `/tmp` 2015-08-07 11:52:18 +04:00
markjcrane 2a4621daaf Fix a problem with custom public context and XMl handler. 2015-07-31 21:03:22 -06:00
FusionPBX be89d5bce3 Merge pull request #1023 from moteus/ext-dial-string
Fix. Use extension to generate dial-string in xml_handler
2015-07-18 12:54:24 -07:00
Alexey Melnichuk 42ebf34104 Fix. Use `temp_dir` to debug dialplan xml file 2015-07-16 12:56:13 +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
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 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 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
luis daniel lucio quiroz 27bb9d1735 load balancing fixed 2015-06-11 01:43:30 +00:00
Mark Crane 14dea03d06 Fix hold music when used with Conference Center and XML Handler. 2015-06-04 22:43:46 +00:00
luis daniel lucio quiroz f32397252e mod_verto xml handler support 2015-05-30 22:14:01 +00:00
Mark Crane 68fab86633 Add missed call email notification. 2015-05-29 03:56:49 +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 6b552b7025 Change leg_timeout for call_timeout in the xml handler directory. 2015-05-05 07:34:19 +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 614f7f3165 Add support for the new sip profiles enabled field. 2015-05-02 05:08:41 +00:00
Nate Jones b62d377712 XML Handler: Include missing language macros. 2015-04-30 06:59:24 +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 a4a76efb49 missing space & mysql support 2015-04-12 17:40:58 +00:00
Digital Daz 659e10a8c0 First part of fix for load balancing - Prevent stale hostname being used for expired registration that has not yet been purged by freeswitch 2015-04-12 10:08:47 +00:00
Mark Crane a8cdcf013c Prevent a bad domain_name from causing a nil error for reverse authentication. 2015-04-04 06:24:41 +00:00
Mark Crane 2bbca0837c Set auto-gain-level to 0 or disabled. 2015-04-01 10:18:48 +00:00
Mark Crane 3859511572 Fix the XML for languages.lua. 2015-03-24 06:21:47 +00:00
Mark Crane 34968ce2c2 Remove trailing spaces or tabs. 2015-03-18 20:51:13 +00:00
Mark Crane 09196fac55 Fix the indentation in callcenter.conf.lua. 2015-03-11 19:33:07 +00:00
Mark Crane 1f20397a57 Call Center XML Handler now generates XML correctly. 2015-03-11 19:28:18 +00:00
Mark Crane 0cd32b4f7e Add the missing include for the languages section. 2015-03-09 23:49:15 +00:00
Mark Crane 88ba2e161a Add time-of-day to the XML handler. 2015-03-09 15:51:49 +00:00
Mark Crane 0d6f9b8d64 Add XML Handler section language. 2015-03-09 05:26:10 +00:00
Digital Daz 1a15020275 Remove a log line used for debug 2015-02-25 20:40:51 +00:00
Digital Daz 2cef65a708 Fixed a couple of typos and changed the way the DSN is inserted. 2015-02-25 20:35:22 +00:00
Mark Crane ce74b2d0fb Add callcenter.conf.lua for xml handler. 2015-02-21 09:33:36 +00:00
Mark Crane 30706fa11d Tested gateway with registration set to false on 1.4.15 no longer requires a username and password so it is no longer required in fusionpbx when the registration is set to false. 2015-01-29 07:07:54 +00:00
Mark Crane ad81b6ea5b Get the values from the database and set them as lua variables. 2014-12-03 09:02:54 +00:00
Mark Crane 14babb88ed Set extension variables for forward all, busy, no answer, and do not disturb. 2014-12-03 08:05:41 +00:00
luis daniel lucio quiroz f6b1ee0736 xml_handler directory.lua is now tolerant when no memcache available, fix a nil variable 2014-11-27 14:43:28 +00:00
Mark Crane 130c45d0b6 Revert r7258 as caused problems with endpoints receiving calls. 2014-11-26 20:54:44 +00:00
Mark Crane 36d3c995b7 Fix the alias for the XML handler. 2014-11-21 04:37:43 +00:00
Mark Crane 3b9743226a xml_handler will bind if memcached is down 2014-11-13 08:51:46 +00:00
Mark Crane 899e5a853c Replace if statement so that it doesn't cause a problem with user_exist. 2014-10-22 00:32:00 +00:00
Mark Crane 593c063602 Fix the xml handler nil error for number_alias and fix some indentation. 2014-10-21 19:30:40 +00:00