cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
101
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Janine Graves on 09-01-2007 03:58:34 PM
does audium call services run each phone call in a separate thread? if not, is there ever a case when one call's problems 'hangs' cs?

also, when a call is in progress, and the voice browser comes back with the next http request with data, does the request go to the same 'thread' within cs that is dealing with this caller? Or does it just go to CS, who has stored all the info about the call into memory?

Subject: RE: call services question
Replied by: Vance Vagell on 09-01-2007 04:15:26 PM
Hi Janine,

The part of Audium Call Services which actively handles HTTP requests and returns VoiceXML is a web application running on an application server, and it therefore has the same architecture (in terms of threads) as all web applications. That said, how threading is used to handle incoming requests is fully dependent on which application server is used. For example, Tomcat includes support for a thread pool that can be reused between various incoming requests. For comparison, older versions of Tomcat used to allocate a new thread for each incoming request. Other application servers may handle this in their own way; we recommend that you refer to your application server's documentation for information about how threads are utilized to handle incoming requests.

In regards to your second question, as with all applications there is always the possibility that a bug in custom code or in a configuration could lead to one call preventing the processing of other calls. An example of this might be a mis-configured Database element which inserts bad data into a database used by all callers. Once that element is visited, future calls could be disrupted. Another example might be a custom class that enters into an infinite loop, since it consumes all CPU cycles then all calls would be effected. As noted earlier, these are problems that can occur in any application and are not specific to Audium software.

Hope this helps,
Vance
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links