diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-12 08:09:41 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-12 08:09:41 -0400 |
commit | 6d769f037d00f0ab52e5b50f31f3319e5a9fb00b (patch) | |
tree | 4cf3602ee599e76ded85249ce81e247e856735be /misc/freeswitch/scripts/dialplan/fax.lua | |
parent | 3a3f725111d1740b974596ba52ec02c87424fefc (diff) |
use fax_account_id
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/fax.lua')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/fax.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/freeswitch/scripts/dialplan/fax.lua b/misc/freeswitch/scripts/dialplan/fax.lua index 6dce0a9..dc52d16 100644 --- a/misc/freeswitch/scripts/dialplan/fax.lua +++ b/misc/freeswitch/scripts/dialplan/fax.lua @@ -231,8 +231,8 @@ function Fax.insert_document(self, record) return self.database:query(sql_query); end -function Fax.trigger_notification(self, fax_document_id, uuid) - local command = 'http_request.lua ' .. uuid .. ' http://127.0.0.1/trigger/fax?fax_account_id=' .. tostring(fax_document_id); +function Fax.trigger_notification(self, fax_account_id, uuid) + local command = 'http_request.lua ' .. uuid .. ' http://127.0.0.1/trigger/fax?fax_account_id=' .. tostring(fax_account_id); require 'common.fapi' return common.fapi.FApi:new():execute('luarun', command); |