Commit Graph

664 Commits

Author SHA1 Message Date
markjcrane
ff8b838b5e 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
3bb00589dd Fix. send_mail without file. 2015-12-04 16:18:53 +03:00
markjcrane
3c9bac53ed Seperate Cisco 7940/7960 from Cisco SPA so that both can work with check-sync for reboot and reprovision. 2015-12-01 21:12:52 -07:00
markjcrane
b2d4749559 Add check-sync support for Linksys SPA. 2015-12-01 20:48:47 -07:00
FusionPBX
af49c46a6c Merge pull request #1273 from moteus/fax_queue
Add. `Tasks.send_mail_task` function to send task reply.
2015-12-01 11:01:32 -07:00
Alexey Melnichuk
019597362f Remove unused code. 2015-12-01 16:24:53 +03:00
Alexey Melnichuk
119758ed77 Add. Tasks.send_mail_task function to send task reply. 2015-12-01 15:46:52 +03:00
Alexey Melnichuk
62e88176c6 Fix. Remove global variable. 2015-12-01 14:35:17 +03:00
FusionPBX
a074c65bed Merge pull request #1267 from moteus/fax_queue
Add. Send reply message after fax task done.
2015-11-30 11:05:19 -07:00
Alexey Melnichuk
aec2777f62 Fix. Send mail when fail create outbound channel. 2015-11-30 12:08:26 +03:00
Alexey Melnichuk
c9be5948c0 Add. Send reply message after fax task done. 2015-11-30 11:57:09 +03:00
Alexey Melnichuk
3a5fc397ba Add. Text class to manage translate texts. 2015-11-30 10:22:55 +03:00
Alexey Melnichuk
46aa5f8049 Change. Move fax_queue to app/fax. 2015-11-28 11:40:54 +03:00
markjcrane
e0ff445922 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
Alexey Melnichuk
10aa126495 Fix. json encode x-headers 2015-11-27 16:29:52 +03:00
Alexey Melnichuk
84f3fde716 Add. send_mail wrapper function to freeswitch.email and v_mailto.php.
Fix. Send voicemail when set unknown language/dialect.
2015-11-27 15:47:14 +03:00
Alexey Melnichuk
990dd7b9ed Add. log session uuid 2015-11-26 17:41:48 +03:00
Alexey Melnichuk
5bc286d5e2 Fix. Remove task in next.lua (Fix preview commit) 2015-11-26 17:30:56 +03:00
Alexey Melnichuk
a485be3883 Fix. Remove task in next.lua 2015-11-26 17:25:15 +03:00
Alexey Melnichuk
486004de02 Fix. problem when same session can release task multiple times.
It can be when originate has group dial-string. So it call `api_hangup_hook`
for each channel.
Now we release task in `retry.lua` only if originate success and this is same channel
which execute `exec.lua`.
If originate fail we release task `next.lua`
2015-11-26 17:23:33 +03:00
markjcrane
331778e36c Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid. 2015-11-25 08:51:54 -07:00
FusionPBX
8bcf55b5fc Merge pull request #1251 from moteus/fax_queue
Fax queue
2015-11-25 07:37:28 -08:00
Alexey Melnichuk
4814d20dce Fix. cleanup old tasks. 2015-11-25 13:21:02 +03:00
Alexey Melnichuk
b806a92cd1 Fix. Log output in retry.lua 2015-11-25 12:42:56 +03:00
Alexey Melnichuk
3f6b772420 Add. option to work with broken affected_rows FS 1.4 2015-11-24 18:49:21 +03:00
Alexey Melnichuk
f34a2f330a Fix. Add split function (required by lazy_settings). 2015-11-24 14:26:21 +03:00
markjcrane
7749088fd8 Clear the dial_string variable so that it to prevent duplicate destinations. 2015-11-22 19:07:56 -07:00
Alexey Melnichuk
5e0947813c Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
Alexey Melnichuk
6f46b72dc8 Add. Basic fax_queue_monitor script.
To start
 From cli: `luarun fax_queue_monitor.lua`
 Autostart with FS: Add `<param name="startup-script" value="fax_queue_monitor.lua"/>` to `lua.conf.xml`
 From shell: call from `script_dir` `lua fax_queue_monitor.lua` (require installed Lua and some additional libraries).

To stop
  remove `fax_queue.tmp` file from `script_dir/run`
2015-11-19 13:19:59 +03:00
Alexey Melnichuk
2b0aa44673 Remove some log. 2015-11-18 16:41:13 +03:00
Alexey Melnichuk
86b479e520 Rome some comments. 2015-11-18 16:32:00 +03:00
Alexey Melnichuk
871b632d49 Add. Lua part of fax_queue.
To poll active task you can run `luarun fax_queue_poll_once.lua`
2015-11-18 16:27:55 +03:00
markjcrane
44ec8d5942 Add voicemail record-silence-threshold variable and change the default threshold from 30 to 300. 2015-11-16 16:59:11 -07:00
Alexey Melnichuk
3de12d6d1d Fix. Call intercept - a scenario where an outgoing call can be intercepted
This is same changes as in #1209.
2015-11-12 14:11:05 +03:00
FusionPBX
cd6a52b1af Merge pull request #1229 from moteus/ivr_menu_exec_without_args
Fix. IVR menu option without arguments.
2015-11-10 18:12:03 -07:00
markjcrane
7bb50d03a0 New database class was implemented in call_forward.lua when using first_value must change select * from with the specific value desired. 2015-11-10 17:26:39 -07:00
markjcrane
71ea6a8328 Change the Database:query to make the fn optional which will make it more backwards compatible with current code. This fixes an issue with recent movement to the database class in call_forward.lua. 2015-11-10 17:04:42 -07:00
markjcrane
6cc9040787 Change enquote to quote. 2015-11-10 13:37:25 -07:00
Alexey Melnichuk
b285e636cc Fix. Intercept can find wrong channel. 2015-11-10 22:41:34 +03:00
FusionPBX
573078e5bb Merge pull request #1174 from moteus/intercept_load_balance
Add. Support intercept FIFO/CallCenter/Enterprise in load balancing mode
2015-11-10 11:55:18 -07:00
Alexey Melnichuk
78acf51737 Fix. function name 2015-11-10 20:49:46 +03:00
Alexey Melnichuk
9f88d17e70 Fix. always escape quote. 2015-11-10 19:33:01 +03:00
Alexey Melnichuk
455a1a088f Fix. hungup_rx.lua works on Windows
1. Command should use only double quotes.
2. Application should not be quoted (I am not sure may be it is bug in FS `system` command).

So I use double quote on Windows and single quote on other system.
Also I quote strings only if they contain spaces.
To escape quote in string i just double it.
`you got "some text"` become to `you got ""some text"""`
2015-11-10 19:29:06 +03:00
Alexey Melnichuk
5052d1dce2 Fix. IVR menu option without arguments. 2015-11-10 17:56:40 +03:00
Alexey Melnichuk
6711b7aa8b Merge branch 'master' into intercept_load_balance
# Conflicts:
#	resources/install/scripts/intercept_group.lua
2015-11-10 12:30:45 +03:00
markjcrane
53702b1973 Fix a problem where the ring group is only calling one external number when there are multiple to call. 2015-11-09 18:42:29 -07:00
Alexey Melnichuk
0e5b10d265 Update. call_forward.lua script
Fix. Set outbound caller id
Remove. Nested if
Use. cache class
Use. database class
2015-11-09 16:55:35 +03:00
Alexey Melnichuk
ddaae7eec5 Update follow_me.lua
1. Use `cache` class so now it generates memcache events.
2. Do not use nested if (simplify code)
3. Use local variables.
4. Remove redundant checks.
2015-11-05 18:02:08 +03:00
markjcrane
e7530d8bec Add the functions to the path for channel_utils. 2015-11-03 16:44:51 -07:00
markjcrane
758d6b9f53 Add functions to the config require 'resources.functions.config' 2015-11-03 16:41:59 -07:00