I’ve written a program that runs as a proxy and receives requests to originate calls. In the “simple example”; I receive a request; send it to Asterisk via the Asterisk Manager session I’ve enabled and the call goes out – every time.
However, when I start to add load things don’t work quite so well. It is like some of the originate requests “get lost” although I’ve successfully written them to the port…
In some cases I get back an Originate Successfully queued and in a couple cases I get back an Originate Failed and in some cases I don’t get a response.
Right now I am simply firing off a bunch of originates and then go look for event responses. Should I be waiting for the Event Response to the Action ID passed in before processing the next Originate message? Can Asterisk get confused if it receives to many Originate commands in “short order”?
any insight would be greatly appreciated.