No audio in one way with sip

Posted on 2012-08-19
Last Modified: 2012-08-31
Hi, I have installed an asterisk pbx in our company, and now I have installed the ZOIPER in my android phone.
I have a Sonicwall Firewall NSA240, I have created the nat policies to allow the access from outside to the pbx. In the Firewall I have 2 connections - VSAT and Wimax. The Vsat only works for the link to join our main office in another country trough PBX and the wimax is the access to internet, email and now the PBX to the android phones of the workers.
In my first testings I am having problems where I can connect the SIP link, but when making calls I get no audio and the person on the other side cant ear me.
Any ideas?
Question by:brithol
    LVL 31

    Expert Comment

    This is usually a firewall or port forwarding problem regarding the RTP ports. You forwarded TCP 5060 for the SIP protocol, but what about the range of UDP ports that asterisk is using for RTP? The ports used vary depending on installation but it can be for example, UDP 10000-20000. Look at rtp.conf.

    Your router/firewall must forward the ports accordingly and allow them through, and whatever network your cell phone is on must also allow it through. Some cellular providers are known to intentionally cripple 3G data on high UDP ports, either by blocking it completely, or just crippling the flow of data sufficiently to make good quiality VoIP calls impossible, so test it first on a Wifi network that you can control.

    Author Comment

    Hi, I have forward the ports 5060-5061 in UDP to the pbx, and the RTP are also forward for the 10000-20000 to the pbx. In our network it work fine because the pbx is on the same LAN, but in my home that I have an Wifi it dont work.
    LVL 31

    Accepted Solution

    If you've confirmed that the Zoiper android app works fine on the LAN, then you've got a NAT problem of some kind. This often is a configuration issue on either the extension or Zoiper's end.

    You need to forward both TCP and UDP 5060/5061, and UDP 10000-20000. I usually just forward TCP and UDP for everything to keep things simple. I'm assuming you've done that but please doublecheck.

    In Asterisk, there's several NAT-related settings that MUST be configured properly for it to work. In particular:

    - The deny/permit field of the extension must allow connections from remote networks (and not explicitly limit to the local network)
    - The extension's "nat" option must be configured corrected so that SIP header rewriting is correctly done
    - Asterisk's sip_nat.conf's config file must define the correct "public IP" and "private IP" that should be used (the WAN and LAN address of the server)

    Look at these guides (for FreePBX but it goes for all asterisk installations)
    (another one:

    Similar configurations may need to be done in Zoiper, check if there's a "NAT" option in the configuration screens anywhere, you may need to explicitly specify that you're going through a NAT.

    Then there's some extra router settings to consider:

    - Neither router should ever use "SIP ALG". If your router has such a feature, make sure it is disabled.

    Read this resource:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    SGE2000P QoS Settings 1 45
    VoIP segregate or not ? 3 39
    QoS Policing 2 47
    eFax -- porting # out fails ? 1 20
    Article by: user_n
    How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
    Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now