February 17, 2012 – 9:22 pm | No Comment

3CX Phone System Multi Tenant enables resellers to offer a hosted PBX service
London UK, February 17 2012 – 3CX, international telecommunications developer of Windows-based PBX software, today announced the release of 3CX Phone System Multi …

Read the full story »
Releases

3CX Product Releases

VoIP How To

Technical tips to run your VoIP PBX more efficiently

Events

3CX Trainings and Webinars around the world

Docs & FAQ

3CX Documentation how to and FAQ

Phone configuration

3CX, Aastra, Cisco, Yealink, Grandstream, Polycom configs

Home » Docs & FAQ, VoIP How To

Recording Large Messages with the VAD

Submitted by on January 25, 2012 – 10:24 pmNo Comment

Recording Large Messages in 3CX Voice Application DesignerThe powerful tool for creating voice applications for 3CX Phone System, the 3CX Voice Application Designer (VAD) allows you to record the audio of a call and store it as a file to disk. Sometimes, however, the default 3CX web server configuration can cause the recording of the file to disk to fail. This article explains why this happens and how to fix it.

The Application Generated by the VAD

When the 3CX Voice Application Designer compiles an application, it transforms the designed application diagrams into VoiceXML scripts. These scripts are web pages that run on the 3CX web server, and as the call progresses it transitions between pages. Each component of the diagram can be transformed into one or two web pages.

The Record Component

In order to record the audio of a call from an application created with the 3CX Voice Application Designer we need to use a Record component. When you configure this component to save the recording to disk, the VAD generates two web pages for this component. The first page is responsible for telling the 3CX IVR to record the audio in memory. Then 3CX IVR sends an HTTP POST request to the second page generated by sending the recorded audio file as data within that request.

The 3CX Web Server

Whether you use IIS or Abyss as your web server, the default configuration limits the size of the information that can be sent in an HTTP request. This limitation is intended to prevent denial of service attacks that are caused, for example, by users sending large files to the server to keep it busy and being unable to respond to real requests.

The default value of this limit is 4MB, and this becomes an issue when trying to record audio with a duration of about 5 minutes or longer.

How To Fix It

The solution is simple. We just need to modify a configuration file to increase this limit to a point where it no longer interferes. To do this:

1) Open the following configuration file with a text editor:

%ProgramData%\3CX\Data\Http\Interface\ivr\web.config

2) Add the maxRequestLength parameter assigning the desired value. For example, to set it to 16Mb and allow recordings of up to approximately 20 minutes:

<configuration>

<system.web>

<httpRuntime maxRequestLength=”16384″/>

</system.web>

</configuration>

NOTE: The configuration file will have many other values, here we only show the parameter to be added and the elements that contain (configuration / system.web) in order to provide a reference of where to locate it.

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.