Quick Start
Get a SIP error response in three steps.
Pick an error code
Choose any SIP error code between 300 and 699.
Send an INVITE
Dial a SIP URI ending with that code, e.g. sip:test486@mockasip.com.
Get the response
MockaSIP replies with the matching SIP error and reason phrase.
Features
Everything you need for SIP error testing, nothing you don't.
Error Codes Only
Responds to codes 300-699: redirect, client error, server error, and global failure responses.
RFC Compliant
Proper SIP reason phrases based on RFC 3261 and related standards.
Simple Interface
No authentication or complex setup required for testing.
Automatic Extraction
Extracts the last 3 digits from any SIP INVITE user to determine the error code.
Rate Limited
Rate limited to 1 request per second per source IP to ensure fair usage for all testers.
Behavior
How MockaSIP interprets your request.
| Condition | Response |
|---|---|
| Valid error code (300-699) | Returns the requested error code with the proper reason phrase |
| Non-error code (100-299) | 400 Bad Request - Invalid Status Code |
| Code outside 100-699 | 400 Bad Request - Invalid Status Code |
| Username fewer than 3 characters | 400 Bad Request - User Part Too Short |
| No INVITE username | 484 Address Incomplete |
Examples
Only the last 3 digits of the username matter. Use any prefix you like.
| INVITE URI | Response |
|---|---|
| sip:404@mockasip.com | 404 Not Found |
| sip:+353123486@mockasip.com | 486 Busy Here |
| sip:anything503@mockasip.com | 503 Service Unavailable |
Supported Error Codes
67 SIP error codes across all error categories.
Use Cases
Built for developers, testers, and anyone working with SIP.
SIP Client Development
Test how your client handles various error conditions without complex infrastructure.
SIP Trunk Testing
Test out SIP trunk failover scenarios.
Quality Assurance
Verify error handling behavior in automated tests and CI/CD pipelines.
Training & Learning
Learn about different SIP error codes and their meanings in a hands-on way.
Debugging
Reproduce specific error scenarios for troubleshooting and debugging.
FAQ
Common questions about using MockaSIP.
Why am I getting a 400 Bad Request?
400 Bad Request - Invalid Status Code.
Does MockaSIP support TCP and TLS?
Is authentication required?
What if my desired code isn't in the supported list?
404 Not Found - Unsupported Status Code. Only the 67 codes listed above have standard RFC reason phrases.