2 <md-toolbar class="md-table-toolbar md-default">
3 <div class="md-toolbar-tools">
4 <span class="md-subhead" translate="MOTIONDIALER.QUEUE_CALLS"
8 <ms-search-bar on-search="vm.query.filter = query;" on-collapse="vm.query.filter = undefined;" debounce="300"></ms-search-bar> -->
17 <th md-column width="30px"></th>
18 <th md-column>{{ 'MOTIONDIALER.DID' | translate }}</th>
19 <th md-column>{{ 'MOTIONDIALER.QUEUE' | translate }}</th>
20 <th md-column>{{ 'MOTIONDIALER.CALLER' | translate }}</th>
21 <th md-column>{{ 'MOTIONDIALER.AGENT' | translate }}</th>
22 <th md-column>{{ 'MOTIONDIALER.DURATION' | translate }}</th>
23 <th md-column width="10px"></th>
27 <tr md-row ng-hide="vm.getSize(vm.rpcVoiceQueuesChannels)">
28 <td md-cell colspan="6">
29 <div layout="row" layout-align="center center">
30 <span translate="MOTIONDIALER.NO_AVAILABLE_INFO"
31 >No Available Info</span
38 ng-repeat="(key, channel) in vm.rpcVoiceQueuesChannels | limitObjectFromTo: vm.queryChannels.limit:(vm.queryChannels.page - 1) * vm.queryChannels.limit"
42 ng-if="channel.queuecallerleaveAt"
43 md-font-icon="icon-phone-in-talk green-fg"
46 ng-if="!channel.queuecallerleaveAt"
47 md-font-icon="icon-phone-incoming md-accent"
50 <td md-cell>{{channel.exten}}</td>
51 <td md-cell>{{channel.queue}}</td>
52 <td md-cell>{{channel.calleridnum}}</td>
54 <span ng-if="channel.queuecallerleaveAt">
55 {{channel.connectedlinename}}, {{channel.connectedlinenum}}
56 <span class="text-boxed">
57 <timer start-time="channel.queuecallerleaveAt" interval="1000"
58 >{{hhours}}:{{mminutes}}:{{sseconds}}</timer
62 <span ng-if="!channel.queuecallerleaveAt" class="text-boxed">
63 {{ 'MOTIONDIALER.WAITING_FOR_AGENT' | translate }}
64 <timer start-time="channel.queuecallerjoinAt" interval="1000"
65 >{{hhours}}:{{mminutes}}:{{sseconds}}</timer
70 <span class="text-boxed">
71 <timer start-time="channel.queuecallerjoinAt" interval="1000"
72 >{{hhours}}:{{mminutes}}:{{sseconds}}</timer
76 <td md-cell class="actions" ng-if="vm.crudPermissions.canEdit">
79 class="md-icon-button"
82 translate-attr-aria-label="STAFF.MORE"
83 ng-click="$mdMenu.open($event)"
85 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
88 <md-menu-content width="2">
91 ng-click="vm.hangup(channel.uniqueid)"
92 translate="MOTIONDIALER.HANGUP"
99 ng-click="vm.redirectToNumber($event, channel.uniqueid)"
100 translate="MOTIONDIALER.REDIRECT_TO_NUMBER"
108 ng-click="$mdMenu.open()"
109 translate="MOTIONDIALER.REDIRECT_TO_AGENT"
110 >Redirect to Agent</md-button
113 <md-menu-item ng-repeat="agent in vm.agents.rows">
115 ng-click="vm.redirectToAgent(channel.uniqueid, agent.name, agent.context)"
116 >{{agent.name}}</md-button
128 </md-table-container>
131 md-label="{page: '{{'MOTIONDIALER.PAGE' | translate}}:', rowsPerPage: '{{'MOTIONDIALER.ROWSPERPAGE' | translate}}:', of: '{{'MOTIONDIALER.OF' | translate}}'}"
132 md-limit="vm.queryChannels.limit"
133 md-page="vm.queryChannels.page"
134 md-limit-options="[10, 15, 20, 50, 100, 250]"
135 md-total="{{vm.getSize(vm.rpcVoiceQueuesChannels)}}"
137 ></md-table-pagination>
138 <!-- / QUEUES TABLE -->