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: Masquerading in Call Control Packets

Hi all,

I just wanted to ask a very quick question about some of the functionality that the VoIP Security module performs. We have an ASG220 with firmware version 7.510.

We have a SIP server making an outbound call over the public internet. The third party that we are making the call to is rejecting the call (403 Forbidden), as the "Via" section of the call control packet contains an internal IP address.

I haven't seen any definitive documentation anywhere about what exactly the firewall modifies in the call control packets. Am I right in thinking that the firewall should be modifying the "Via" section of the call control packet from the internal IP address of the SIP server to the external IP address of the adapter that the call went out on? If this is what should be occurring, is there a configuration setting that we may have missed? 

Configured as follows:
VoIP Security - SIP: Remote IP of third party and local IP present in both server and client network tables, both bound to a specified adapter (named 'SIP')
Network Security - NAT - Masquerading: Internal SIP network masquerading to 'SIP' adapter, using the primary address.

If there is anything obviously missing, or I have misunderstood the functionality that the VoIP Security module performs, your help/feedback would be very much appreciated.

Thanks in advance,
Adam Pollock.


This thread was automatically locked due to age.
  • Hi, I'm not sure what the answer is re the Via section, however, you could try disabling the SIP helper and only using DNAT + PacketFilter rules and see if your VOIP system works in that configuration.
    If it still doesn't work, then something else may be wrong.

    Barry
  • Hi Adam, and welcome to the User BB!

    VoIP Security - SIP: Remote IP of third party and local IP present in both server and client network tables, both bound to a specified adapter (named 'SIP')

    I don't think that can work! [;)]

    First, never bind any defintion to a specific interface - always choose ">" always always always.

    The 'SIP server networks' should contain only the IP(s) of your VoIP service(s).  The 'SIP client networks' should contain only your internal VoIP server.

    I'm no VoIP guru, but if you still need help, please state the brand and model of your VoIP server.

    Cheers - Bob