Basically, I want to implement a VoIP system with sip in a vps server. But it seems that it would not be able to handle more than ~20 simultaneous calls(just bare sip). What are the workarounds to this problem? Can the sip server be just used as a database to tell the clients where to find their intended targets..? Like p2p? I am quite new to sip. Additional info is appreciated.
2
There are 2 best solutions below
0
Rajesh
On
Your VPS server looks to pretty low-key and when you say it cant handle more than 20 Cps that seems to indicate it topped out on CPU. Correct me if thats not the case.
Options to Scale SIP
Of the Shelf SIP Load balancer - Available in Virtual / Hardware / Opensource and every flavor that you want. It hides a farm of SIP Servers that you have and it can be managed to spread the load accordingly.
Unless the nature of SIP server is defined, it can be difficult to understand the bottlenecks you face and without that its difficult to give a simple solution.
Related Questions in SCALABILITY
- Optimizing Node.js Real-Time Notification Service for High Traffic Websites
- How to add millions of documents to ChromaDB efficently
- Can Kafka handle cloud-scale load without horizontal sharding?
- Horizontal scalability in Cloud Spanner
- Scalability Challenges in Keycloak for RBAC: Exploring Approaches and Seeking Guidance
- Merge multiple tenants into one database
- Looking for alternative to nested loops in Python
- PostgreSQL - Custom ordering for each user's income for each item's price
- Iterating over the cartesian product of a list of lists
- Unsustainable memory consumption in Codon compiler for Python
- How to store an infinite noise map into a database?
- How does key rebalancing in state store work in Kafka Streams with scaling out of partitions?
- Implementing scalable microservices oriented web application using Spring MVC and Springboot in Java
- Upload Gigabytes of files to Storage Account from Django
- How to use reverse proxy to load balance across large number of tcp applications
Related Questions in SIP
- Send SIP traces over TCP from Kamailio to Heplify
- Amı Originate Calls Diffrent Context From Sended Context
- SIP messages are not visible after Phone rooting(samsung A33)
- How to get pn-prid with PJSIP_HEADER in Asterisk dialplan
- bad rtp pt 101 (expecting 8)
- Configure Linphone Desktop to use same SIP for all users in Windows
- Forward call from Twilio Studio to SIP End point
- Pause audio file not play on receiver side in sip in android
- Configuring One-Way Video Stream in PJSIP for Doorbell Video Call
- Node.js SIP.js Setup: Can't Receive Real-time Audio - Need Direction
- SIP load Testing via SIPP
- Twilio referURL - SIP Refer - refer to Twilio Flex
- SIP IPV6Reference
- SIP SEER calculation questions
- C# run process microsip.exe without access to system micro
Related Questions in VOIP
- PowerShell Linphone Configuration
- TypeError: Cannot read property 'registerVoipToken' of null
- How can I modify the default email that Avaya IP Office sends with each voicemail?
- CallKit : VOIP call is disconnecting when external call is declined
- Getting rootViewController for iOS13+ & Swift 5
- How to configure Kamailio or OpenSIPS as Session Border Controller?
- voIP audio integration without specifc API or integration
- SIP load Testing via SIPP
- How to receive Bluetooth headset Play pause event in Android java
- Integrating VOIP functionality in a native iOS app and using it in React Native
- Voice chat over a mumble server in flutter
- Ozeki voip sip C# calling
- jni_zero : Compilation error of M120 webrtc android
- How can I connect my node.js app to external VOIP provider via SIP?
- How to merge a new call to an exciting call in CallKit
Related Questions in P2P
- Unable to Retrieve External Public Address in libp2p Swarm Events
- How to avoid duplicates with the pull-based subscribe model?
- Wifi direct (Wifi P2P) connection between raspberry pi 4b and android device only possible after reboot
- Using tokio::time::timeout does not trap delayed response from TCPReadStream
- 'connections' is deprecated. The declaration was marked as deprecated here
- Twitch but practically free with p2p webRTC?
- How Can I Connect Using A WebRTC-Offer With PeerJS
- Choose between polling, websocket or P2P
- does webrtc use turn server if established p2p connection is failed?
- A p2p secure chat application need more ressources to establish the work
- how to allow mobile apps to communicate without a separate server
- aiortc can't receive video from server example
- P2P connection does not work on Android 11 and above
- Android device cannot detect others by flutter_nearby_connections
- Why is WebRTC peer.ontrack not being called in 1-1 peer connection?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
SIP scalability comes from delegating as much work to the endpoints and doing as little on the servers as possible. What you describe is a "redirect server": it accepts and stores registrations from the endpoints (softphones, hardphones, etc), and responds with "3xx redirect" to incoming calls and forgets about them immediately.
This is probably the most extreme example of server minimization. SIP is a very versatile protocol, it lets you set up your server infrastructure in many different ways with varying degree of control over calls. It lets you trade off features for performance.
Even the flimsiest VPS should be able to handle the signalling for way more than 20 parallel calls even in full "stateful proxy" mode.
Just make sure media (the RTP streams) is not routed through your server. Set up STUN to help firewalled endpoints send media to each other directly.