MYVOIPAPP

Why one-way (or no-way) audio problem?

We are often asked "why I cannot hear peer side?" or "why we cannot hear each other?". In most scenarios, the root reason is firewall filtering audio stream or NAT (network address translation) blocking it. We can always find that some SIP devices, including SIP phones, SIP clients and VoIP gateways, are deployed behind a NAT and configured with private IP address.

Please follow below methods to fix the one-way audio problem.

Check firewall

If there is a firewall deployed in your VoIP network, for example Windows firewall, please try to shutdown it and make some test. If problem is resolved, that means you need ask administrator to configure firewall to enable miniSIPServer to be visited from public networks or private networks.

Disable SIP-ALG

Please check your router whether it can support SIP-ALG (Application Level Gateway) function. If it has such function, please disable it since most routers are full of bugs in their SIP-ALG. Once you disable it, please remember to restart your router.

Enable STUN

If your SIP phones/devices are deployed in a private network, mostly you need configure STUN (Simple Traversal of UDP through NATs) server to help your SIP devices to route packages, such as audio packages. Most SIP devices can support STUN protocol.

Below figure describes STUN configuration in microSIP. By default, we configure 'stun.minisipserver.com' as STUN server.

STUN configuration in microSIP

If your miniSIPServer is deployed with public address, you can use it as your STUN server too because it is embeded in miniSIPServer. Of course, you can also use our simple STUN server "stun.minisipserver.com".

By default, we suggest following STUN servers:

  • stun.minisipserver.com
  • stun.counterpath.net
  • stun.zoiper.com
Relay media stream

In another way, we can try to configure miniSIPServer to relay media streams for SIP phones. In local users' configurations, please click tab "Media services" and enable "Relay media stream" item:

Configure MSS to relay media stream

Since all media streams will be sent to miniSIPServer if you have configured such "relay media stream" item for local users, it will be very heavy work-load to your server.

If miniSIPServer is behind a router and configured with private address, somethings more need to be confirmed or configured.

Public address and private address

Please refer to below figure. miniSIPServer can have two SIP addresses. We can configure 'Main address' with the public address and 'Additional address' with the private address.

Two addresses in miniSIPServer

In this scenario, outsides public SIP phones can work with miniSIPServer's main public address and local SIP phones can work with miniSIPServer's additional private address.

Forwarding ports

The router need forward some ports to miniSIPServer, otherwise miniSIPServer cannot receive outsides packages. By default, router need forward following UDP ports:

  • 5060
  • 10000 - 20000

If you are deploying SIP over TCP or TLS, you need forward TCP ports 5060 and 5061 too.

Enable UPnP

If the router has UPnP feature and has enabled it, you can configure miniSIPServer to request port mapping (forwarding) automatically. In miniSIPServer system configuration, please enable item "Enable UPnP to ask router to map ports".

Enable UPnP
Avoid blocking

In some area, local ISPs could block or change SIP signals which can also cause one-way audio problem. To avoid that, you can try to change standard SIP port or use SIP over TCP/TLS. Please refer to following documents for more details.

Deep learning

Furthur more, we have two documents to describe more details of this topic. If you are interesting in it, please refer to following documents:

Why one-way audio problem?

How to resolve one-way audio problem?