|
@@ -4,11 +4,11 @@
|
|
|
- Version 1.0.9
|
|
|
- JS Standard es6
|
|
|
- Author platformfe
|
|
|
-- Built on 2024/12/9 09:57:48
|
|
|
+- Built on 2024/12/10 18:07:14
|
|
|
- GitHub
|
|
|
- Branch main
|
|
|
-- CommitID eefc7c80211667ca5ecc3de0de3bfe02ec94e8c0
|
|
|
-- CommitMessage fix: bug
|
|
|
+- CommitID c0ee87b0ee2fe0dc94c0b34e0888b2b786f25057
|
|
|
+- CommitMessage fix: 去掉log
|
|
|
*/
|
|
|
import { Web, UserAgent, UserAgentState, Registerer, RegistererState, Inviter, Invitation, Session, Messager, RequestPendingError, SessionState } from 'sip.js';
|
|
|
import io from 'socket.io-client';
|
|
@@ -2958,10 +2958,11 @@ const hsTrackJPOST = ({
|
|
|
return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
try {
|
|
|
const res = yield JPOST({
|
|
|
- baseUrl,
|
|
|
+ baseUrl: getBaseOption(BaseOption.ENV) == 'production' ? 'https://pbx.fuxicarbon.com/fs_api/' : baseUrl,
|
|
|
url,
|
|
|
data
|
|
|
});
|
|
|
+ console.log(getBaseOption(BaseOption.ENV), 90000000);
|
|
|
const {
|
|
|
code,
|
|
|
msg
|
|
@@ -3556,7 +3557,7 @@ class HsCTI extends EventEmitter {
|
|
|
|
|
|
ctiSessionId: generateUniqueId(),
|
|
|
|
|
|
- imWsServer: 'ws://pbx.fuxicarbon.com:8091/ws/cs-im',
|
|
|
+ imWsServer: 'wss://pbx.fuxicarbon.com/ws/cs-im',
|
|
|
|
|
|
imWsPath: 'ws/cs-im'
|
|
|
});
|