Hi -
I have an inbound and outbound IAX trunk the same trunk is used for incoming and outgoing calls, but I need to limit the number of incoming calls as they are eating up the bandwidth for my outgoing calls. Do I just need to setup 2 trunks and set the number of channels on each respectively?
Thanks!
Hi,
I am working on an agi for something similar: I have got 4 trunk lines (a pair of ISDN BRI) lines and want to take no more than two incoming calls at a time. All but a few calls (from specific callers, or to specific DDI extensions) go to a agi dial script that uses manager api to count calls already active, before it rings a phone or just drops the call
The code basically works but has not been stress tested