Commit Graph

6 Commits

Author SHA1 Message Date
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 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 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