Click here to Skip to main content
15,886,714 members
Articles / Web Development / ASP.NET
Article

Configuring and Recording Voice with Cisco and ASP.NET (VXML)

Rate me:
Please Sign up or sign in to vote.
1.14/5 (10 votes)
31 May 2006 24.7K   14   1
How to configure and record voice with Cisco and ASP.NET, using VXML.

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):

Image 1

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:

C#
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.

License

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


Written By
Software Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
Generalget buffers Pin
is_vlb5015-Jul-07 6:18
is_vlb5015-Jul-07 6:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.