[Asterisk-doc] docs extensions.xml,1.15,1.16
blitzrage
asterisk-doc@lists.digium.com
Tue, 1 Jun 2004 20:38:09 +0000
Comments:
Update of /cvsroot/asterisk/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16048/docs
Modified Files:
extensions.xml
Log Message:
blitzrage
- added a paragraph about Dial()
Index: extensions.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/extensions.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** extensions.xml 28 May 2004 04:04:12 -0000 1.15
--- extensions.xml 1 Jun 2004 20:38:03 -0000 1.16
***************
*** 402,405 ****
--- 402,412 ----
and we'll show them how to do that in a different section of the book.]
</para>
+ <para>
+ We are going to add to our movie theatre example by showing the use of the
+ <function>Dial()</function> function. If someone presses 0 during the playback
+ it will ring the ticket office. We are going to assume that the channel for
+ the ticket office has already been setup. For examples of how to setup
+ channels see Chapter 3.
+ </para>
<informalexample>
<programlisting>
***************
*** 414,418 ****
exten=>0,1,Dial(Zap/1)
</programlisting>
! </informalexample>
<para>
[By this section of the chapter, the reader should understand Answer(),
--- 421,435 ----
exten=>0,1,Dial(Zap/1)
</programlisting>
! </informalexample>
!
! <para>
! Our example has stayed the same except for the addition of another extension to
! our [incoming] context. We have added a 0 extension which will then execute
! the Dial command. The <function>Dial()</function> command allows us to call
! a specified interface using the format of [technology]/[resource]. In this
! instance we are calling the first channel on our Zaptel interface, which
! probably has attached to it a telephone and an operator to answer the phone.
! </para>
!
<para>
[By this section of the chapter, the reader should understand Answer(),