19
19
<LINK REL="STYLESHEET" HREF="asterisk.css">
21
<LINK REL="next" HREF="node264.html">
21
<LINK REL="next" HREF="node266.html">
22
22
<LINK REL="previous" HREF="node262.html">
23
<LINK REL="up" HREF="node262.html">
23
<LINK REL="up" HREF="node261.html">
24
24
<LINK REL="next" HREF="node264.html">
29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
30
<A NAME="tex2html4109"
30
<A NAME="tex2html4110"
31
31
HREF="node264.html">
32
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33
33
SRC="/usr/share/latex2html/icons/next.png"></A>
34
<A NAME="tex2html4105"
34
<A NAME="tex2html4106"
36
36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37
37
SRC="/usr/share/latex2html/icons/up.png"></A>
38
<A NAME="tex2html4099"
38
<A NAME="tex2html4100"
39
39
HREF="node262.html">
40
40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41
41
SRC="/usr/share/latex2html/icons/prev.png"></A>
42
<A NAME="tex2html4107"
42
<A NAME="tex2html4108"
44
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
45
SRC="/usr/share/latex2html/icons/contents.png"></A>
47
<B> Next:</B> <A NAME="tex2html4110"
48
HREF="node264.html">The Contexts referenced from</A>
49
<B> Up:</B> <A NAME="tex2html4106"
50
HREF="node262.html">Routing incoming Calls to</A>
51
<B> Previous:</B> <A NAME="tex2html4100"
52
HREF="node262.html">Routing incoming Calls to</A>
53
<B> <A NAME="tex2html4108"
47
<B> Next:</B> <A NAME="tex2html4111"
48
HREF="node264.html">The Main Menu</A>
49
<B> Up:</B> <A NAME="tex2html4107"
50
HREF="node261.html">Configuring Call Queues</A>
51
<B> Previous:</B> <A NAME="tex2html4101"
52
HREF="node262.html">queues.conf</A>
53
<B> <A NAME="tex2html4109"
54
54
HREF="node1.html">Contents</A></B>
57
57
<!--End of Navigation Panel-->
59
<H3><A NAME="SECTION001422100000000000000">
64
At Digium, incoming callers are sent to the "mainmenu" context, where they
65
are greeted, and directed to the numbers they choose...
78
0 => goto dispatch,s,1;
79
2 => goto sales,s,1;
80
3 => goto customerservice,s,1;
81
4 => goto dispatch,s,1;
89
Background(digium/ThankYouForCallingDigium);
90
Background(digium/YourOpenSourceTelecommunicationsSupplier);
93
Set(attempts=$[${attempts} + 1]);
94
Background(digium/IfYouKnowYourPartysExtensionYouMayDialItAtAnyTime);
96
Background(digium/Otherwise);
98
Background(digium/ForSalesPleasePress2);
100
Background(digium/ForCustomerServicePleasePress3);
102
Background(digium/ForAllOtherDepartmentsPleasePress4);
104
Background(digium/ToSpeakWithAnOperatorPleasePress0AtAnyTime);
105
if( ${attempts} < 2 ) {
107
Background(digium/ToHearTheseOptionsRepeatedPleaseHold);
110
if( ${attempts} < 2 ) goto repeat;
111
Background(digium/YouHaveMadeNoSelection);
112
Background(digium/ThisCallWillBeEnded);
117
</PRE><SMALL CLASS="SCRIPTSIZE"><B>
59
<H2><A NAME="SECTION001422000000000000000">
60
Routing incoming Calls to Queues</A>
64
Then in extensions.ael, you can do these things:
68
<!--Table of Child-Links-->
69
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
71
<UL CLASS="ChildLinks">
72
<LI><A NAME="tex2html4112"
73
HREF="node264.html">The Main Menu</A>
74
<LI><A NAME="tex2html4113"
75
HREF="node265.html">The Contexts referenced from the queues.conf file</A>
77
<!--End of Table of Child-Links-->