I’ve been reading A LOT everyday all week long. And I can never find the exact answers to my problems. I’ve been to almost all the sites, I have 4 firefox windows open with 15 tabs open per window. All on AGI, TAPI, SAPI, API, Asterisk, Telcos, Asterisk .Net, I really need some help.
What I want to do is when there is an inbound call I want to setup I guess somewhere in the extensions/context to call a FastAGI script. If there is 20 calls I want it to call the same script 20 times simutaneously. What if I run out of bandwidth, what will happen to the calls, they probably wont even get through? And if they do get through I want them to run the same FastAGI script, since there aren’t actual people answering the phones there is no need for a queue, but I don’t know what to do if my bandwidth runs out.
I am making an application that will make outgoing calls through Originate , API, and I want the calls to dial a number (POTS) through a PTSN, and have a different extension/context handle this call, through a different FastAGI script.
a. So I will make one Fast AGI script to take calls, and one to handle outgoing calls. But how to I tell Asterisk to launch different AGI scripts depending if the call is outgoing or incoming?
b. How do I handle calls that are beyond my bandwidth?
c. How can I tell it not to run a queue but just to run the same FastAGI script?
I haven’t done anything to any of the config files could someone please help me out with these, it sucks that the documentation is so limited in giving examples =(
Thanks a lot!!!