Click here to Skip to main content
Click here to Skip to main content
Go to top

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

, 31 May 2006
Rate this:
Please Sign up or sign in to vote.
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):

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.

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

Share

About the Author

Emad Rangchi
Web Developer
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

Comments and Discussions

 
Generalget buffers Pinmemberis_vlb5015-Jul-07 6:18 

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

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

| Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 31 May 2006
Article Copyright 2006 by Emad Rangchi
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid