> Source: [sk104786](https://support.checkpoint.com/results/sk/sk104786)

# sk104786 - Avaya VoIP calls with Avaya Call Manager fail through Check Point Security Gateway

| Property | Value |
|----------|-------|
| Solution ID | sk104786 |
| Date Created | 2015-03-02 |
| Last Modified | 2021-07-28 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Symptoms

- Avaya VoIP Phones can not establish connection to Avaya Call Manager using H.323 protocol through Check Point Security Gateway:

* When VoIP is initiated, there is no answer on the other side
* H.323 phone does not register

## Cause

When using Avaya H.323 / H.225 / SIP phones with Check Point Security Gateway, often it is required to restrict ports used by the VoIP phones and make sure that the Security Gateway dynamically opens the ports necessary for call setup and call tear-down using Check Point H.323 handlers (*H.323* and *H.323_RAS*).

However, default configuration of Check Point H.323 handlers do not dynamically open the ports for the VoIP phones.

## Solution

This problem was fixed. The fix is included in:

* [Check Point R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk144293)

Check Point recommends to always upgrade to the most recent version ([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=435) / [upgrade Cluster](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=428) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=184) / [upgrade Multi-Domain Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=downloads&product=166)).

The VoIP endpoint normally initiates the H.323 (H.225) TCP connection to the VoIP Server / VoIP Gatekeeper.

For example, when using Avaya Communication Manager (ACM), the Time-To-Service (TTS) feature may be enabled by default. When the TTS is enabled in the ACM, the VoIP Gatekeeper would initiate the TCP connection to the VoIP endpoint.

Follow the steps below in scenarios, where the VoIP Server / VoIP Gatekeeper initiates the TCP connection to the VoIP endpoint.

Click Here to Show the Entire Article

* Show / Hide instructions for Security Gateway R75.40VS / R76 / R77.x and above  

  |-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  | State of IPS blade      | Instructions                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
  | IPS blade is *enabled*  | 1. In SmartDashboard, go to the ***IPS*** tab 2. In the left tree, click on ***Protections*** 3. Search for ***H.323*** 4. Double-click on the ***H.323*** protection 5. Select the relevant IPS profile - click on the ***Edit...*** button 6. Check the box ***Allow an initiation of H.323 connections from server to endpoints*** 7. Click on OK 8. Install the security policy 9. At this point, the H.323 signalling should be matched by Check Point H.323 handler, and the VoIP Phone should be able to register with the Avaya Call Manager and generate a dial tone These instructions were tested with: * Avaya Aura v5.02 * Avaya phone models 6970, 9620, 9630, 9640                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
  | IPS blade is *disabled* | Allow initiation of H.323 connections from VoIP Server / Gatekeeper to VoIP endpoints by setting the value of the kernel parameter ***force_h323_gk_init_tcp_conn*** to 1 (one) on Check Point Security Gateway (this will allow Check Point H.323 handlers (*H.323* and *H.323_RAS*) to handle H.323 calls): 1. [Contact Check Point Support](http://www.checkpoint.com/support-services/contact-support/index.html) to get a Hotfix that adds the new kernel parameter (Issue ID 02441588). A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix. For faster resolution and verification, please collect [CPInfo files](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) from the Security Management Server and Security Gateways involved in the case. 1. Hotfix has to be installed on ***Security Gateway***. **Note:** In cluster environment, this procedure must be performed on *all* members of the cluster. 2. Procedure: * Using CPUSE - On Security Gateway running Gaia OS R75.40 and above: Make sure to install the [latest build of the CPUSE Agent](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#Latest build of CPUSE and What's New). Refer to [sk92449: CPUSE - Gaia Software Updates (including Gaia Software Updates Agent)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE): * Section "[(4-A-c)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Portal)" / "[(4-A-d)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to download and import a CPUSE package - Import instructions for Offline procedure - Gaia Clish)" - refer to import instructions for *Offline procedure* * Section "[(4-B-a)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#How to work with CPUSE - How to install a CPUSE package - Installing a Hotfix package / Minor Version package)" - refer to installation instructions for *Hotfixes* You can also use the [sk111158 - Central Deployment Tool (CDT)](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111158) to install this hotfix on Security Gateways. **Note:** Reboot is required. * Using Legacy CLI - On VSX Gateway running Gaia OS R75.40VS and above; On Security Gateway running SecurePlatform/XOS/IPSO OS: Note: On these versions of VSX, the Gaia CPUSE does not support installation of hotfixes (refer to [sk92449](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92449#System requirements and limitations) - section "(2)" - "VSX Gateways"). 1. Transfer the hotfix package to the machine (into some directory, e.g., */some_path_to_fix/*). 2. Unpack and install the hotfix package: ***\[Expert@HostName\]# cd /some_path_to_fix/*** ***\[Expert@HostName\]# tar -zxvf fw1_wrapper_\<HOTFIX_NAME\>.tgz*** ***\[Expert@HostName\]# ./fw1_wrapper_\<HOTFIX_NAME\>*** **Note:** The script will stop all of Check Point services (*cpstop*) - read the output on the screen. 3. Reboot the machine. 2. Set the value of the kernel parameter ***force_h323_gk_init_tcp_conn*** to 1 (one) on Check Point Security Gateway: * To check the current value of a kernel parameter: ***\[Expert@HostName\]# fw ctl get int force_h323_gk_init_tcp_conn*** * To set the desired value for a kernel parameter *on-the-fly* (does not survive reboot): ***\[Expert@HostName\]# fw ctl set int force_h323_gk_init_tcp_conn 1*** * To set the desired value for a kernel parameter *permanently*: Follow [sk26202 (Changing the kernel global parameters for Check Point Security Gateway)](http://supportcontent.checkpoint.com/solutions?id=sk26202). 1. Create the *$FWDIR/boot/modules/fwkern.conf* file (if it does not already exit): ***\[Expert@HostName\]# touch $FWDIR/boot/modules/fwkern.conf*** 2. Edit the *$FWDIR/boot/modules/fwkern.conf* file in Vi editor: ***\[Expert@HostName\]# vi $FWDIR/boot/modules/fwkern.conf*** 3. Add the following line (spaces are not allowed): ***force_h323_gk_init_tcp_conn=1*** 4. Save the changes and exit from Vi editor. 5. Check the contents of the *$FWDIR/boot/modules/fwkern.conf* file: ***\[Expert@HostName\]# cat $FWDIR/boot/modules/fwkern.conf*** 6. Reboot the Security Gateway. 3. At this point, the H.323 signalling should be matched by Check Point H.323 handler, and the VoIP Phone should be able to register with the Avaya Call Manager and generate a dial tone. |

  <br />

  <br />

* Show / Hide instructions for Security Gateway R65 HFA_70 / R65.2.100 / VSX R67 / R70.40 / R70.50 / R71.X / R75.X  
  Allow initiation of H.323 connections from VoIP Server / Gatekeeper to VoIP endpoints by setting the value of the kernel parameter ***h323_gk_init_tcp_conn*** to 1 (one) on Check Point Security Gateway (this will allow Check Point H.323 handlers (*H.323* and *H.323_RAS*) to handle H.323 calls):
  * To check the current value of a kernel parameter:

    ***\[Expert@HostName\]# fw ctl get int h323_gk_init_tcp_conn***
  * To set the desired value for a kernel parameter *on-the-fly* (does not survive reboot):

    ***\[Expert@HostName\]# fw ctl set int h323_gk_init_tcp_conn 1***
  * To set the desired value for a kernel parameter *permanently*:

    Follow [sk26202 (Changing the kernel global parameters for Check Point Security Gateway)](http://supportcontent.checkpoint.com/solutions?id=sk26202).
    1. Create the *$FWDIR/boot/modules/fwkern.conf* file (if it does not already exit):

       ***\[Expert@HostName\]# touch $FWDIR/boot/modules/fwkern.conf***
    2. Edit the *$FWDIR/boot/modules/fwkern.conf* file in Vi editor:

       ***\[Expert@HostName\]# vi $FWDIR/boot/modules/fwkern.conf***
    3. Add the following line (spaces are not allowed):

       ***h323_gk_init_tcp_conn=1***
    4. Save the changes and exit from Vi editor.

    5. Check the contents of the *$FWDIR/boot/modules/fwkern.conf* file:

       ***\[Expert@HostName\]# cat $FWDIR/boot/modules/fwkern.conf***
    6. Reboot the Security Gateway.

  At this point, the H.323 signalling should be matched by Check Point H.323 handler, and the VoIP Phone should be able to register with the Avaya Call Manager and generate a dial tone.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
