Re: [Asterisk-java-users] Asterisk/AGI response problem
Brought to you by:
srt
From: Jonathan A. <jau...@st...> - 2006-07-23 01:20:19
|
I would consider this a possibility if it was simply a delay in receiving the first prompt but the delays occur throughout the entire duration of the call. Also, this would not explain other anomalies like the initial prompt playing twice. On Jul 22, 2006, at 6:06 PM, Brett Sutton wrote: > Are you certain that its not a DNS issue. > If the asterisk server has periodically having trouble resolving > dns names to ip addresses then you can experience the sort of > delays you are talking about. > You can eliminate this as a possibility by using an IP address in > the dial plan. Of course if you are already using an IP address > then this is less likely to be the case. However be aware that if > the asterisk-java libraries is doing any DNS or reverse DNS lookups > before it passes the call to you then again you can experience the > problem. > > > > Jonathan Augenstine wrote: >> I have increased the pool size, but I was experiencing this with with >> only 2 or 3 calls. I am fairly certain that it is something going on >> in Asterisk and not the Asterisk-Java package, but I thought I would >> ping the group to see if someone else may have experienced the same >> behavior. I am currently working on the theory that something is >> going on with some module in Asterisk and I am disabling unused >> modules. Part of the difficulty I have had is that the behavior only >> lasts for a short time not giving me much time to enable debugging >> and then make test calls. This could be ugly but if it gets worse >> maybe it will be easier to troubleshoot. >> >> On Jul 21, 2006, at 1:29 AM, Stefan Reuter wrote: >> >> >>> Jonathan Augenstine wrote: >>> >>>> I have an Asterisk-Java app using >>>> the AGI interface. Simply it answers a call, plays some >>>> prompts, and >>>> collects DTMF. What has happened is that I have called in and the >>>> initial prompt plays twice. I also note a long delay in the >>>> start of >>>> the prompts playing. I have not timed the delay but it is on the >>>> order of 20-30 seconds. >>>> >>> Did you have more than 10 concurrent AGI requests to your AGI >>> server? >>> That might explain the delay that you encounter, because 10 is the >>> default pool size. You can adjust it in a properties file as >>> shown in >>> the tutorial. >>> I have no idea what might be the cause for the prompts being played >>> twice and never encountered that. Maybe you can trace it if you >>> enable >>> AGI debugging on Asterisk - but if its hard to reproduce... >>> >>> =Stefan >>> >>> -- >>> reuter network consulting >>> Neusser Str. 110 >>> 50760 Koeln >>> Germany >>> Telefon: +49 221 1305699-0 >>> Telefax: +49 221 1305699-90 >>> E-Mail: sr...@re... >>> >>> -------------------------------------------------------------------- >>> -- >>> --- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay p\anel and you'll get the chance to >>> share your >>> opinions on IT & business topics through brief surveys -- and earn >>> cash >>> http://www.techsay.com/default.php? >>> page=join.php&p=sourceforge&CID=DEVDEV______________________________ >>> __ >>> _______________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |