]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9471 [verto_communicator] Updating In Call display after receiving display update...
authorItalo Rossi <italorossib@gmail.com>
Wed, 31 Aug 2016 20:52:33 +0000 (17:52 -0300)
committerItalo Rossi <italorossib@gmail.com>
Wed, 31 Aug 2016 20:52:33 +0000 (17:52 -0300)
html5/verto/verto_communicator/src/partials/menu.html
html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index 725fb6e6285afca1b2d9846097cc9aa27272500f..8dee97b35dd497248ce8a282cd210c127eff3938 100644 (file)
@@ -38,7 +38,7 @@
         </li>
         <li>
           <a href="" class="incall-number" ng-show="storage.data.called_number">
-              {{ storage.data.called_number && storage.data.userStatus != 'connected' ?  'LAST_CALL' : 'IN_CALL' | translate  }} {{ storage.data.called_number  }}
+              {{ storage.data.called_number && storage.data.userStatus != 'connected' ?  'LAST_CALL' : 'IN_CALL' | translate  }} {{ verto.data.call ? "(" + verto.data.call.params.remote_caller_id_name + ") - " + verto.data.call.params.remote_caller_id_number : storage.data.called_number  }}
           </a>
         </li>
         <li class="navbar-item-icon" ng-show="verto.data.connected">
index 12583b45714581ddc08bd23f5b079bcf5eb3b073..1c528089380e25fe3177526bdc85406df80b8cde 100644 (file)
@@ -583,6 +583,9 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
                   body: body
                 });
                 break;
+              case $.verto.enum.message.display:
+                    $rootScope.$apply(function() {});
+                    break;
               default:
                 console.warn('Got a not implemented message:', msg, dialog, params);
                 break;