We noticed that our ASTERISK Server peer connection to GSM Gateways were unstable. It keeps becoming unreachable intermittently. When we tried to reduce the channels at the GSM Gateways from 28 to 10, the peer connection becomes stable. Is there a way to know and control the calls per second (CPS) of ASTERISK? It looks like the GSM Gateways cannot handle the number of calls coming from the ASTERISK Server.
This example should get you going. Two things I would change, 1- The obvious chan_sip. 2. Instead of going to the other context, I’d rather do it all in one with a WhileLoop