The outgoing port number by default is random by the operating system. There is a CCI configuration variable that you can use to specify a starting port number, then you will need to open a range of numbers.
Is there a way that we can set CCI to attempt to reconnect using a set of ports opened in the firewall?
Unix/Linux
To set this variable create an executable file
$CAIGLBL0000/cci/scritps/envsetlocal
that contains
CAI_CCI_PORT1=n
export CAI_CCI_PORT1
Note: n should be a number that is greater then 250 and less the 65000
Setting this up will configure cci when making outgoing calls to start at this port number and if that is not available it will increment the value by one and try the next port number. Without this setting the outgoing port number is random and set by the operating system.
Incoming CCI listens on Port#1721 or what you have configured you the following setting to:
caicci 1721/tcp # CA Remote CCI port number