What is a SIP Trunk?
A SIP trunk (Session Initiation Protocol Trunk) is a virtual communication channel used to transmit voice, video, and data signals over an internet (IP network) instead of traditional copper telephone lines.
The term “trunk” originates from the concept of a telephone trunk line in the old telephone system, referring to the main telephone line connecting an organization’s PBX to the public telephone network (PSTN). In a SIP trunk system, the actual telephone line is represented by an IP connection over the internet.
SIP Protocol, or Session Initiation Protocol, is a communication standard developed by the IETF (Internet Engineering Task Force) according to RFC 3261. This protocol performs the following functions:
- Initiate: Start a call or session.
- Manage calls: Control functions during a call, such as putting the call on hold or transferring it.
- Terminate: End the call properly.
What are phone numbers in a SIP trunk?
A SIP Trunk number is a telephone number issued by a telecommunications provider and linked to a SIP Trunk system instead of a physical telephone line.
The special features of this type of phone number:
- The number appears as normal: Callers will see the 02-XXX-XXXX number like a regular phone number.
- No physical cables: No copper telephone lines are installed in the building.
- Highly flexible: Can be used anywhere with an internet connection.
- Supports Concurrent Calls: One number can receive/make multiple calls simultaneously, depending on the number of channels purchased.
The difference between a SIP trunk number and a traditional telephone number.
| feature | SIP Trunk number | Traditional telephone number |
| Signal transmission | Via IP/Internet | Through a copper wire. |
| Concurrent Calls | Multiple lines simultaneously. | One line, one number. |
| Installation | No wiring required. | Rewiring is required. |
| Relocation | You can move immediately. | You must notify the provider in advance. |
| Charge per line | The call rates are much cheaper. | The call charges are higher. |
| sound quality | It depends on the stability of the internet connection. | Old copper wires have noise problems, break frequently, and take a long time to repair. |
| Flexibility | Quickly adjust or add/remove phone numbers. | It depends on the provider. |
| Features | Supports video calls and conference calls. | Answer call, make call. |
| technology | It is replacing copper wire. | Their role was diminished. |
A detailed explanation of how a SIP trunk works.

When a call comes in or goes out through a SIP trunk, the process is as follows:
Inbound Call
- The caller dials the destination number (e.g., 02-XXX-XXXX) through the PSTN network of a service provider (e.g., NT, AIS, DTAC).
- The telephone signal is sent to the SIP service provider, which converts the voice signal into digital data packets.
- Data is transmitted over the internet to the organization’s IP PBX/Cloud PBX using the SIP protocol.
- An IP PBX system receives and manages calls according to configured settings, such as through an automated answering system (IVR), call forwarding to internal extensions, etc.
Outbound Call
- The user dials a number to make a call from an IP phone or softphone connected to an IP PBX/Cloud PBX.
- The telephone or softphone sends signals via the SIP protocol to an IP PBX/Cloud PBX.
- An IP PBX/Cloud PBX checks the destination number. If it’s within the same system, it connects immediately. If it’s an external number, such as a landline or mobile phone, it forwards the signal to a SIP trunk to be distributed to the main telephone network.
- When the other party answers the call, data (video/audio) is transmitted in real-time via RTP (Real-time Transport Protocol).
- When the other party hangs up, the device sends a signal to end the connection.
Related vocabulary
- PSTN (Public Switched Telephone Network): The traditional basic telephone network that uses copper wires to connect telephone lines.
- SIP (Session Initiation Protocol): A protocol for connecting multimedia communication (audio/video) using IP over the internet.
- IP PBX (Internet Protocol Private Branch Exchange): An IP-based telephone exchange that operates via the internet and offers various features such as voicemail, call forwarding, conference calls, etc.
- Cloud PBX: A virtual telephone exchange system installed on the cloud. It operates without requiring any equipment installation; all you need is an internet connection.
- RTP (Real-time Transport Protocol): A standard protocol used to transmit audio and video data in real-time over an IP network.
Types of SIP Trunk numbers in Thailand.
1. 02 number (Bangkok and surrounding areas)
Numbers starting with 02 are landline numbers for Bangkok and surrounding areas, provided by NT (National Telecom) and True. These numbers are highly regarded by customers and business partners, making them suitable for organizations seeking a professional image in Bangkok and the surrounding provinces.
| Protollcall provides 02 numbers in a SIP Trunk format, directly from NT and True, leading telecommunications providers in Thailand. Whether you prefer premium, VIP, or standard numbers, customers can choose according to their needs and preferences, making internal and external organizational communication convenient and efficient—a one-stop solution. |
2. DID (Direct Inward Dialing) number
A DID (Direct ID Number) is a phone number that allows you to call the recipient directly without going through an operator. For example, a customer can call “Mr. Somchai, Sales Department” directly by dialing a single number, without needing to dial an extension. This reduces steps and enhances the customer experience. Multiple DID numbers can be assigned to a single SIP trunk.
3. Free number 1800
Toll-free numbers are ideal for call centers or customer service hotlines and can also be provided via SIP trunks.
4. Landline numbers outside of Bangkok (e.g., 03x, 04x, 05x)
Organizations with customers in provincial areas can request landline numbers for each province and use them via SIP Trunk without needing a physical office in that province. This allows customers to call as if they were calling the same area.
5. Virtual Number from overseas.
For businesses with overseas branches that require international phone numbers, such as +65 (Singapore) or +1 (USA), a SIP Trunk can be used. Customers will see the local number, helping to reduce international calling costs.
SIP Trunk vs. PSTN and ISDN PRI Telephone Systems
What is PSTN (Public Switched Telephone Network)?
PSTN stands for Primary Digital Telephone Network, which uses copper wires and a circuit switching system to transmit signals. It’s also known as a home telephone. Each line supports one conversation at a time (1 circuit = 1 call).
What is ISDN PRI?
ISDN PRI (Primary Rate Interface) is a digital-based basic telephone network that can transmit signals over both fiber optic and copper wires. One PRI supports 30 simultaneous calls (Thailand’s E1 standard).
| criterion | PSTN | ISDN PRI | SIP Trunk |
| Infrastructure | copper wire | Copper wire/Fiber | Internet (IP Network) |
| Connection | 1 wire = 1 pair of wires | 1 line = 30 signal channels (E1) | Expandable indefinitely |
| sound quality | Average-Good | Excellent and consistent. | Very good – Excellent |
| Monthly expenses | moderate | High rental rates for PRI lines. | More economical |
| Flexibility of expansion | At least, you have to rewire it every time. | Moderate. Increase or decrease by 30 lines at a time. | Very high. Can be adjusted, increased or decreased immediately. |
| Supports Remote Work | cannot | cannot | can |
| Features and functionalities | Voice / Fax | Voice / Fax / Data | Audio / Image / Video / Data |
The advantages of using a SIP trunk for organizations.
1. Significant cost savings.
- Reduce your domestic and international calling costs: IP calls cost 40–70% less than PSTN calls.
- No telephone line installation costs: Use the internet instead of copper wire.
- No need to buy PBX equipment: Compatible with Cloud PBX. No need to invest in expensive telephone switchboards.
2. Scalability (flexibility in system expansion)
The number of channels can be increased or decreased in minutes to accommodate business growth, without the need for a technician to install the wiring. This is ideal for businesses with fluctuating call volumes.
3. Supports remote work.
Employees can receive and make calls via the organization’s 02 number from anywhere in the world using a softphone on their smartphone or computer, with customers seeing it as a landline phone number.
4. Preventing Business Continuity Disruptions
In case of an emergency, office closure, or relocation, calls can still be answered or transferred to another branch immediately, so customers don’t have to worry about being unable to contact them.
5. Comprehensive communication features.
SIP trunks support the transmission of more than just voice:
-
- Video Call: Hold a video meeting using your existing phone number.
- Unified Communications: Integrates voice, video, and text (chat) into one place.
- Call Recording: Recording conversations for training purposes or to comply with regulations.
- IVR (Interactive Voice Response): Automatic answering system
- Voicemail: Sends a voice message to the user’s email address when a call is missed.
- Real-time Analytics: Analyze call volume in real-time.
6. Management via Web Interface
Administrators can manage phone numbers, configure call routing, view CDR (Call Detail Record), and customize the entire system through the web dashboard.
Limitations and risks you need to know.
Many service providers don’t often mention this directly, but understanding the limitations will help you plan better:
1. It depends 100% on the internet quality.
SIP trunks operate on IP networks, so if the internet connection is down, all calls will terminate. This is unlike copper telephone lines, which continue to function even during a power outage.
Solution: Use two internet connections from different service providers (Dual ISPs) and configure a failover route.
2. Voice Quality Issues
Common symptoms:
- Jitter: A loud, irregular, or uneven sound.
- Packet Loss: Audio loss/disconnection.
- Latency: Audio delay where both parties speak simultaneously.
Solution: Configure QoS (Quality of Service) on your router/switch to give voice traffic the highest priority.
3. Safety risks.
SIP trunks are a target for many types of attacks (more details in the security section).
4. NAT Traversal Problems
NAT (Network Address Translation) can sometimes cause problems with SIP, especially regarding one-way audio (only one party can hear it).
Solution: Use a STUN/TURN server or an SBC (Session Border Controller).
Technical requirements prior to installing a SIP trunk.
Internet
- Minimum speed: 100 Kbps per line (Code G.711)
- Recommendation: Use a leased line internet service or business fiber internet service with a service level agreement (SLA).
- Do not use: Residential internet or 4G/5G mobile network as the primary internet connection for your Contact Center.
Network equipment
- Router: Must support QoS and Port Forwarding settings.
- Switch: We recommend a managed switch that supports VLANs to separate voice traffic.
- Firewall: Must be able to open ports for SIP (Port 5060/5061) and RTP (10000–20000).
Calculating the bandwidth used by a SIP trunk.
Bandwidth depends on the codec used.
| Codec | Bandwidth per call | sound quality | retardation |
| G.711 (ulaw/alaw) | ~87 Kbps | very good | low |
| G.729 | ~31.2 Kbps | good | moderate |
| G.722 (HD Voice) | ~87 Kbps | Excellent (HD) | low |
| Opus | 6–510 Kbps | Excellent | Very low |
Bandwidth calculation formula
| Required Bandwidth = Number of Concurrent Calls × Bandwidth per Call × 1.2 (Buffer 20%)
Example: 20 simultaneous connections (G.711) = 20 × 87 Kbps × 1.2 = 2,088 Kbps ≈ 2.1 Mbps |
Detailed information on the security of SIP trunks.
The main threats to SIP trunks.
- SIP Toll Fraud — Malicious actors can hack into PBX systems and make unauthorized international calls, causing damages amounting to millions of baht in a single night.
- SIP DDoS Attack — An attack that sends a large number of SIP requests, causing the system to crash.
- Eavesdropping — The act of intercepting and recording conversations if the signal is not encrypted.
- SIP Registration Hijacking — Hackers steal user privileges and register their own IP address to use the system instead.
Required security measures.
Regarding encryption:
- Use TLS (Transport Layer Security) to encrypt data transmitted via SIP.
- SRTP (Secure Real-time Transport Protocol) is used to encrypt audio or video data during SIP calls.
- Avoid using unencrypted UDP SIP, which is the traditional and most commonly used format.
Regarding monitoring and restricting access:
- Define a list of IP addresses allowed to access the system (IP Whitelist).
- Use Fail2Ban or SIP Intrusion Detection to monitor and prevent multiple incorrect login attempts from IP addresses.
- Set the maximum number of concurrent calls allowed.
- Turn off international calls unless necessary.
The integration of SIP Trunk and Cloud PBX:
SIP trunks integrate seamlessly with cloud PBX systems, enabling innovative communication without device limitations. Features are easily accessible with just an internet connection.
Principles of collaboration
A SIP trunk is a channel that connects to the outside world: it allows making and receiving calls to regular phone numbers and sending and receiving data such as images, audio, and messages.
Cloud PBX is the brain of the system: it manages call routing, interactive voice response (IVR), internal extensions, voicemail, and various usage reports.
Features gained when using SIP Trunk and Cloud PBX together.
- Interactive Voice Response (IVR): Allows you to connect to the desired department, for example, “Press 1 for Sales, Press 2 for Service.”
- Ring Group: Allows multiple devices to answer incoming calls simultaneously or in sequence, enabling faster call answering and reducing customer waiting times.
- Call Queue: Manage incoming calls by placing them in a queue to await handling by a representative. Music or announcements can be added to the waiting area.
- Call recording: For use in improving service quality.
- Voicemail: If the recipient is busy or the call cannot be connected, the system will store the caller’s voicemail message and send it to their email address.
- CRM Integration: Can connect with customer relationship management systems such as Salesforce, HubSpot, Zoho, etc.
- Answer calls via the mobile app: You can answer customer calls on your smartphone, conveniently, anywhere.
What is a DID Number, and how does it differ from a SIP Trunk?
A DID (Direct ID) is a phone number associated with a number on a SIP trunk. One SIP number can have multiple DIDs.
A SIP trunk is a communication channel that supports multiple simultaneous calls.
| SIP Trunk | DID Number | |
| meaning | Communication channels | Direct phone number |
| Specify the quantity. | Concurrent Calls | Number of phone numbers available |
| price | Based on the number of channels. | According to the number of numbers. |
| example | 10 Channels | 02-XXX-0001 to 0010 |
How to choose the best SIP Trunk provider.
1. Verify the source of the phone number.
Cloud PBX providers must disclose the source of their SIP numbers from the telecommunications provider and must have a valid license from the NBTC (National Broadcasting and Telecommunications Commission). Most numbers, especially those using the 02 code, come from major, reputable telecommunications companies like NT or True.
2. Check audio quality and uptime SLA.
- MOS Score: Should be 4.0 or higher (out of 5 points).
- Uptime SLA: Should be 99.9% or higher.
- Latency: Should be below 150ms.
Always request a demo account to test the system during peak hours before making a purchase.
Questions to ask the service provider before purchasing.
- Which telecommunications provider issued the number? Do they have a license from the NBTC (National Broadcasting and Telecommunications Commission)?
- What is the uptime SLA, and is there compensation if the SLA is not met?
- Are you using TLS/SRTP encryption?
- Is there an Session Border Controller (SBC)?
- If the internet goes down, is there an option to failover to a mobile number?
- Is it possible to view the CDR (Call Detail Record) in real-time?
- Is there a limit on the number of concurrent calls per trunk?
- How long does the number porting process take?
SIP Trunk Installation Steps for an Enterprise
Step 1: Plan and assess the needs.
- Count the maximum number of concurrent calls expected to occur (Peak Hour).
- Estimate the required internet bandwidth.
- Choose the appropriate codec.
- Decide whether to use an on-premise PBX or a cloud PBX.
Step 2: Prepare the infrastructure.
- Upgrade your internet connection if necessary.
- Configure QoS on the router.
- Separate VLANs for voice traffic.
- Check the Firewall Rules.
Step 3: Order the SIP Trunk and DID Number.
- Choose a service provider.
- Select the number of channels and the DID number.
- Obtain credential information: SIP Server Address, Username, Password, Port.
Step 4: Configure settings on the PBX.
- SIP Server/Domain: For example, sip.provider.co.th
- Username: Trunk Account Number
- Password: SIP password
- Transport: UDP, TCP, or TLS
Step 5: Test before actual use.
- Test making calls to mobile and landline numbers.
- Test receiving calls from external sources.
- Test call transfer.
- Test all IVR buttons.
- Test Failover if your internet goes down.
Common problems and their solutions.
Problem: One-way Audio (Only one side can hear the sound)
Cause: NAT Traversal issue or Firewall blocking the RTP port.
Solution:
- Configure STUN Server in PBX
- Open the RTP Port Range (10000–20000) in the Firewall.
- Use SBC instead of traditional NAT.
Problem: Choppy/Garbled Audio
Cause: High packet loss or jitter.
Solution:
- Configure QoS on your router to give voice traffic the highest priority.
- Adjust Jitter Buffer Size
- Check that no other devices are using up their bandwidth at the same time.
Problem: Abnormally high call charges (Toll Fraud).
Cause: The system was subjected to a Toll Fraud Attack.
Solution:
- Change your SIP password immediately.
- Block unknown IP addresses.
- Set a limit for concurrent calls.
- Temporarily disable international calls.
- Notify the service provider immediately.
The future of SIP trunking: WebRTC and 5G.
Web Real-Time Communication (WebRTC)
WebRTC is a technology that allows browsers to communicate directly over audio and video without the need for additional plugins or software. Many SIP trunk providers are developing WebRTC gateways to enable customers to make calls directly through web pages.
Connectivity driven by 5G and Edge Computing.
5G networks will reduce latency to less than 1ms and support a massive number of devices, making SIP trunks on 5G the primary alternative for organizations that do not want to rely on fiber optic cables.
Fully integrated with AI (AI Integration)
Future SIP trunks will more easily support AI integration to improve efficiency and security, such as AI agents for answering basic questions and automatically forwarding them to the appropriate agent using Natural Language Processing (NLP).
PSTN cancellation
Several European countries have announced the phasing out of copper PSTN networks by 2025–2030, and Thailand is following a similar trend, making SIP trunks the standard network of the future.
Frequently Asked Questions (FAQ)
Q: For customers, what is the difference between a SIP Trunk number for a 02 number and a basic 02 number?
A: Customers don’t see a difference between the two types of numbers, but they do notice that SIP numbers are more flexible, have more modern features, and can be used anywhere.
Q: Can SIP trunking be used with a regular landline phone?
A: Yes, by using an Analog Telephone Adapter (ATA) to convert the analog signal from a landline phone to SIP. However, it will not have the features for transmitting video and audio data because regular telephones don’t support it.
Q: How many concurrent channels does a company with 20 employees need?
A: It mainly depends on the application. For general office work, one line is needed for 3-5 employees. For sales work, it’s 50% of the number of employees. For contact center work, we recommend one channel per active agent.
Q: Can I transfer my existing phone number to a SIP Trunk (Number Portability)?
A: Yes, if it’s your existing service provider, you can contact them to request a line transfer.
If it’s a new service provider, the customer needs to check if they are the owner of the number. If they are, they should contact both their current and new service providers to coordinate the number transfer. This generally takes 15-30 business days.
If the customer does not own the phone number and it belongs to their previous provider, they may not be able to transfer it.
Q: Is SIP Trunk compatible with Microsoft Teams?
A: Yes, it’s possible through a feature called Direct Routing, which connects the SIP trunk to the Microsoft Teams Phone System, allowing you to make and receive calls through Microsoft Teams.
Q: Is a SIP Trunk suitable for small businesses, or should we wait until our business grows?
A: Suitable for all sizes, even businesses requiring only 1-2 channels will be more economical than using traditional landline telephone lines.
summarize
SIP trunk numbers are the foundation of modern enterprise communications systems, offering cost-effectiveness, flexibility, and features that older telephone systems lack. These include support for remote work, branch expansion without rewiring, and call management via a dashboard.
The success of using a SIP trunk depends on having a well-prepared infrastructure, choosing a reliable service provider, and setting up robust security measures. Understanding both the advantages and limitations will help you get the most out of this technology.
| Are you ready to upgrade your corporate communications system?
Contact us today for a free consultation. 📞 02 026 5454 📧 Line: @prca Don’t let the competition get ahead. Start your Digital Transformation today! 🚀 |



