Report Server Time to Caller
Posted: Tue Sep 06, 2011 12:07 pm
We are currently woking on a project that allows users to call in and use phone to clock in and clock out. The code we have in scratchpad is the following:
<?xml version="1.0"?>
<vxml version="2.0">
<var name="CallerID" expr="session.telephone.ani" />
<form>
<block>
<prompt>
Welcome to Visit Clock.
</prompt>
</block>
<field name="ProviderID" type="digits">
<prompt>
Please enter your employee identification number using your keypad.
</prompt>
</field>
<field name="ClientID" type="digits">
<prompt>
Please enter your client identification number using your keypad.
</prompt>
</field>
<filled>
<submit namelist="CallerID ProviderID ClientID" next="http://67.78.126.234/VisitClock.Service ... dCall.aspx" />
</filled>
</form>
</vxml>
The code on our server is the following:
<vxml version=""2.0""><form><block><prompt>Thank you for using Visit Clock. Goodbye.</prompt></block></form></vxml>
How can we include code to tell the caller the call time? Can we send back the time from our server?
Please help.
Thanks
Hector Leal
<?xml version="1.0"?>
<vxml version="2.0">
<var name="CallerID" expr="session.telephone.ani" />
<form>
<block>
<prompt>
Welcome to Visit Clock.
</prompt>
</block>
<field name="ProviderID" type="digits">
<prompt>
Please enter your employee identification number using your keypad.
</prompt>
</field>
<field name="ClientID" type="digits">
<prompt>
Please enter your client identification number using your keypad.
</prompt>
</field>
<filled>
<submit namelist="CallerID ProviderID ClientID" next="http://67.78.126.234/VisitClock.Service ... dCall.aspx" />
</filled>
</form>
</vxml>
The code on our server is the following:
<vxml version=""2.0""><form><block><prompt>Thank you for using Visit Clock. Goodbye.</prompt></block></form></vxml>
How can we include code to tell the caller the call time? Can we send back the time from our server?
Please help.
Thanks
Hector Leal