1 <h3>{{ _(
"Call Log") }}
</h3>
3 <table class=
"table table-sm table-hover table-striped">
6 <th>{{ _(
"Date") }}
</th>
7 <th>{{ _(
"Conversational Partner") }}
</th>
8 <th>{{ _(
"Duration") }}
</th>
12 {% for entry in calls %}
13 {% if entry.sip_code ==
"200" %}
15 {% elif entry.caller == viewer.sip_id %}
20 <td>{{ locale.format_date(entry.time, full_format=True, relative=False) }}
</td>
22 {% if entry.called == viewer.sip_id %}
23 <span class=
"glyphicon glyphicon-arrow-left text-success" title=
"{{ _("incoming
") }}"></span>
24 {% if entry.caller_account %}
25 <a href=
"/phonebook/{{ entry.caller_account.uid }}">{{ entry.caller_account.name }}
</a>
26 <span class=
"text-muted">({{ entry.caller }})
</span>
30 {% elif entry.caller == viewer.sip_id %}
31 <span class=
"glyphicon glyphicon-arrow-right text-info" title=
"{{ _("outgoing
") }}"></span>
32 {% if entry.called_account %}
33 <a href=
"/phonebook/{{ entry.called_account.uid }}">{{ entry.called_account.name }}
</a>
34 <span class=
"text-muted">({{ entry.called }})
</span>
41 {% if entry.sip_code ==
"200" %}
44 {% if entry.reason ==
"Busy Here" %}
46 {% elif entry.reason in (
"Cancelled",
"Request Cancelled",
"Request Timeout") %}
47 {% if entry.caller == viewer.sip_id %}
50 {{ _(
"missed call") }}
53 {{ entry.sip_code }} {{ entry.reason }}