余尚辉 3 månader sedan
förälder
incheckning
d30c8a675f

+ 3 - 3
dist/hs-cti.d.ts

@@ -4,11 +4,11 @@
 - Version 1.0.9 
 - JS Standard any
 - Author platformfe
-- Built on 2024/12/10 18:07:14
+- Built on 2024/12/14 14:32:24
 - GitHub 
 - Branch main
-- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
-- CommitMessage fix: 去掉log
+- CommitID aafd3d07aeaabaa0ad367764fe9b039205e63e6a
+- CommitMessage fix:bug
 */
 /**
  * Minimal `EventEmitter` interface that is molded against the Node.js

+ 3 - 3
dist/hs-cti.es5.esm.js

@@ -4,11 +4,11 @@
 - Version 1.0.9 
 - JS Standard es5
 - Author platformfe
-- Built on 2024/12/10 18:07:14
+- Built on 2024/12/14 14:32:24
 - GitHub 
 - Branch main
-- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
-- CommitMessage fix: 去掉log
+- CommitID aafd3d07aeaabaa0ad367764fe9b039205e63e6a
+- CommitMessage fix:bug
 */
 import { Web, RequestPendingError, SessionState, UserAgent, UserAgentState, Registerer, RegistererState, Inviter, Invitation, Session, Messager } from 'sip.js';
 import io from 'socket.io-client';

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 3 - 3
dist/hs-cti.es5.esm.prod.js


+ 3 - 3
dist/hs-cti.es5.umd.js

@@ -4,11 +4,11 @@
 - Version 1.0.9 
 - JS Standard es5
 - Author platformfe
-- Built on 2024/12/10 18:07:14
+- Built on 2024/12/14 14:32:24
 - GitHub 
 - Branch main
-- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
-- CommitMessage fix: 去掉log
+- CommitID aafd3d07aeaabaa0ad367764fe9b039205e63e6a
+- CommitMessage fix:bug
 */
 (function (global, factory) {
     typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('sip.js'), require('socket.io-client')) :

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 3 - 3
dist/hs-cti.es5.umd.prod.js


+ 3 - 3
dist/hs-cti.es6.esm.js

@@ -4,11 +4,11 @@
 - Version 1.0.9 
 - JS Standard es6
 - Author platformfe
-- Built on 2024/12/10 18:07:14
+- Built on 2024/12/14 14:32:24
 - GitHub 
 - Branch main
-- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
-- CommitMessage fix: 去掉log
+- CommitID aafd3d07aeaabaa0ad367764fe9b039205e63e6a
+- CommitMessage fix:bug
 */
 import { Web, UserAgent, UserAgentState, Registerer, RegistererState, Inviter, Invitation, Session, Messager, RequestPendingError, SessionState } from 'sip.js';
 import io from 'socket.io-client';

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 3 - 3
dist/hs-cti.es6.esm.prod.js


+ 3 - 3
dist/hs-cti.es6.umd.js

@@ -4,11 +4,11 @@
 - Version 1.0.9 
 - JS Standard es6
 - Author platformfe
-- Built on 2024/12/10 18:07:14
+- Built on 2024/12/14 14:32:24
 - GitHub 
 - Branch main
-- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
-- CommitMessage fix: 去掉log
+- CommitID aafd3d07aeaabaa0ad367764fe9b039205e63e6a
+- CommitMessage fix:bug
 */
 (function (global, factory) {
     typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('sip.js'), require('socket.io-client')) :

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 3 - 3
dist/hs-cti.es6.umd.prod.js


+ 3 - 3
src/hs-cti/HsCTI.ts

@@ -69,9 +69,9 @@ import { Invitation, SessionState, UserAgentState } from 'sip.js'
  * _byeAudio 结束通话提示音
  */
 const audioList = {
-  _ringAudio: 'http://static.fuxicarbon.com/hs-cti/ring.wav',
-  _waitAudio: 'http://static.fuxicarbon.com/hs-cti/manual.wav',
-  _byeAudio: 'http://static.fuxicarbon.com/hs-cti/bye.wav'
+  _ringAudio: 'https://static.fuxicarbon.com/hs-cti/ring.wav',
+  _waitAudio: 'https://static.fuxicarbon.com/hs-cti/manual.wav',
+  _byeAudio: 'https://static.fuxicarbon.com/hs-cti/bye.wav'
 }
 
 /** @class HsCTI 红杉外呼类 */

+ 2 - 2
src/sdk.html

@@ -32,7 +32,7 @@
 const { Scene, getInstance, LoggerLevels } = window.HS_CTI
 const HS_CTI = getInstance({
     // 真实的坐席 ID
-    agent_id:'1101',
+    agent_id:'1103',
     // 目前每个业务线写死一个值,用于业务线区分
     saas_id: 'mdj',
     // 目前每个业务线写死,用于后端鉴权,前端仅透传
@@ -41,7 +41,7 @@ const HS_CTI = getInstance({
     // SDK 日志等级
     loggerLevel: LoggerLevels.log,
     // 环境变量
-    env: 'production'
+    env: 'test'
 })
 HS_CTI.init()
 console.log(HS_CTI)

Vissa filer visades inte eftersom för många filer har ändrats