Dynamic Outbound Routing based on Load

We prefer to use our PRI for both incoming and outgoing calls, but would like to route future outgoing calls over a SIP trunk once 18 (or some other number) of the 23 PRI trunks are in use so that we can leave lines open for inbound calls which don’t dynamically route.

Any Ideas how to program this?

Hi you need to look at groupcount.

We use this for systems with limited bandwidth, counting in and outbound calls.