PDA

View Full Version : XML script HELP



alfredp
03-04-2007, 04:37 PM
I am trying to insert the following into my AA script, but I just can't seem to get it right.


Can someone please interpret this and correct it for me?


I want the afterhours.wav to play, then immediately go to VM of ext13. I setup 12?? patern in the CRT as Voicemail, so I'm guessing 1213 will go to Ext13 VM???? or have I totally lost the plot??


<form id="menu_after_hours">



<object name="tranfer" classid="connect">
<param name="extension" expr="'1213'"/>
</object>
<exit/>


</form>


<!-- -->
<!-- Menu Options routines -->
<!-- -->



<block>
<prompt bargein="false">
<audio src="afterhours.wav"/>
</prompt>

</block>
<goto nextitem="vm"/>
<object name="vm" classid="connect">
<param name="extension" expr="'1213'"/>
</object>
<exit/>
</form>


</vxml>

threebit
03-05-2007, 07:12 AM
I believe you need to use the dial object, which would send the digits through the Call Routing table, whereas Connect simply tries to connect to a PBX extension.