This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SIP proxy info?

I am hoping someone can provide useful information as to how this is supposed to be used.  What I have: an asterisk (pbx in a flash) server behind the ASG.  UDP/5060 and UDP/10000:20000 forwarded to the pbx with a DNAT rule.  I have a QoS rule giving precedence to traffic marked as low delay from the pbx.  I haven't seen any posts recently that really talk much about the SIP helper, although I get the impression from a post of Gert's from a couple of years ago that if I used this, almost all of the config stuff would not be needed.  Can anyone clarify this?


This thread was automatically locked due to age.
  • Hi,
    my experience is based on 2 VOIP phones to two different ISPs.

    You don't need the DNAT rule.

    I have my VOIP setup on its own VLAN so I have allowed the voip network in the ASG SIP client network. You would define you asterisk box in this field.

    Your VOIP phone company network would be defined in the SIP Server networks.

    In the past I have added the extra port ranges used by my VOIP phones to the VOIP definitions, but with the current build I haven't and all works okay.

    I have strict security enabled to stop my VOIP phones registering with companies I don't have agreements with and to limit where my calls can come from.

    I hope this is of some help.

    Ian M
  • So in my case, for the client, I would put the host IP of the asterisk server, and for the server network, I would put the host IPs of the SIP servers my asterisk server registers with?  Also, my asterisk server usually has to rewrite the SIP headers so that the RTP port address has the WAN IP, not the internal IP - does the SIP proxy do this also?
  • So in my case, for the client, I would put the host IP of the asterisk server, and for the server network, I would put the host IPs of the SIP servers my asterisk server registers with? 
     

    Correct

    Also, my asterisk server usually has to rewrite the SIP headers so that the RTP port address has the WAN IP, not the internal IP - does the SIP proxy do this also?


    Yes, the proxy would do the rewrite, so you don't want the asterisk doing it also.

    Barry
  • Guys, thanks for the help.  Disabled the SIP and RTP DNAT rules on the ASG.  Enabled the VOIP proxy per the above.  Removed the NAT stuff from asterisk and restarted it.  Made a couple of calls and audio both ways [:)]  Also ticked strict mode just to play it safe.
  • Definitely want strict mode.  Without it checked, I see lots of inbound call attempts on my asterisk server logs.
  • So if I have the SIP providers in the "sip servers" section, does that mean I don't need an inbound SIP packet filter rule?  Or an RTP one, for that matter?
  • Right, the VOIP Security system takes care of everything, you don't need any DNATs or PF rules for SIP (and RTP afaik).

    Barry
  • Well, something is not right [:(]  My wife got 2-3 phone calls and had to hang up because there was no inbound audio.  The SIP signalling works fine, as does outbound audio, but no inbound.  She was not pleased, to put it mildly.  I have reverted to the previous setup until I can poke at this some more.
  • Hi,
    sorry to hear about the missing incoming audio for incoming calls, used to have those issues in earlier version of v7.

    You could try creating a service with TCP/UDP 1:65535 to 10000:20000 and adding that to the VOIP group.

    Ian M