Page 101 / 127 Scroll up to view Page 96 - 100
94
Appendix C: Dial Plan and Auto-Attendant Scripting for Advanced Users
Configuring the Auto-Attendant
IP Telephony System
Example of a Typical Auto-Attendant Setup
This section will describe a typical auto-attendant. Here is the scenario:
An incoming call on Line 1 sequentially tries extensions 501, 503, and then 502. If the call is not answered, then
the auto-attendant picks up the call. The auto-attendant announces prompts 5, 8, and 9 in sequence, and then
waits up to 10 seconds for user input. If no input is received, then the call is forwarded to extension 501. If the
user enters the following:
an invalid extension - Prompt 3 is played. Afterwards, the auto-attendant starts over again.
1 - Prompts 7, 8, and then 9 are played. Afterwards, the auto-attendant starts over again.
2 - The auto-attendant begins executing the SUPPORT form and starts playing prompt 10. The significant
differences between the 2 forms are as follows:
The dial plan has been changed to the AA Dial Plan 2 parameter. This includes the * character (asterisk),
which instructs the auto-attendant to resume with the “dt” form.
Prompt 10 is played every five seconds, until the user inputs an extension.
All other valid extensions (defined here to be 0, 3, 5xx, 8001) are forwarded to the associated client.
DayTime
This parameter defines the daytime hours. (The other hours are considered nighttime hours.)
Format:
start=hh:mm:ss;end=hh:mm:ss
The abbreviation hh stands for hours and uses the 24-hour format. The abbreviation mm stands for
minutes, and the abbreviation ss stands for seconds.
Example:
start=9:0:0;end=17:0:0
In this example, the start time is 9 AM and the end time is 5 PM. The other hours (5 PM to 9 AM) are
considered nighttime hours.
If you do not enter start and end times, then the whole day (24 hours) is considered as daytime, so the
nighttime auto-attendant will be disabled, even if the NightTime AA parameter is set to yes (enabled).
Str64
Table 5: Additional Auto-Attendant Configuration Parameters
Parameter
Description
Type
Page 102 / 127
95
Appendix C: Dial Plan and Auto-Attendant Scripting for Advanced Users
Configuring the Auto-Attendant
IP Telephony System
The following table lists the parameters for this example.
Table 6: Configuration Parameters for the Example
Parameter
Value
(Line 1) Contact List
501,503,502,hunt=re;4;1,cfwd=aa
AA Dial Plan 1
(<0:501>|1|<2:200>|<3:300>|5xx|8001)
AA Dial Plan 2
(<1:501>|*|<2:502>|<3:503>|5xx)
AA script 1
See form id= “dt” below
AA script 2
See form id= “nt” below
DayTime AA
yes
DayTime AA Script
1
NightTime AA
yes
NightTime AA Script
2
Prompt 1-4
See the defaults in Table 3: Default Auto-Attendant Prompts.
Prompt 5
“Welcome to All Seasons Travel.”
Prompt 6
“Thank you for calling All Seasons Travel. Presently we are closed.”
Prompt 7
“We are open Monday through Friday 9 AM to 5:30 PM, Saturdays from 9 AM to
noon, and we are closed on Sundays. Our address is 101 Main Street, Anytown,
Anystate, USA.”
Prompt 8
“If you know your party’s three-digit extension, you may enter it now.”
Prompt 9
“To reach our receptionist, press
0
at any time. For our company location, press
1
. For sales, press
2
. For travel support, press
3
. Otherwise, please stay on the
line for our receptionist.”
Prompt 10
“Welcome to the All Seasons Travel support line. If this is regarding our Holiday
Getaway Special, please press
1
; otherwise, please stay on the line for one of
our travel associates.”
Page 103 / 127
96
Appendix C: Dial Plan and Auto-Attendant Scripting for Advanced Users
Configuring the Auto-Attendant
IP Telephony System
The following is the actual code for this example:
<aa>
<form id="nt" type="menu">
<audio src="prompt6" bargein="F"/>
<audio src="prompt7" bargein="F"/>
<audio src="prompt8" bargein="T"/>
<noinput timeout="15" repeat="T"/>
<nomatch repeat="F">
<audio src="prompt3" bargein="T"/>
</nomatch>
<dialplan src="dp1"/>
<match>
<default>
<audio src="prompt2"/>
<xfer name="ext" target="$input"/>
</default>
</match>
</form>
</aa>
<aa>
<form id="dt" type="menu">
<audio src="prompt5" bargein="T"/>
<audio src="prompt8" bargein="T"/>
<audio src="prompt9" bargein="T"/>
<noinput timeout="10">
<xfer name="rep" target="501"/>
</noinput>
<nomatch repeat="T">
<audio src="prompt3" bargein="T"/>
</nomatch>
<dialplan src="dp1"/>
<match>
<case input="1">
<audio src="prompt7" bargein="F"/>
<audio src="prompt8" bargein="T"/>
<audio src="prompt9" bargein="T"/>
</case>
<case input="2">
Page 104 / 127
97
Appendix C: Dial Plan and Auto-Attendant Scripting for Advanced Users
Configuring the Auto-Attendant
IP Telephony System
<audio src="prompt2" bargein="F"/>
<goto link="SUPPORT"/>
</case>
<default>
<audio src="prompt2" bargein="T"/>
<xfer name="ext" target="$input"/>
</default>
</match>
</form>
<form id="SUPPORT" type="menu">
<dialplan src="dp2"/>
<audio src="prompt10" bargein="T"/>
<noinput timeout="5" repeat="T"/>
<nomatch repeat="T">
<audio src="prompt3" bargein="T"/>
</nomatch>
<match>
<case input="*">
<audio src="prompt2" bargein="F"/>
<goto link="dt"/>
</case>
<default>
<audio src="prompt2"/>
<xfer name="ext" target="$input"/>
</default>
</match>
</form>
</aa>
Page 105 / 127
98
Appendix D: New Music for the Music-on-Hold Feature
Overview
IP Telephony System
Appendix D: New Music for the Music-on-Hold Feature
Overview
The System provides a default internal music file for music-on-hold. This is the music file heard by callers when
their calls are placed on hold or in the parking lot (call park feature). You can use a TFTP transfer to replace the
default file with your own music file.
This appendix describes how to convert your music file to the appropriate format and then configure the System.
Before You Begin
Make sure you have the following for the computer you are using:
TFTP server software
a program to convert the music file (for example, MP3) to the raw G711u format
its local IP address
You can use any TFTP server software and any music conversion program that supports the raw G711u format.
To find the local IP address of this computer, follow these instructions:
1.
Click
Start
.
2.
Click
Run
.
3.
Enter
cmd
in the
Open
field, and click the
OK
button.
4.
At the prompt, enter
ipconfig
and press the
Enter
key.
5.
The local IP address of the computer will be displayed. Write it down; you will use it later.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top