forked from Mirrors/freeswitch
FS-8224 Allow CallerID to be set from login settings in VC
If CallerID is not set as is the default case with using VC on cantina default to using the users email address.
This commit is contained in:
parent
015e81c94f
commit
73acb558cc
@ -28,6 +28,11 @@
|
||||
<input type="password" class="form-control" id="login-password" placeholder="Password" ng-model="verto.data.password">
|
||||
</div>
|
||||
|
||||
<div class="form-group" ng-hide="!advanced">
|
||||
<label class="control-label" for="login-callerid">Caller ID</label>
|
||||
<input type="text" class="form-control" id="login-callerid" placeholder="Caller ID" ng-model="verto.data.callerid">
|
||||
</div>
|
||||
|
||||
<div class="form-group" ng-hide="!advanced">
|
||||
<label class="control-label" for="login-hostname">Hostname</label>
|
||||
<input type="text" class="form-control" id="login-hostname" placeholder="Hostname" ng-model="verto.data.hostname">
|
||||
|
@ -23,6 +23,10 @@
|
||||
<input type="password" class="form-control" id="password" placeholder="Password" ng-model="verto.data.password">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="callerid">Caller ID</label>
|
||||
<input type="password" class="form-control" id="callerid" placeholder="Caller ID" ng-model="verto.data.callerid">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
@ -631,7 +631,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
||||
var call = data.instance.newCall({
|
||||
destination_number: destination,
|
||||
caller_id_name: data.name,
|
||||
caller_id_number: data.login,
|
||||
caller_id_number: data.callerid ? data.callerid : data.email,
|
||||
outgoingBandwidth: storage.data.outgoingBandwidth,
|
||||
incomingBandwidth: storage.data.incomingBandwidth,
|
||||
useVideo: storage.data.useVideo,
|
||||
|
Loading…
Reference in New Issue
Block a user