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)
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.