summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-31 08:17:22 +0200
committerPeter Kozak <spag@golwen.net>2013-07-31 08:17:22 +0200
commit21dc1d9a7d5c7ab2de63b4b6de5bea1e01fba790 (patch)
tree0a46bba62de49163f15f5d0b0aab94ed0b8521e8 /misc/freeswitch/scripts
parentfb78889189ceac3f43d6f1f409395a8943d53efa (diff)
clir flag added
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r--misc/freeswitch/scripts/common/call_history.lua1
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')));