PDA

View Full Version : AA - Welcome message+info to ext.


nlucas
04-10-2007, 08:21 AM
hell, i didn't now if this is the right place to post this...but this is my problem,

I want to quadro(AA-00) pickup the incoming call play a welcome message, after that the caller will be automatically transfer to the extension 31 ("operator" extension) but when the call is tranfered i want the caller to listen a music+info insted the ring tone

My problem is the part of this scenario is the "music+info" insted the ring tone, i tried like this(see scenario) i put booth messages ("welcomesg.wav" "wepickupthecallshortly.wav" ) in custom scenario voice messages of quadro AA, booth messages are played but the cal only transfer after the second message ends...and ear the the ring anyway!!!

This is the scenario....can you help me?

(sory for my bad english)
Best regards



<?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.0">
<noinput count="1">
<assign name="field1" expr="'31'"/>
<goto nextitem="field2" />
</noinput>
<form id="mainform">
<block>
<prompt bargein="true"> <audio src="welcomesg.wav" /> </prompt>
<goto nextitem="field1"/>
</block>
<field name="field1" type="digits?length=1" modal="false">
<prompt timeout="2s">
<audio src="wepickupthecallshortly.wav" />
</prompt>
<option dtmf="1" value="39" />
<option dtmf="2" value="32" />
<option dtmf="9" value="31" />
<filled>
<goto nextitem="field2"/>
</filled>
</field>
<object name="field2" classid="connect">
<param name="extension" expr="field1"/>
<filled>
<prompt> <audio src="timeover.wav" /> </prompt>
<exit/>
</filled>
<nomatch>
<goto nextitem="field1"/>
</nomatch>
</object>
</form>
</vxml>