-
-
- {{ __(callStatus) }}
-
-
{{ phoneNumber }}
-
+ {{ contact?.full_name ?? phoneNumber }}
+ ·
+
+ {{ counterUp?.updatedTime }}
+
+
+ {{ __(callStatus) }}
+
·
{{ counterUp?.updatedTime }}
-
- ·
- {{ __(callStatus) }}
-
- ·
- {{ counterUp?.updatedTime }}
-
-
+ {{ __(callStatus) }}
-
@@ -292,7 +324,7 @@ function updateStatus(data) {
data['Legs[1][Status]'] == 'in-progress'
) {
counterUp.value.start()
- return 'In Progress'
+ return 'In progress'
} else if (
data.EventType == 'terminal' &&
data.Direction == 'outbound-api' &&
@@ -300,14 +332,14 @@ function updateStatus(data) {
data['Legs[1][Status]'] == 'no-answer'
) {
counterUp.value.stop()
- return 'No Answer'
+ return 'No answer'
} else if (
data.EventType == 'terminal' &&
data.Direction == 'outbound-api' &&
data.Status == 'completed'
) {
counterUp.value.stop()
- return 'Call Ended'
+ return 'Call ended'
}
// incoming call
@@ -316,13 +348,13 @@ function updateStatus(data) {
data.Direction == 'incoming' &&
data.Status == 'busy'
) {
- return 'Incoming Call'
+ return 'Incoming call'
} else if (
data.EventType == 'Terminal' &&
data.Direction == 'incoming' &&
data.Status == 'free'
) {
- return 'Call Ended'
+ return 'Call ended'
}
}