From 919ed4684fceec05746ee09dbb9f9e8834c4c785 Mon Sep 17 00:00:00 2001 From: Maxime Roux Date: Thu, 5 Mar 2015 12:18:20 -0800 Subject: [PATCH] UI-1187: fixed the call log arrows so that it now properly reflects whether the call is off-net (inbound) or on-net(outbound) --- submodules/callLogs/callLogs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/callLogs/callLogs.js b/submodules/callLogs/callLogs.js index 4901d22..97330a1 100644 --- a/submodules/callLogs/callLogs.js +++ b/submodules/callLogs/callLogs.js @@ -299,7 +299,7 @@ define(function(require){ toNumber: cdr.callee_id_number || ("request" in cdr) ? cdr.request.replace(/@.*/, '') : cdr.to.replace(/@.*/, ''), duration: durationMin + ":" + durationSec, hangupCause: cdr.hangup_cause, - isOutboundCall: ("authorizing_id" in cdr), + isOutboundCall: ("authorizing_id" in cdr && cdr.authorizing_id.length > 0), mailtoLink: "mailto:support@2600hz.com" + "?subject=Call Report: " + cdr.call_id + "&body=Please describe the details of the issue:%0D%0A%0D%0A"