PDA

View Full Version : Basic Config



scrumpers
05-09-2009, 04:45 AM
I need a basic config where a recorded message is played welcome to company plase type the extension required or 1 for sales 2 for tech support 3 for account or wait for operator.

Is there any documentation about how I can achieve this ?

scrumpers
05-09-2009, 09:16 AM
Would the following piece of code be valid if my wav file only contained press 1 for sales 2 for tech support 3 for accounts and if you know the extension required please dial it which are all the 2 digit number ?

<field name="field1" type="digits?length=2" modal="false">
<prompt timeout="5s">
<audio src="departments.wav" />
</prompt>
<option dtmf="1" value="80" />
<option dtmf="2" value="81" />
<option dtmf="3" value="32" />
<option dtmf="22" value="22" />
<option dtmf="23" value="23" />
<option dtmf="24" value="24" />
<option dtmf="25" value="25" />

davrays
05-12-2009, 11:50 AM
This piece of code looks good. Anyway I would recommend you to look at this topic: http://support.epygi.com/forum/showthread.php?t=1541.

Best regards,
David