VoIP Phone System
🇹🇭 ภาษาไทย
VoIP (Voice over IP) คือระบบโทรศัพท์ที่ส่งเสียงผ่านเครือข่าย IP แทนสายโทรศัพท์แบบเดิม โดยใช้ SIP (Session Initiation Protocol) เป็น protocol หลักในการ setup/tear down calls
Component หลักในออฟฟิค
[PSTN/Trunk] ←→ [PBX] ←→ [Switch/LAN] ←→ [IP Phone]
↕
[Softphone/App]
| Component | หน้าที่ |
|---|---|
| PBX (Private Branch Exchange) | ศูนย์กลางระบบโทรศัพท์ออฟฟิค จัดการ extension, trunk, call routing |
| SIP Trunk | เชื่อมต่อ PBX กับผู้ให้บริการ PSTN หรือ VoIP provider เพื่อโทรออกนอก |
| IP Phone | โทรศัพท์ตั้งโต๊ะที่ใช้ SIP เช่น Yealink T31G |
| Softphone | แอป VoIP บนคอมพิวเตอร์หรือมือถือ |
| PoE Switch | จ่ายไฟให้ IP Phone ผ่านสาย LAN |
SIP Protocol พื้นฐาน
SIP Account ที่ต้องรู้:
| Field | ความหมาย |
|---|---|
| Extension | เบอร์ภายในออฟฟิค เช่น 101, 102 |
| SIP Server | IP หรือ hostname ของ PBX |
| SIP Port | 5060 (UDP/TCP) หรือ 5061 (TLS) |
| Register | โทรศัพท์ “เช็คอิน” กับ PBX เพื่อรับสายได้ |
| DTMF | กด 0-9 ส่งผ่าน In-band, RFC 2833, หรือ SIP INFO |
Call Flow ของสายโทรเข้า:
สายเข้าจาก PSTN
→ SIP Trunk ใน PBX
→ Inbound Route (ดู DID / Time condition)
→ IVR / Ring Group / Extension
→ IP Phone รับสาย
Yeastar PBX (Yealink PBX Series)
Yeastar คือแบรนด์ PBX ของกลุ่ม Yealink — ออกแบบมาให้ทำงานร่วมกับโทรศัพท์ Yealink ได้ดีที่สุด
| รุ่น | ขนาด | Extensions |
|---|---|---|
| S20 | SMB | ≤20 |
| S50 | SMB | ≤50 |
| S100 | Medium | ≤100 |
| S300 | Enterprise | ≤300 |
| P-Series | Cloud/On-prem | ≤200–2000 |
| K2 | Enterprise | ≤2000 |
คุณสมบัติหลักของ Yeastar:
- Auto Provisioning โทรศัพท์ Yealink ด้วย MAC address (3 วิธี: PnP / DHCP Option 66 / RPS)
- Push Phonebook ลงโทรศัพท์อัตโนมัติ
- BLF subscription management
- Built-in voicemail, IVR, ring group, call queue, call recording
- CDR (Call Detail Record) log ทุก call
- Linkus UC Client (Desktop/Mobile/Web)
- Integration: Microsoft Teams, Salesforce, Dynamics 365
ดูรายละเอียด PBX และ hardware models ที่ Yeastar P-Series
ฟีเจอร์สำคัญในออฟฟิค
BLF (Busy Lamp Field):
แสดงสถานะ extension อื่นบน Line Key ของโทรศัพท์ — ว่าง/คุย/รับสาย/DND
กด BLF key ที่กำลัง ring → Pickup สายแทนได้เลย
Ring Group:
สายเข้าโทรหา extension หลายเครื่องพร้อมกัน — ใครรับก่อนได้สาย
Call Queue:
สายเข้าเข้าคิว — เล่นเพลงรอจนมีเจ้าหน้าที่ว่าง
IVR (Interactive Voice Response):
กด 1 สำหรับแผนก A / กด 2 สำหรับแผนก B
Music on Hold (MOH):
เพลงที่ผู้โทรได้ยินขณะถูกพักสาย — ตั้งได้ใน PBX
Security
| มาตรการ | รายละเอียด |
|---|---|
| TLS | เข้ารหัส SIP signaling |
| SRTP | เข้ารหัสเสียง (audio stream) |
| Strong passwords | Extension password ควรยาวและซับซ้อน |
| Fail2ban | Block IP ที่พยายาม brute force SIP |
| SIP ALG | ปิดบน router เพื่อป้องกัน one-way audio |
Network Requirements
| ข้อกำหนด | ค่าแนะนำ |
|---|---|
| Bandwidth ต่อสาย | 64–100 Kbps (G.711) หรือ 32 Kbps (G.729) |
| Latency | < 150 ms |
| Jitter | < 30 ms |
| Packet Loss | < 1% |
| QoS | DSCP 46 (EF) สำหรับ voice traffic |
| VLAN | แยก Voice VLAN กับ Data VLAN |
Related
- Yealink T31G — IP Phone รุ่นที่ใช้ในออฟฟิค
- BLEAF — ระบบ workflow ที่ใช้ในองค์กรเดียวกัน
- Dahua.Api — ระบบ CCTV ที่ใช้ในออฟฟิคเดียวกัน
🇬🇧 English
VoIP (Voice over IP) is a telephony technology that transmits voice over IP networks using SIP (Session Initiation Protocol) for call signaling.
Office System Components
[PSTN/SIP Trunk] ←→ [PBX] ←→ [LAN Switch] ←→ [IP Phone]
↕
[Softphone/Mobile App]
| Component | Role |
|---|---|
| PBX | Central office phone system — manages extensions, trunks, routing |
| SIP Trunk | Connects PBX to PSTN or VoIP provider for external calls |
| IP Phone | Desk phone using SIP — e.g., Yealink T31G |
| PoE Switch | Powers IP phones over the LAN cable |
Yeastar PBX (Yealink PBX Series)
Yeastar is Yealink’s PBX brand, designed for seamless integration with Yealink phones.
Key capabilities:
- Auto-provisioning Yealink phones via MAC address (3 methods: PnP / DHCP Option 66 / RPS)
- Push phonebook to all phones automatically
- Centralized BLF subscription management
- Built-in voicemail, IVR, ring group, call queue, call recording, CDR
- Linkus UC Client (Desktop/Mobile/Web)
- Integrations: Microsoft Teams, Salesforce, Dynamics 365
See Yeastar P-Series for hardware models and detailed configuration.
Key Office Features
| Feature | Description |
|---|---|
| BLF | Monitor extension status (idle/busy/ringing/DND) on Line Keys; press to pickup |
| Ring Group | Incoming call rings multiple extensions simultaneously |
| Call Queue | Callers wait in queue with hold music until an agent is free |
| IVR | Auto-attendant: “Press 1 for Sales, Press 2 for Support” |
| MOH | Music on Hold played to callers when parked |
Network Requirements
| Requirement | Recommended |
|---|---|
| Bandwidth per call | 64–100 Kbps (G.711) or 32 Kbps (G.729) |
| Latency | < 150 ms |
| Jitter | < 30 ms |
| Packet Loss | < 1% |
| QoS | DSCP 46 (EF) for voice traffic |
| VLAN | Separate Voice VLAN from Data VLAN |
Security Best Practices
- Enable TLS (SIP signaling encryption) + SRTP (audio encryption)
- Use strong extension passwords
- Enable Fail2ban on PBX to block SIP brute-force attacks
- Disable SIP ALG on router (causes one-way audio)
Related
- Yealink T31G — The IP phone model used in this office
- BLEAF — Office workflow system in the same environment
- Dahua.Api — CCTV system in the same environment