To get this functionality you have to set in the PRI configuration tool the proper Mode of switching SIM card. Go to the menu Gateway configuration > GSM outgoing groups > Mode of switching SIM card and select one of following:

See the complete description of modes below.

Mode of switching SIM card defines how the SIM cards will be used in the selected GSM group