diff options
author | Peter Kozak <spag@golwen.net> | 2013-07-31 08:17:22 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-07-31 08:17:22 +0200 |
commit | 21dc1d9a7d5c7ab2de63b4b6de5bea1e01fba790 (patch) | |
tree | 0a46bba62de49163f15f5d0b0aab94ed0b8521e8 | |
parent | fb78889189ceac3f43d6f1f409395a8943d53efa (diff) |
clir flag added
-rw-r--r-- | misc/freeswitch/scripts/common/call_history.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/common/call_history.lua b/misc/freeswitch/scripts/common/call_history.lua index 7e1e22b..ee73e84 100644 --- a/misc/freeswitch/scripts/common/call_history.lua +++ b/misc/freeswitch/scripts/common/call_history.lua @@ -76,6 +76,7 @@ function CallHistory.insert_event(self, uuid, account_type, account_id, entry_ty call_history.callee_account_id = common.str.to_sql(event:getHeader('variable_gs_destination_id')); call_history.destination_number = common.str.to_sql(event:getHeader('variable_gs_destination_number')); call_history.forwarding_service = common.str.to_sql(event:getHeader('variable_gs_forwarding_service')); + call_history.clir = common.str.to_sql(common.str.to_b(event:getHeader('variable_gs_clir'))); if not common.str.to_b(event:getHeader('variable_gs_clir')) then call_history.caller_account_type = common.str.to_sql(camelize_type(event:getHeader('variable_gs_caller_account_type') or event:getHeader('variable_gs_account_type'))); |