Commit Graph

12 Commits

Author SHA1 Message Date
Alexey Melnichuk
a439e7caa6 Add. log session uuid 2015-11-26 17:41:48 +03:00
Alexey Melnichuk
ed595a3708 Fix. Remove task in next.lua (Fix preview commit) 2015-11-26 17:30:56 +03:00
Alexey Melnichuk
b00229e5fc Fix. Remove task in next.lua 2015-11-26 17:25:15 +03:00
Alexey Melnichuk
ac44787e36 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
89c2f4ecb5 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
Alexey Melnichuk
3e9222d3ab Fix. cleanup old tasks. 2015-11-25 13:21:02 +03:00
Alexey Melnichuk
e51c890c41 Fix. Log output in retry.lua 2015-11-25 12:42:56 +03:00
Alexey Melnichuk
e4c51396c8 Add. option to work with broken affected_rows FS 1.4 2015-11-24 18:49:21 +03:00
Alexey Melnichuk
b3cc3a8887 Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
Alexey Melnichuk
1944c01820 Remove some log. 2015-11-18 16:41:13 +03:00
Alexey Melnichuk
21e3c62816 Rome some comments. 2015-11-18 16:32:00 +03:00
Alexey Melnichuk
e769a0eafe 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