Created by: Patrick Hartl on 29-12-2009 11:07:38 AM Hello, I want to use different prompts and transfer audio files depending on the actual time. (different audio on night and on day) I found a sample config with:
<object name="dtfield" classid="datetime"> ..... but the vxml gives me an error. I can´t find a docuimentation or a tutorial for cisco routers. Has anyone experience with this toipc ? regards Patrick
Subject: RE: Date Time with VXML Replied by: Patrick Hartl on 30-12-2009 08:53:13 AM OK, This could be a solution. JavaScript could be useful : <pre><?xml version="1.0"?> <vxml version="2.1" xmlns="http://www.w3.org/2001/vxml">
<script> <![CDATA[ // explicitly declare d using var var d = new Date(); // store the month utc_month = d.getUTCMonth(); // store the day of the month utc_day = d.getUTCDate(); // store the year including the century utc_year = d.getUTCFullYear(); ]]> </script> </vxml>
Can I use C# or ASP.NET to generate a vxml File for the Cisco Router ?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: