Share This Post:
Sending multiple calls to gateway
Using the Java Simple Interface functions, when I send a callText record to the gateway, do I have to wait for that call to be completed before sending the next record or can I just send over all records over and allow the gateway to cache and manage them? They have 2 modems and I would like to just send all records to the gateway to manage the calls on its own using both modems. Then I would track progress using the simple java interface keeping track of call progress events in our database.
Yes, you can send all calls to gateway and have gateway to schedule all the calls. This is what AutoReminder does. The only thing you need to take care of is not to flood the gateway with too many status polls. And make sure to remove the call status is the call is made or failed.
Another similar question:
We have a two-line gateway system using callreqHandler.jsp to send call records for TTS processing. Calls usually last approximately 2 minutes for the TTS to read the message. If I keep 3-4 records at the gateway to process at all times, will it queue the records appropriately and wait for the modems to become free or ultimately fail those records if the wait (retry) period is exceeded? Or is it necessary to keep only the number of records at the gateway equal to the number of lines?
Yes, it will queue the call requests if there is no available modem to make the phone call.
Once a call is make and if it reaches a busy line or no answer, it will set the call to retry. If it reaches the maximum retry time, it will fail the call, with a message like: “Maximum retry reached. …”
It will also fail the call if it cannot make the call before the “firstocc” time.
Share This Post: