Not all Voice Gateway has interfaces that are straight forward like the VG204. This VG224 actually comes with 24-port FXS, but you will not see 24-port, it is using a RJ21 connector and comes with a cable with RJ21 connector.
This is the 24-port FXS which is a RJ21 connector.
This is the rear view of VG224.
You can refer which port is mapped to which pin by referring to this Cisco document.
Pushing the cable into the terminal block with a tool.
The final product after pressing into the terminal block.
Row of IP phones and analogue phones. These analogue phones are industrial certified phones mostly used in oil and gas or other highly hazardous areas.
Connection from VG224 to the analogue phones.
A closer view of the terminal block.