diff options
author | spag <spag@golwen.net> | 2013-01-24 16:08:14 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-24 16:08:14 +0100 |
commit | 108bab40025a41a03f42bdb6db12ca843a329d4a (patch) | |
tree | 934a8e546eb139ea91fa79ef2fdef4db83d4e53a /misc/freeswitch/scripts | |
parent | 1e0d9c3344b1726b2b95e67b59a7cde820374617 (diff) |
trigger_notification on fax receive
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/dialplan.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/dialplan.lua b/misc/freeswitch/scripts/dialplan/dialplan.lua index b92dc70..49d698b 100644 --- a/misc/freeswitch/scripts/dialplan/dialplan.lua +++ b/misc/freeswitch/scripts/dialplan/dialplan.lua @@ -565,6 +565,7 @@ function Dialplan.faxaccount(self, destination) if not fax_account:insert_document(fax_document) then self.log:error('FAX_RECEIVE - error inserting fax document to database - fax_account=', fax_account.id, '/', fax_account.uuid, ', file: ', fax_document.filename); end + fax_account:trigger_notification(fax_account.id, self.caller.uuid); end return { continue = false, code = 200, phrase = 'OK' } |