Re: [Asterisk-java-users] fastagi.command.GetDataCommand issue
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-05-08 12:42:36
|
> Um, just change return "GET DATA " + escapeAndQuote(file) + " " + > timeout + ... > to "GET DATA " + escapeAndQuote(file) + " " + (timeout != 0 ? > timeout : "") > and likewise for maxDigits. ok I changed it so that timeout and maxDigits are only included when needed. It seems kinda inconstent as timeout must be send if maxDigits is sent. so if timeout is not set setting maxDigits decides whether to sent a 0 for timeout or not. Thats where I adopted "Consistency is the hobgoblin of small minds" *g* =Stefan |