4 ports are FXS and 4 ports are FXO
FXS means Foreign eXchange Subscriber. It delivers POTS service and must be connected to subscriber equipment (telephones, modems, and fax)
FXO means Foreign eXchange Office. It receives POTS service, typically from a Public Switched Telephone Network (PSTN). An FXO interface points to the Telco.