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

Configure And Reocrding voice with Cisco and ASP.Net (VXML)

Rate me:
Please Sign up or sign in to vote.
3.58/5 (6 votes)
21 May 2006CPOL 47.8K   19   14
This article explain how configure a cisco device and recording voice on http server .

Introduction

This article explain how configure a cisco device and recording voice on http server .

Using the code

Here I show a sample configuration for cisco 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 an VXML file for Voice application (http_rec.vxml)
 

Sample image

after that you should create an asp.net project and add record.aspx file to this project. in the codebehind type this code in Page_Load method

Request.Files["myrec"].SaveAs(@"first.au");

Variable or class names should be wrapped in <code> tags like this.

Points of Interest

If you want learning more about VXML read :Cisco VoiceXML Programmer’s Guide

History

21/05/2006 :A simple voice recording on http server with cisco device.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


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

 
QuestionHow to deploy this call recorder. Pin
withersj6-Jul-09 21:51
withersj6-Jul-09 21:51 
AnswerRe: How to deploy this call recorder. Pin
Emad Rangchi6-Jul-09 22:57
Emad Rangchi6-Jul-09 22:57 
GeneralThe Code for the Record.aspx File Pin
IngiSens14-Nov-07 6:04
IngiSens14-Nov-07 6:04 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi14-Nov-07 12:38
Emad Rangchi14-Nov-07 12:38 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 0:07
IngiSens15-Nov-07 0:07 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 5:33
Emad Rangchi15-Nov-07 5:33 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 6:44
IngiSens15-Nov-07 6:44 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 10:58
IngiSens15-Nov-07 10:58 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 22:09
Emad Rangchi15-Nov-07 22:09 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 21:54
Emad Rangchi15-Nov-07 21:54 
GeneralRe: The Code for the Record.aspx File Pin
Mayur Nirmal1-Apr-10 4:38
Mayur Nirmal1-Apr-10 4:38 
GeneralGreat article Pin
Dr.Grimy9-Jul-06 1:51
Dr.Grimy9-Jul-06 1:51 
GeneralTerse Pin
NormDroid21-May-06 23:45
professionalNormDroid21-May-06 23:45 
AnswerRe: Terse Pin
Emad Rangchi21-May-06 23:51
Emad Rangchi21-May-06 23:51 
This article work on all multi access server with IOS 12.2(voice enabled) or later .I test it on 1700 but I know it work on 5300,5350 or other voice supported cisco device

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.