Problem Gsm Card Please Help

We have GSM Card 4 channel Sangoma & We have FXO Card 4 Channel ane we have problem with card GSM
When down signal any SIM cut all internal and external calls. automatic
When returning any sim of work cut all lines also. automatic
what solution please.