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
- ReactJS: How to optimise top-down render flow
- Implementing PeerJS Server with multiple dynos on Heroku
- How to asynchronously send data to a client via a different application path?
- How to profile Django's bottlenecks for scaling?
- Is it feasible to unpickle large amounts of data in a Python web app that needs to be scalable?
- How to scale database service in Cloudfoundry?
- netty client performance/scalability: Multi-threaded write to one channel vs. multiple channels
- Incremental update in column value in mysql. Concurrency Issues?
- In asp.net-mvc, what is the correct way to do expensive operations without impacting other users?
- Is there a scalable way to implement database search by multiple tags?
- Scalable way to search for (similar) strings in a database
- How to make Rest API more scalable using spring mvc on increasing number of requests at same time?
- horizontal scaling and vertical scaling naming convention
- Scalable video encoding?
- Is PHP on Laravel really that bad for high traffic
Related Questions in SIP
- Configure Asterisk as SIP outbound proxy (as a SIP server relay)
- Samsung Galaxy S5 speakerphone\microphone issue
- Added SIP-headers in MSPL application missing/being removed in Lync 2013
- setKeepAliveTimeout is deprecated in iOS9
- Mobicents presence server. How to register softphone?
- pjsua and sip registration: error=Invalid URI (PJSIP_EINVALIDURI)
- SIP API SipManeger returns null
- How to create a Java object in C++ using JNI?
- How Kamailio transformations work?
- receiving service from SIP without using a server
- SIP and Webrtc Integration iOS
- sip client for android device with wired conenction
- How to get audio samples in linphone to pass to other interface or to save them?
- Setting Up Restcomm on Ubuntu 14.04 (EC2)
- How to share RTP's ssrc value between calling and called party in sip call?
Related Questions in VOIP
- How to keep an Android Service always running?
- Implementing VOIP over udp, what is the approach to take when the player cannot cope up with received packet's speed
- Convert voip audio to text for debugging
- setKeepAliveTimeout is deprecated in iOS9
- VoIP Setup with Softphones and Twilio backend
- Twilio: pro-actively initiate daily, pre-scheduled conference calls?
- Different ways to integrate web phone/softphone/VOIP in asp.net web site
- Customize incoming fax header Asterisk
- Possible to Query Asterisk CEL info directly from the database? (PostgreSQL)
- Android.net.rtp - AudioStream.join() - java.lang.NullPointerException
- How to get audio samples in linphone to pass to other interface or to save them?
- SIP protocol / call waiting
- App not relaunch from background but delegate is called didReceiveIncomingConnection twilio in ios
- Looking for the hangouts custom URL scheme on IOS
- How to do some task after Asterisk ReceiveFax function calling?
Related Questions in P2P
- A P2P application with Python
- Peer to Peer Communication without Server in iPhone
- Support P2P in Netty or Mina?
- Native Real Time Communication alternatives to WebRTC
- difference between p2p and client-server node design
- Implementing XOR-MAPPED-ADDRESS attribute on STUN server
- RTMFP / peer-to-peer over public Internet
- MQTT as a centralized communication protocol
- Android - Sending intent over mobile network
- ionic client to server sync and client to client sync
- Can you connect UWP apps peer-to-peer?
- Does the "holy trinity" (Ethereum, Swarm and Whisper) support multimedia streaming?
- How is SIP scaled for high load?
- JXTA on internet
- Cherry pick peers using Rasterbar libtorrent in Python
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 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.