summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-30 10:17:40 +0200
committerPeter Kozak <spag@golwen.net>2013-07-30 10:17:40 +0200
commit520b906c49c2284df659d61837b95d08017f1595 (patch)
tree80455a114bbc5cc8fc2f4f4a0f930e5de4bb294f
parentf1065cf1e97a72fa7975b6deac886f547a8cfe62 (diff)
save forwarding_path to cdr
-rw-r--r--misc/freeswitch/scripts/event/cdr_save.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/event/cdr_save.lua b/misc/freeswitch/scripts/event/cdr_save.lua
index e7ac64a..03eccf7 100644
--- a/misc/freeswitch/scripts/event/cdr_save.lua
+++ b/misc/freeswitch/scripts/event/cdr_save.lua
@@ -81,6 +81,7 @@ function CdrSave.channel_destroy(self, event)
cdr.forwarding_service = common.str.to_sql(event:getHeader('variable_gs_forwarding_service'));
cdr.forwarding_account_id = common.str.to_sql(event:getHeader('variable_gs_auth_account_id'));
cdr.forwarding_account_type = common.str.to_sql(camelize_type(event:getHeader('variable_gs_auth_account_type')));
+ cdr.forwarding_path = common.str.to_sql(event:getHeader('variable_gs_forwarding_path'));
cdr.account_id = common.str.to_sql(event:getHeader('variable_gs_account_id'));
cdr.account_type = common.str.to_sql(camelize_type(event:getHeader('variable_gs_account_type')));
cdr.bleg_account_id = common.str.to_sql(event:getHeader('variable_gs_destination_id'));