Logo

Troubleshooting

Application Startup

MicroSIP does not start or open

First, check the system tray (near the clock) for the MicroSIP icon.

If MicroSIP is configured to launch automatically when Windows starts, it starts minimized to the system tray.

If you are running MicroSIP in a corporate environment and the application fails to start, your organization's security policies may be preventing it from running.

Startup Error Messages

Error: "Failed to open file for writing"

MicroSIP's working directory, which contains its data files, must be writable. Make sure your Windows user account has permission to create and modify files in this directory.

Error: "Failed to initialize database"

MicroSIP cannot initialize its database, which stores information such as your contact list. Make sure the database file and its containing directory are accessible for reading and writing.

This error may also occur if the database file is corrupted. In that case, you may need to back up and then manually delete the database file to allow MicroSIP to start. A new database will be created automatically when the application launches.

Registration

Registration is required to receive incoming calls. To enable registration, enter the SIP server address, username, login (if different from the username), password, and domain.

If the SIP server field is left empty, you can still make outgoing calls, but incoming calls will not be available.

Once successfully registered, a green icon and the Online status will appear in the status bar.

Registration error messages

Error: "Service unavailable", "Bad gateway", "Request Timeout"

  • Make sure you have entered valid "SIP server", optional "SIP proxy". Your SIP provider should provide you with this information.
  • It is also possible that your SIP operator must add your IP address to the server's whitelist.
  • Try changing the transport: UDP, TCP or TLS.
  • You can also try spoofing the "User-Agent" string in the microsip.ini file.

Error: "Forbidden", "Incorrect password", or similar

Check your SIP server, domain, username, password. The proxy and login are often empty, but you must specify them if required by your SIP provider. Some SIP providers require that you enable the STUN server if your PC does not have a public IP address.

Other possible reasons:

  • Server connection limit reached

    You may have reached the limit of simultaneous connections to the server. This could also happen as a result of your network card renewing its IP address multiple times. In this case, you need to stop trying to connect and wait for some time to close the broken connections. You can disable "Handle IP changes" in the settings to avoid this problem.

  • User-agent is blocked

    Your SIP provider may block the softphone by the user-agent line. In this case, you can redefine the user-agent line to an allowed one (manually in the microsip.ini file)

  • IP address is blacklisted

    Your provider can also use a blacklist or whitelist of IP addresses to restrict connections. In this case, you can use a VPN or try a different internet connection.

  • Temporary malfunction on the PBX side

    If you suddenly encounter this problem, there may be a technical problem on your PBX side. Try again later or contact your PBX administrator.

Internal server error when SIP proxy is configured

Try adding the ;hide suffix to the SIP proxy address, for example: sipproxy.host.com;hide. This may help resolve issues caused by an incorrect or incompatible SIP server configuration.

Calls

1. Can't make a call

When trying to make a call a message is showed:

Error: "Unable to open sound device: Undefined external error. Error #450001" (after Windows 10 update 1803)

Fix microphone permission in the Windows settings (Windows Settings => Privacy => Microphone).

Error: "Unable to find default audio device"

Speakers and microphone both are required. To make calls you must have input and output sound device in your system. Same for RDP connections.

Error: "An invalid Parameter was passed to a system function"

Allow access to the microphone in Kaspersky Anti-virus settings.

Error: "The selected audio device could not be initialized"

This error indicates that an audio device or its driver is not working correctly and has caused a memory access error. Possible causes include faulty or incompatible audio drivers or a problem with the audio device itself. Try updating your audio drivers or using a different audio device.

Error: "Not acceptable here" or "Not allowed"

This response comes from your PBX and indicates that it cannot accept one or more options requested by MicroSIP. This may be related to the selected audio or video codec, encryption, caller ID settings, or another enabled feature. Check your PBX logs for details. You can also test with a clean MicroSIP installation, where optional features are disabled by default.

Error: "End of file"

Change Transport to UDP.

2. Can't make or end a call

Error: "Connection Timeout", "Request Timeout"

  • Test with a clean installation of microsip, where all additional features are disabled by default (remark 1).
  • Make sure your SIP account configuration is correct. Check fields: username, password, domain, server, proxy.
  • Make sure you dial the correct number and in the correct format, with the correct prefix, etc (often not found error).
  • Disable SIP ALG in the router settings.
  • Try with UDP, TCP, TLS transport, one by one.
  • Try with/without "Allow IP rewrite". Try with/without STUN server.
  • Try to set the source port in the microsip settings to 5060 (this is a local port, not a remote server port; the normal value is empty).
  • Try calling from another computer, using a different router or other internet connection.
  • Check your PBX configuration, NAT support.

3. Missed incoming calls

This can happen if your router closes connection by inactivity timeout. To fix this problem you need to reduce the timeouts in your account settings.

With one of these minimum values the problem is commonly solved: "Keep-Alive" = 9 or "Register Refresh" = 58.

We do not recommend setting the "Register Refresh" value too low, as this will increase the load on your PBX.

You should determine and set the value at which the problem disappears.

4. Cannot receive incoming calls

Make sure the status bar displays a green icon and the Online status. This indicates that MicroSIP is successfully registered with your PBX and ready to receive incoming calls.

Check whether your internet router is blocking incoming calls. To rule out network-related issues, temporarily try a different internet connection, such as a mobile hotspot, or test with another router.

Try receiving calls using another softphone. If the problem persists, it may be related to your PBX configuration or SIP provider.

5. No sound or one directional sound

5.1. Computer related problems

If you don't even see the microphone level indicator jumping during a call, check your antivirus settings (in particular, Kaspersky): allow access to the microphone, or add MicroSIP to the exceptions list.

5.2. Configuration/network/PBX related issues

This can happen if you use one or more routers (with NAT) on the way to the PBX, or if your computer has multiple network connections.

You should configure your PBX to support NAT. For example, for Asterisk chan_sip you must add "nat = auto_force_rport,auto_comedia" to the sip.conf file, for Asterisk res_pjsip - "rtp_symmetric=yes", "rewrite_contact=yes", "force_rport=yes" to the pjsip.conf file.

If you can't change PBX configuration, you can try to enable "Allow IP rewrite" feature, that will do that work on the softphone side and if possible disable "SIP ALG" in the router/routers settings. "SIP ALG" may interfere with the correct rewriting of IP.

5.3. Calls via VPN connection

If you are making a call via a VPN connection, you may in some cases need to explicitly specify the IP address of that connection in your SIP account settings — in the "Public Address" field.

The following general steps may also help you:

  • Leave only one active network connection or manually select the local IP address (or enter your public IP address) in the account setup window.
  • Test with a clean installation of MicroSIP, where all additional features are disabled by default (remark 1).
  • Try with/without STUN server.
  • Try without/with "ICE".
  • Try to set the source port in the microsip settings to 5060 (Note: This is a local port, not a remote server port; the normal default value is empty, meaning dynamic assignment).
  • Try calling from another computer, using a different router or other internet connection.

6. Calls getting dropped

  • Codec mismatch. Try using the standard G.711 codec for both sides.
  • Disable SIP ALG in the router settings.
  • Try with UDP, TCP, TLS transport, one by one.
  • Try with/without "Allow IP rewrite". Try with/without STUN server.
  • Check your PBX configuration, NAT support.
  • Try disabling Session Timers if your calls drop after XX sec/min (not recommended as a permanent solution).

7. Long initialization time when making calls

If there is a big delay when you make a call, try to switch from TCP+UDP to UDP transport. Often SIP server does not support TCP.

8. Freezes or crashes

8.1. Computer related problems

  • Antivirus or other security software installed on your PC. Temporarily disable your antivirus or add the softphone to the exceptions list.
  • Problem with sound card, graphics card, or camera drivers. Try using MicroSIP Lite to rule out issues with the video subsystem. Try using a different audio device (e.g. a USB or Bluetooth headset). After identifying the problematic device, try reinstalling its driver.
  • Damage to software components of the operating system. Try running it on another PC.

8.2. Problems with the application

To avoid the problem and identify its cause, we recommend the following steps:

  • Disable "Enable Log File" in your softphone settings.
  • Disable "Handle IP changes" in your softphone settings.
  • Unistall the app along with its settings and reinstall it. Don't forget to back up your data and settings.
  • Start with the simplest configuration and gradually activate the features you need.

If the issue persists or can be consistently reproduced with a specific PBX configuration or softphone feature, please contact us. We will investigate the issue.

Video Calls

Application crash or restart when making video calls

Update your video card driver. Make sure hardware acceleration is not broken.

Green video window

This issue is similar to the "one directional sound" problem. The video stream does not reach the softphone from the server, most likely due to the wrong network route, NAT, or firewall.

Other help pages

Look for other answers on these pages: Frequently asked questions and Documentation

Report bugs

Before contacting us for assistance, please review all the information provided above.

Report bugs and compatibility issues here

PLEASE NOTE: We cannot guarantee a response time or that every message will receive a reply. However, every message is reviewed and considered, even if you do not receive a response. We reply as our capacity allows.