Commit Graph

2076 Commits

Author SHA1 Message Date
FusionPBX
3c7e6e16fd Merge pull request #1093 from moteus/dnd_number_alias
Fix. Use number alias to forward call to VM when DND is on.
2015-08-13 11:25:08 -06:00
FusionPBX
3d54c8a507 Merge pull request #1092 from moteus/logging_create_file
Fix. Create log file only if necessary.
2015-08-13 11:22:35 -06:00
Alexey Melnichuk
0debd40fa3 Fix. extension_exists function also check number_alias field. 2015-08-13 13:39:39 +04:00
Alexey Melnichuk
ebe55cf7c8 Fix. Use number alias to forward call to VM when DND is on (Lua part) 2015-08-13 13:14:46 +04:00
markjcrane
e032e5815b base_dir is not dependable as its irrelevant for freeswitch package installs replace it with settings['switch']['voicemail']['dir']. 2015-08-12 23:45:27 -06:00
markjcrane
46e9bdc49f Remove outbound restriction for intercept. 2015-08-12 23:38:46 -06:00
FusionPBX
6987bf9c49 Merge pull request #1091 from moteus/intercept_outbound
Fix. Allow intercept only outbound calls.
2015-08-12 23:34:43 -06:00
markjcrane
e5d7a7c7b9 Add expire["acl.conf"] = "3600"; 2015-08-12 23:31:21 -06:00
markjcrane
11b94be767 Remove acl.conf.xml. 2015-08-12 23:30:38 -06:00
markjcrane
941415fe13 Add acl.conf.lua to the xml handler. 2015-08-12 23:21:10 -06:00
Alexey Melnichuk
654e0b0516 Fix. Create log file only if necessary. 2015-08-12 12:44:42 +04:00
Alexey Melnichuk
1bac6fa097 Fix. Allow intercept only outbound calls.
Now it is possible intercept call from local extension to the world.

Fix. intercept channels also in EARLY state.

One of my softphones return 180 Ringing with SDP (no 183 Progress).
And FreeSWITCH shows such channel as `EARLY` not as `RINGING`)
2015-08-12 10:09:56 +04:00
markjcrane
55f32aa3c0 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-11 20:57:11 -06:00
markjcrane
16df326486 Change the vertical grouping of script-directory. 2015-08-11 20:56:53 -06:00
FusionPBX
e6a85e776b Merge pull request #1018 from moteus/number_alias_as_vm_id
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
markjcrane
907a04a6da XML Handler - directory.lua change ext to username. 2015-08-11 20:36:01 -06:00
FusionPBX
1364725916 Merge pull request #1080 from moteus/dial_number_alias
Fix. Use number_alias in dial-string.
2015-08-11 20:31:42 -06:00
FusionPBX
77fd3dfc7b Merge pull request #1081 from moteus/number_alias_as_caller_id
Fix. Use number-alias as caller_id_number variable.
2015-08-11 20:30:19 -06:00
markjcrane
82b7d6fd79 Change '//' to '/'. This fixes a problem where its calling require when it should call dofile. 2015-08-11 20:25:34 -06:00
FusionPBX
237d6c5d90 Merge pull request #1087 from moteus/revert-1086-revert-1053-require_config
Change. Use `require` function to load Lua libraries
2015-08-11 20:05:48 -06:00
FusionPBX
32872d8c0d Merge pull request #1088 from moteus/number_alis_group_intercept
Fix. Group intercept extension with number alias
2015-08-11 20:05:04 -06:00
markjcrane
87eb5a0399 Add a break to prevent call the failover bridge statement at the same time the primary bridge statement is called. 2015-08-11 13:42:46 -06:00
Alexey Melnichuk
5b291a896a Fix. Include config file. 2015-08-11 14:40:02 +04:00
Alexey Melnichuk
024abb1ac1 Fix. Group intercept extension with number alias 2015-08-11 14:18:25 +04: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
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
9b885b807d Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2015-08-10 11:22:11 -06:00
markjcrane
51b398f984 Ring group external destinations use the | as the delimiter for fail-over. 2015-08-10 11:21:48 -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
FusionPBX
e78d4dc370 Merge pull request #1084 from moteus/page_active_conf
Fix. Allow monitoring page conferences via `Active Conferences` app.
2015-08-10 10:23:03 -06:00
FusionPBX
5f000d1906 Merge pull request #1083 from daniel-lucio/master
Use os.time instead of mysql native function
2015-08-10 10:22:22 -06:00
markjcrane
144e22094e Add translations for check_voicemail, company_directory and record. 2015-08-10 10:09:37 -06:00
Alexey Melnichuk
c27e9cef9a Fix. add functions/count.lua to preview commit. 2015-08-10 13:01:49 +04: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
c5432630f3 Fix. Allow monitoring page conferences via Active Conferences app. 2015-08-10 11:43:32 +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
markjcrane
ade62be0f1 Change $name to ${name} 2015-08-09 12:14:47 -06:00
markjcrane
5c11a3f103 Change array from ['result']['field'] to ['field']. 2015-08-09 12:00:42 -06:00
markjcrane
078cef0a78 Add Other options to the list of destinations. 2015-08-09 11:20:08 -06:00
markjcrane
c0a0cb308b If there is no item in the group of destinations then don't the group name. 2015-08-07 19:50:06 -05: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
Alexey Melnichuk
b42aa40677 Fix. Use number-alias as caller_id_number variable. 2015-08-07 16:17:25 +04:00
Alexey Melnichuk
596cdb1184 Fix. Use number_alias in dial-string. 2015-08-07 15:18:52 +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
73e0e7a3a8 Fix. Use temp_dir variable instead of hard coded /tmp 2015-08-07 11:52:18 +04:00
markjcrane
2ceb8ce4c3 Add an empty select option and finish moving to $this->destinations array. 2015-08-06 15:30:43 -05:00
markjcrane
8cc1d98598 Move the destinations array generation into the constructor and add selected support. 2015-08-06 12:11:26 -05:00
markjcrane
e413e61a3b Use the same array consistently. 2015-08-06 00:25:38 -05:00