Two Analog Service Provider

Hi,

I have four analogical lines in FXO interfaces, would like to create two service providers analogical type. I need to route the incoming calls in the port FXO 5# (service provider 1 analog type) to RingGroup1, and the incoming calls in the port FXO 6#, 7# and 8# (service provider 2 analog type) to RingGroup2. It’s possible?

Tks
Douglas