I am about to make some email to fax gateway --- some python program will make Asterisk call files and put them into some queue (files or db based).
Then another program should take "call tasks" from queue and "feed" them to asterisk (honoring some configured limit, because of res_fax_digium
will drop over-limited tasks).
Next, let's suppose, everything is great and asterisk successfully sent some fax document. What could be a way to get the status of this operation?
If logfiles parsing is the best, I would, probably, assign some special accountcode
(I can play with this field, probably) to drop CDRs into separate files, too.
Please, which other ways I should evaluate?