Introduction
This article explains how configure a Cisco device and record voice on an HTTP server.
Using the code
Shown here is a sample configuration for a Cisco device which is voice enabled on one port:
.
.
.
call application voice vxml flash:1:/http_rec.vxml
!
voice-port 0/0
supervisory disconnect dualtone mid-call
supervisory answer dualtone
pre-dial-delay 2
no battery-reversal
input gain 14
output attenuation -6
echo-cancel coverage 32
timeouts interdigit 2
timeouts call-disconnect 1
timeouts wait-release 3
!
!
!
!
dial-peer cor custom
!
!
!
dial-peer voice 100 pots
application vxml
incoming called-number .
direct-inward-dial
port 0/0
!
.
.
.
Now, create a VXML file for the Voice application (http_rec.vxml):

After that, you should create an ASP.NET project and add a record.aspx file to this project. I the code-behind, add this code in the Page_Load method:
Request.Files["myrec"].SaveAs(@"first.au");
Points of Interest
If you want to learn more about VXML, read: Cisco VoiceXML Programmer’s Guide.
History
- 21/05/2006: A simple voice recording on an HTTP server with a Cisco device.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here