A method for optimizing the electrical consumption of a residential gateway comprising at least one FXS port to which is connected an analog telephone via a line, said FXS port being configured on the basis of a, so-called default, pair of polarization points PPD which defines maximum voltage and current characteristics of the line which are predetermined so as to ensure the proper operation of the telephone in on-hook or off-hook mode whatever the type of this telephone, the method comprising the following steps: - storing at least one other, so-called economic, pair of polarization points PPEi which defines maximum voltage and current characteristics of the line which are lower than those defined by the default pair of polarization points PPD, - selecting a pair of polarization points from among the default pair of polarization points PPD and said at least one economic pair of polarization points PPEi, according to the result of a comparative test of the set of these pairs of polarization points, and - configuring the FXS port on the basis of the pair of polarization points thus selected, said method being characterized in that, in the course of the selection of a pair of polarization points: - the FXS port is configured on the basis of an economic pair of polarization points, - an incoming call signal is sent to the telephone via the line, - in case the telephone should be placed off-hook by a user before the expiry of a time period T1, - a voice message is sent destined for this telephone, - the positive or negative sentiment of the user is garnered on completion of listening to this voice message, - in case the telephone should not be placed off-hook by a user on completion of the predetermined time period T1, a negative sentiment is assigned to this pair of polarization points, - these steps are repeated for each economic pair of polarization points, - in case of positive sentiment of the user for an economic pair of polarization points, this economic pair of polarization points is selected, - in the case where no sentiment is positive, the default pair of polarization points is selected. - storing at least one other, so-called economic, pair of polarization points PPEi which defines maximum voltage and current characteristics of the line which are lower than those defined by the default pair of polarization points PPD, - selecting a pair of polarization points from among the default pair of polarization points PPD and said at least one economic pair of polarization points PPEi, according to the result of a comparative test of the set of these pairs of polarization points, and - configuring the FXS port on the basis of the pair of polarization points thus selected, - the FXS port is configured on the basis of an economic pair of polarization points, - an incoming call signal is sent to the telephone via the line, - in case the telephone should be placed off-hook by a user before the expiry of a time period T1, - a voice message is sent destined for this telephone, - the positive or negative sentiment of the user is garnered on completion of listening to this voice message, - in case the telephone should not be placed off-hook by a user on completion of the predetermined time period T1, a negative sentiment is assigned to this pair of polarization points, - these steps are repeated for each economic pair of polarization points, - in case of positive sentiment of the user for an economic pair of polarization points, this economic pair of polarization points is selected, - in the case where no sentiment is positive, the default pair of polarization points is selected.