Given the excellent info & suggestions on the list perhaps a Witango documentation wiki would be an efficient & useful tool-- something akin to the PHP wiki. 

This approach if done right could take some of the pressure off Robert so he can concentrate on bugs & features and in addition would raise the profile of Witango on the Net.

Mikal Anderson

On 12/9/2010 07:46, Robert Shubert wrote:

Ted,

 

It must be big enough. One thing you can do is execute your @URL with MAXRESULTSIZE=10000000 (10 meg should be big enough)

 

And then do: <@VARINFO method$vxml size> which will return the number of bytes that you received. Then I would probably double that number for the final value to use in maxresultsize.

 

Additionally, you can do this:

 

Let’s say that you set maxresultsize to 128000 as you suggest. Immediately after the @URL you can put an IF action that will compare “128000” and <@VARINFO vxml size>. If they are equal then you filled the buffer and likely do not have all the information. Now you can error gracefully and call this problem to your attention. You could even build a WHILE loop that dynamically increased maxresultsize until it was big enough, but that’s probably a little more than you need.

 

Robert

 




To unsubscribe from this list, please send an email to [email protected] with "unsubscribe witango-talk" in the body.

Reply via email to