Commit 5ca186e5 authored by Muhammadali's avatar Muhammadali

update-

parent 0d267f0a
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.7.5", "version": "3.7.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -159,7 +159,8 @@ export class BoxDialer { ...@@ -159,7 +159,8 @@ export class BoxDialer {
} }
showNotification(cbk) { showNotification(cbk) {
const greeting = new Notification('Alovoice call', { let callerId = this.callSession._remote_identity._uri.user;
const greeting = new Notification(`Звонок от ${callerId}`, {
body: 'Answer Call', body: 'Answer Call',
icon: tugpng, icon: tugpng,
}); });
...@@ -390,9 +391,9 @@ export class BoxDialer { ...@@ -390,9 +391,9 @@ export class BoxDialer {
'%c incoming faile ', '%c incoming faile ',
'font-size: 22px; color: yellow;', 'font-size: 22px; color: yellow;',
); );
this.onSoundType({ type: 'ring', bool: false });
this.closeBxCall(); this.closeBxCall();
this.hangupButtonClick(); this.hangupButtonClick();
this.onSoundType({ type: 'ring', bool: false });
this.setGuiPhoneState({ this.setGuiPhoneState({
funcName: 'modalState', funcName: 'modalState',
funcParam: { funcParam: {
......
...@@ -78,7 +78,7 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -78,7 +78,7 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
setWsphonedata(result); setWsphonedata(result);
}; };
console.log('phoneModal: ', phoneModal) console.log('phoneModal: ', phoneModal);
const selectWidjetType = (type) => { const selectWidjetType = (type) => {
switch (type) { switch (type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment