MockaSIP: The Simplest Way to Test SIP Error Handling
Web developers have for years been able to test their APIs using multiple online mock API services but SIP/VoIP platform developers usually have to build their own.
How do you test that your SIP call error handling is working well?
When your SaaS provider tells you “You can bring your own carrier to our platform and we will failover the calls automatically for you” How do you check the errors they failover on? Throw live traffic and then realize that they are not failing over on some 4xx error messages?
Want to do some CI/CD SIP application tests?
Now there is Mock-A-SIP 😉 The idea I went with is simple, send a SIP INVITE and have the user part of the URI end in the error code you wish.
For example INVITE sip:404@mockasip.com gets a 404 “Not Found”. INVITE sip:+353123486@mockasip.com gets a 486 “Busy Here” etc
Things to note:
- Obviously only 300 - 699 codes are handled
- No authentication is required
- TLS is not supported for now
A bit more details can be found at mockasip.com so go ahead, visit mockasip.com and start testing today.


