Cuộc gọi giữa 2 số nội bộ không thể ngắt

Tổng đài: Elastix, core Asterisk

- 2 số gọi cho nhau xong không thể ngắt cuộc gọi

- từng máy vẫn có thể gọi đi nhưng không thể gọi đến (báo busy) 

- reboot cả 2 máy vẫn không hết

- operator panel vẫn ghi nhận cuộc gọi đang thực hiện

Xử lý:

asterisk -rx "core show channels"  >> view cuộc gọi đang treo, lấy channel name điền xuống dòng dưới:
asterisk -rx "channel request hangup SIP/8233-001f17d4"

Link rtsp cho các camera Honeywell, Vivotek, Wisenet

Honeywell:

rtsp://user:password@IP:554/cam/realmonitor?channel=1&subtype=0 

Có thể chỉnh luồng subtype=1 

Vivotek fw 0100g

rtsp://user:password@IP:554/live.sdp

Có thể chỉnh luồng live2, live3

Vivotek fw 2.2002

rtsp://user:password@IP:554//media2/stream.sdp?profile=Profile200

Có thể chỉnh luồng Profile201, Profile202

Vivotek fw 0223b

rtsp://user:password@IP:554/live1s1.sdp 

Wisenet

rtsp://admin:xxxxx@10.8.14.180/profile3/media.smp

Hikvision:

rtsp://admin:xxxxx@10.8.55.205:554/Streaming/Channels/101

Có thể chỉnh luồng 101/102

Self host Xibo Digital Signage trên linux Debian 12.5

https://xibosignage.com/docs/setup/xibo-for-docker

 

Download image ISO Debian 12.5

Cài đặt

Add user vào group sudo

Disable CD-ROM as a Software Source: thêm # vào đầu dòng

sudo nano /etc/apt/sources.list => thêm # vào đầu dòng 

 

Cài docker:

Update Package Index:

 sudo apt update

Install Required Dependencies:
sudo apt install apt-transport-https ca-certificates curl gnupg lsb-release

Add Docker's Official GPG Key:
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Set up the stable repository for Docker:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Install Docker Engine:
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io

Verify Docker Installation:
sudo docker --version

Start Docker Service:
sudo systemctl start docker

Cài docker compose:

COMPOSE_VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
sudo curl -L "https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
 

sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version

Download Xibo for Docker về, upload lên /opt/xibo, giải nén

copy config.env.template ra file config.env => sửa config theo ý muốn

copy cms_custom-ports.yml.template ra file cms_custom-ports.yml sửa các port theo ý muốn

Cài đặt Xibo: di chuyển vào thư mục giải nén và chạy:

docker-compose up -d

Tài khoản mặc định:
Username: xibo_admin
Password: password

Sửa font chữ bị nhòe, nét không đều, răng cưa trên các app như zalo, trình duyệt

Mở Settings > tìm Adjust ClearType Text > tick vào Turn on ClearType > tune all monitors > chọn các mẫu chữ mình thấy thoải mái nhất > done

Chỉnh monitor 1-2


 Rút hết màn hình, chỉ để lại 1 màn hình chính dự định làm màn hình chính.

Sửa regedit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers

xóa hoặc đổi tên khóa Configuration và Connectivity

Shutdown máy - không restart - rút nguồn xả điện luôn cho chắc ăn.

Chọn xóa các file theo dung lượng trong thư mục, link logo Tâm Anh

@echo off
setlocal
:: Size is in bytes
set "max.size=100000000"

for /f  "usebackq delims=;" %%A in (`dir /b /A:-D *.*`) do If %%~zA GTR %max.size% del "%%A"

Cr@ck lại Autocad 2020 bị phát hiện license không hợp lệ

Thêm vào file host:

127.0.0.1 genuine-software2.autodesk.com

Ngắt mạng

Mở Autocad > vào mục About Autocad > Manage License > Update serial number > điền lại 66669696969 > mở crack lên chạy patch, active như lần đầu mới cài

Script thay đổi vlan

 @echo off
echo Choose:
echo [A] Set IP 10.8.14.240
echo [B] Set DHCP
echo [C] Set IP 192.168.1.240
echo [D] Set IP 192.168.0.240
echo [E] Set IP 10.8.91.240
echo [F] Set IP 10.8.90.240
echo [G] Set IP 10.8.51.240
echo [H] Set IP 10.8.191.240
echo [K] Set IP 10.8.57.240
echo.

Xóa file cũ trong thư mục chỉ định (Zalo) của Windows

Thay đổi username, chạy với CMD administrator để xóa các file cũ hơn 60 ngày:

 ForFiles /p "C:\Users\*****\AppData\Local\ZaloPC" /s /d -60 /c "cmd /c del /q @file"

Thử code mới >> ForFiles /p "%USERPROFILE%\AppData\Local\ZaloPC" /s /d -60 /c "cmd /c del /q @file"

Sử dụng cmd xóa file cũ hơn 30 ngày:

 forfiles /p "C:\Users\Administrator\Documents\NovaStudio2012\Recv" /s /m *.* /d -30 /c "cmd /c del @path /q"

Gaganode Install

Ref link: https://dashboard.gaganode.com/register?referral_code=nsocozugmitdrfy

wget -Uri "https://assets.coreservice.io/public/package/20/app/1.0.3/app-1_0_3.tar.gz" -OutFile "app-windows-amd64.tar.gz" ; tar -zxf app-windows-amd64.tar.gz ; rm -Force app-windows-amd64.tar.gz ; cd ./app-windows-amd64 ; ./app.exe service install

 ./app.exe service start

 ./app.exe status

 ./apps/gaganode/gaganode.exe config set --token=gupmwvrktckokirudhrfdpcj

 ./app.exe restart

FortiClient VPN Only

 https://links.fortinet.com/forticlient/win/vpnagent