~damg/ubuntu/quantal/asterisk/LP1097687

« back to all changes in this revision

Viewing changes to doc/tex/asterisk/node263.html

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-10-15 22:24:34 UTC
  • mfrom: (1.2.8 upstream) (8.3.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101015222434-iy328q8in3lajzlv
Tags: 1:1.6.2.9-2ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control:
    + Build-depend on hardening-wrapper
    + Change Maintainer
    + Removed Uploaders field.
    + Removed Debian Vcs-Svn entry and replaced with ubuntu-voip Vcs-Bzr,
      to reflect divergence in packages.
  - debian/rules: Make use of hardening-wrapper
  - debian/asterisk.init: chown /dev/dahdi
  - debian/backports/hardy: add file
  - debian/backports/asterisk.init.hardy: add file
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8
8
<HTML>
9
9
<HEAD>
10
 
<TITLE>The Main Menu</TITLE>
11
 
<META NAME="description" CONTENT="The Main Menu">
 
10
<TITLE>Routing incoming Calls to Queues</TITLE>
 
11
<META NAME="description" CONTENT="Routing incoming Calls to Queues">
12
12
<META NAME="keywords" CONTENT="asterisk">
13
13
<META NAME="resource-type" CONTENT="document">
14
14
<META NAME="distribution" CONTENT="global">
18
18
 
19
19
<LINK REL="STYLESHEET" HREF="asterisk.css">
20
20
 
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">
25
25
</HEAD>
26
26
 
27
27
<BODY >
28
28
 
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"
35
 
  HREF="node262.html">
 
34
<A NAME="tex2html4106"
 
35
  HREF="node261.html">
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"
43
43
  HREF="node1.html">
44
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
46
46
<BR>
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
 
 &nbsp; <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
 &nbsp; <B>  <A NAME="tex2html4109"
54
54
  HREF="node1.html">Contents</A></B> 
55
55
<BR>
56
56
<BR></DIV>
57
57
<!--End of Navigation Panel-->
58
58
 
59
 
<H3><A NAME="SECTION001422100000000000000">
60
 
The Main Menu</A>
61
 
</H3>
62
 
 
63
 
<P>
64
 
At Digium, incoming callers are sent to the "mainmenu" context, where they
65
 
are greeted, and directed to the numbers they choose...
66
 
 
67
 
<P>
68
 
</B></SMALL>
69
 
<UL>
70
 
<LI><PRE>
71
 
context mainmenu {
72
 
 
73
 
        includes {
74
 
                digium;
75
 
                queues-loginout;
76
 
        }
77
 
 
78
 
        0 =&gt; goto dispatch,s,1;
79
 
        2 =&gt; goto sales,s,1;
80
 
        3 =&gt; goto customerservice,s,1;
81
 
        4 =&gt; goto dispatch,s,1;
82
 
 
83
 
        s =&gt; {
84
 
                Ringing();
85
 
                Wait(1);
86
 
                Set(attempts=0);
87
 
                Answer();
88
 
                Wait(1);
89
 
                Background(digium/ThankYouForCallingDigium);
90
 
                Background(digium/YourOpenSourceTelecommunicationsSupplier);
91
 
                WaitExten(0.3);
92
 
        repeat:
93
 
                Set(attempts=$[${attempts} + 1]);
94
 
                Background(digium/IfYouKnowYourPartysExtensionYouMayDialItAtAnyTime);
95
 
                WaitExten(0.1);
96
 
                Background(digium/Otherwise);
97
 
                WaitExten(0.1);
98
 
                Background(digium/ForSalesPleasePress2);
99
 
                WaitExten(0.2);
100
 
                Background(digium/ForCustomerServicePleasePress3);
101
 
                WaitExten(0.2);
102
 
                Background(digium/ForAllOtherDepartmentsPleasePress4);
103
 
                WaitExten(0.2);
104
 
                Background(digium/ToSpeakWithAnOperatorPleasePress0AtAnyTime);
105
 
                if( ${attempts} &lt; 2 ) {
106
 
                        WaitExten(0.3);
107
 
                        Background(digium/ToHearTheseOptionsRepeatedPleaseHold);
108
 
                }
109
 
                WaitExten(5);
110
 
                if( ${attempts} &lt; 2 ) goto repeat;
111
 
                Background(digium/YouHaveMadeNoSelection);
112
 
                Background(digium/ThisCallWillBeEnded);
113
 
                Background(goodbye);
114
 
                Hangup();
115
 
        }
116
 
}
117
 
</PRE><SMALL CLASS="SCRIPTSIZE"><B>
118
 
</LI>
 
59
<H2><A NAME="SECTION001422000000000000000">
 
60
Routing incoming Calls to Queues</A>
 
61
</H2>
 
62
 
 
63
<P>
 
64
Then in extensions.ael, you can do these things:
 
65
 
 
66
<P>
 
67
<BR><HR>
 
68
<!--Table of Child-Links-->
 
69
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
70
 
 
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>
119
76
</UL>
120
 
<P>
 
77
<!--End of Table of Child-Links-->
121
78
<BR><HR>
122
79
<ADDRESS>
123
80
lmadsen
124
 
2010-05-03
 
81
2010-06-17
125
82
</ADDRESS>
126
83
</BODY>
127
84
</HTML>