You can use the maxtime attribute of the VoiceXML <record> tag to specify the maximum duration of a recording. The default recording duration (in other words, the duration used if the maxtime attribute is not specified) is 2 minutes. If you choose to set the maxtime value higher, be aware that large amounts of memory are used to record and this change may result in memory problems. If an application fails after changing the maxtime attribute, check the logCat for ENOMEM or other memory errors and decrease the maxtime value accordingly.