Click here to Skip to main content
11,640,125 members (68,422 online)
Click here to Skip to main content

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

, 21 May 2006 CPOL 33.7K 13 18
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

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

You may also be interested in...

Comments and Discussions

 
QuestionHow to deploy this call recorder. Pin
withersj6-Jul-09 21:51
memberwithersj6-Jul-09 21:51 
AnswerRe: How to deploy this call recorder. Pin
Emad Rangchi6-Jul-09 22:57
memberEmad Rangchi6-Jul-09 22:57 
GeneralThe Code for the Record.aspx File Pin
IngiSens14-Nov-07 6:04
memberIngiSens14-Nov-07 6:04 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi14-Nov-07 12:38
memberEmad Rangchi14-Nov-07 12:38 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 0:07
memberIngiSens15-Nov-07 0:07 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 5:33
memberEmad Rangchi15-Nov-07 5:33 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 6:44
memberIngiSens15-Nov-07 6:44 
GeneralRe: The Code for the Record.aspx File Pin
IngiSens15-Nov-07 10:58
memberIngiSens15-Nov-07 10:58 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 22:09
memberEmad Rangchi15-Nov-07 22:09 
GeneralRe: The Code for the Record.aspx File Pin
Emad Rangchi15-Nov-07 21:54
memberEmad Rangchi15-Nov-07 21:54 
GeneralRe: The Code for the Record.aspx File Pin
Mayur Nirmal1-Apr-10 4:38
memberMayur Nirmal1-Apr-10 4:38 
GeneralGreat article Pin
Dr.Grimy9-Jul-06 1:51
memberDr.Grimy9-Jul-06 1:51 
GeneralTerse Pin
norm.net21-May-06 23:45
membernorm.net21-May-06 23:45 
AnswerRe: Terse Pin
Emad Rangchi21-May-06 23:51
memberEmad Rangchi21-May-06 23:51 

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 | Terms of Use | Mobile
Web01 | 2.8.150731.1 | Last Updated 21 May 2006
Article Copyright 2006 by Emad Rangchi
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid