Cài PBX mới: Fusion PBX

https://www.fusionpbx.com/download

Dựng máy ảo, chạy Debian 12

add account vào sudoers: lưu ý khi gõ password phải gõ chậm, gõ nhanh máy ko nhận đúng ký tự, test trước bằng cách gõ ở phần username:

- Dùng Terminal

- Gõ lệnh su -

- Gõ password login

- Gõ lệnh usermod -aG sudo <username>

Disable CD-ROM as a Software Source: sudo nano /etc/apt/sources.list => thêm # vào đầu dòng

Thêm source:

deb http://deb.debian.org/debian/ bookworm main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free

Lưu file và thoát

Cài git: 

sudo apt update
sudo apt install -y git

Get package:

sudo su

wget -O - https://raw.githubusercontent.com/fusionpbx/fusionpbx-install.sh/master/debian/pre-install.sh | sh;

cd /usr/src/fusionpbx-install.sh/debian && ./install.sh
Chờ finish -> truy cập web theo hướng dẫn 

Xem thời gian hiện tại: strftime
Đồng bộ thời gian: fsctl sync_clock_when_idle
Chỉnh múi giờ: Advanced > Default settings > Domain
Allow truy cập: Advanced > Access Controls > thêm IP đài khác vào trong "providers"
Debug: Status > Log Viewer
Tạo call-center với số 1000, sau đó đổi sang số khác => phải sửa XML trong Inbound routes, reload để nhận lại agent
Dialplan > Dialplan Manager : mục này giống với Feature codes của Asterisk
Cài VMware tools: https://knowledge.broadcom.com/external/article/316557/installing-vmware-tools-in-a-linux-virtu.html
Gọi từ Asterisk (8XXX) sang Fusion callcenter (1000):
1.Tạo Destination Inbound: Destination 1000, Action 1000-callcenter > Save
2.Tạo Inbound Route trỏ tới Destination 1000, Action trỏ tới callcenter
Gọi từ Asterisk (8XXX) sang Fusion các số khác (1XXX):
1.Tạo Destination Inbound: Destination 1000, Action 1000-callcenter > Save
2.Tạo Inbound Route trỏ tới Destination 1000, Action trỏ tới callcenter
3. Quay lại Sửa Destination > thành Destination ^1\d{3}$
4. Quay lại sửa Inbound Route (lúc này đã có condition|destination_number|^(1\d{3})$) : mục action|transfer|$1 XML default
Từ Fusion sang Asterisk:
Check Outbound route trên Fusion, Inbound route trên Asterisk 


No comments:

Post a Comment

MS 365 chạm giới hạn số lượng xóa user cùng lúc

Để tránh xóa nhầm, trên hệ thống AAD Connect sẽ có giới hạn số lượng user xóa trong cùng 1 lượt:  https://learn.microsoft.com/en-us/entra/id...