|
@@ -4,11 +4,11 @@
|
|
- Version 1.0.9
|
|
- Version 1.0.9
|
|
- JS Standard es5
|
|
- JS Standard es5
|
|
- Author platformfe
|
|
- Author platformfe
|
|
-- Built on 2024/12/9 09:57:48
|
|
|
|
|
|
+- Built on 2024/12/10 18:07:14
|
|
- GitHub
|
|
- GitHub
|
|
- Branch main
|
|
- Branch main
|
|
-- CommitID eefc7c80211667ca5ecc3de0de3bfe02ec94e8c0
|
|
|
|
-- CommitMessage fix: bug
|
|
|
|
|
|
+- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
|
|
|
|
+- CommitMessage fix: 去掉log
|
|
*/
|
|
*/
|
|
import { Web, RequestPendingError, SessionState, UserAgent, UserAgentState, Registerer, RegistererState, Inviter, Invitation, Session, Messager } from 'sip.js';
|
|
import { Web, RequestPendingError, SessionState, UserAgent, UserAgentState, Registerer, RegistererState, Inviter, Invitation, Session, Messager } from 'sip.js';
|
|
import io from 'socket.io-client';
|
|
import io from 'socket.io-client';
|
|
@@ -3582,12 +3582,13 @@ var hsTrackJPOST = function (_a) {
|
|
case 0:
|
|
case 0:
|
|
_a.trys.push([0, 2,, 3]);
|
|
_a.trys.push([0, 2,, 3]);
|
|
return [4 /*yield*/, JPOST({
|
|
return [4 /*yield*/, JPOST({
|
|
- baseUrl: baseUrl,
|
|
|
|
|
|
+ baseUrl: getBaseOption(BaseOption.ENV) == 'production' ? 'https://pbx.fuxicarbon.com/fs_api/' : baseUrl,
|
|
url: url,
|
|
url: url,
|
|
data: data
|
|
data: data
|
|
})];
|
|
})];
|
|
case 1:
|
|
case 1:
|
|
res = _a.sent();
|
|
res = _a.sent();
|
|
|
|
+ console.log(getBaseOption(BaseOption.ENV), 90000000);
|
|
code = res.code, msg = res.msg;
|
|
code = res.code, msg = res.msg;
|
|
console.log(msg);
|
|
console.log(msg);
|
|
if (code === 0) {
|
|
if (code === 0) {
|
|
@@ -4268,7 +4269,7 @@ var HsCTI = /** @class */function (_super) {
|
|
// 单次初始化唯一 ID
|
|
// 单次初始化唯一 ID
|
|
ctiSessionId: generateUniqueId(),
|
|
ctiSessionId: generateUniqueId(),
|
|
// IM websocket url
|
|
// IM websocket url
|
|
- imWsServer: 'ws://pbx.fuxicarbon.com:8091/ws/cs-im',
|
|
|
|
|
|
+ imWsServer: 'wss://pbx.fuxicarbon.com/ws/cs-im',
|
|
// IM websocket path
|
|
// IM websocket path
|
|
imWsPath: 'ws/cs-im'
|
|
imWsPath: 'ws/cs-im'
|
|
});
|
|
});
|