[Asterisk-doc] docs extensions.xml,1.26,1.27
blitzrage
asterisk-doc@lists.digium.com
Tue, 20 Jul 2004 12:45:18 +0000
Comments:
Update of /cvsroot/asterisk/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25041/docs
Modified Files:
extensions.xml
Log Message:
blitzrage
- minor typo in introduction
- we can't use Playback('welcome'), change to Playback(welcome) (etc...)
Index: extensions.xml
===================================================================
RCS file: /cvsroot/asterisk/docs/extensions.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** extensions.xml 19 Jul 2004 12:47:12 -0000 1.26
--- extensions.xml 20 Jul 2004 12:45:12 -0000 1.27
***************
*** 128,132 ****
<informalexample>
<programlisting>
! exten=>
</programlisting>
</informalexample>
--- 128,132 ----
<informalexample>
<programlisting>
! exten =>
</programlisting>
</informalexample>
***************
*** 248,252 ****
previously recorded sound files over a channel. When using the
<function>Playback()</function> function, input from the user
! simply ignored. If you need toaccept input during playback,
use the <function>Background()</function> function. Asterisk
comes with many professionally recorded sound files which are often
--- 248,252 ----
previously recorded sound files over a channel. When using the
<function>Playback()</function> function, input from the user
! simply ignored. If you need to accept input during playback,
use the <function>Background()</function> function. Asterisk
comes with many professionally recorded sound files which are often
***************
*** 303,309 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<!--<lineannotation> ; Answer the line</lineannotation>-->
! exten=>s,2,Playback('vm-goodbye')<!--<lineannotation> ; Play back the 'goodbye' sound file</lineannotation>-->
! exten=>s,3,Hangup()<!--<lineannotation> ; Now hangup the line</lineannotation>-->
</programlisting>
</informalexample>
--- 303,309 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<!--<lineannotation> ; Answer the line</lineannotation>-->
! exten => s,2,Playback(vm-goodbye)<!--<lineannotation> ; Play back the 'goodbye' sound file</lineannotation>-->
! exten => s,3,Hangup()<!--<lineannotation> ; Now hangup the line</lineannotation>-->
</programlisting>
</informalexample>
***************
*** 394,404 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<!--<lineannotation> ; Answer the line</lineannotation>-->
! exten=>s,2,Background('current-movies')<!--<lineannotation> ; Play back the 'current movies' sound file</lineannotation>-->
! exten=>s,3,Hangup()<!-- <lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten=>1,1,Playback('movie1')<!--<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten=>1,2,Goto(incoming,s,1)<!--<lineannotation> ; Now go back to the beginning</lineannotation>-->
! exten=>2,1,Playback('movie2')<!--<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten=>2,2,Goto(incoming,s,1)<!--<lineannotation> ; Now go back to the beginning</lineannotation>-->
</programlisting>
</informalexample>
--- 394,404 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<!--<lineannotation> ; Answer the line</lineannotation>-->
! exten => s,2,Background(current-movies)<!--<lineannotation> ; Play back the 'current movies' sound file</lineannotation>-->
! exten => s,3,Hangup()<!-- <lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten => 1,1,Playback(movie1)<!--<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten => 1,2,Goto(incoming,s,1)<!--<lineannotation> ; Now go back to the beginning</lineannotation>-->
! exten => 2,1,Playback(movie2)<!--<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>-->
! exten => 2,2,Goto(incoming,s,1)<!--<lineannotation> ; Now go back to the beginning</lineannotation>-->
</programlisting>
</informalexample>
***************
*** 478,489 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten=>s,2,Background(current-movies)<lineannotation> ; Play back the 'current movies' sound file</lineannotation>
! exten=>s,3,Hangup()<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten=>1,1,Playback(movie1)<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten=>1,2,Goto(incoming,s,1)<lineannotation> ; Now go back to the beginning</lineannotation>
! exten=>2,1,Playback(movie2)<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten=>2,2,Goto(incoming,s,1)<lineannotation> ; Now go back to the beginning</lineannotation>
! exten=>0,1,Dial(Zap/1)
</programlisting>
</informalexample>
--- 478,489 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten => s,2,Background(current-movies)<lineannotation> ; Play back the 'current movies' sound file</lineannotation>
! exten => s,3,Hangup()<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten => 1,1,Playback(movie1)<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten => 1,2,Goto(incoming,s,1)<lineannotation> ; Now go back to the beginning</lineannotation>
! exten => 2,1,Playback(movie2)<lineannotation> ; Now hangup the line if the caller doesn't press a key</lineannotation>
! exten => 2,2,Goto(incoming,s,1)<lineannotation> ; Now go back to the beginning</lineannotation>
! exten => 0,1,Dial(Zap/1)
</programlisting>
</informalexample>
***************
*** 532,538 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten=>s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten=>s,3,Dial(Zap/2&Zap/3)<lineannotation> ; Dial both channels Zap/2 and Zap/3</lineannotation>
</programlisting>
</informalexample>
--- 532,538 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten => s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten => s,3,Dial(Zap/2&Zap/3)<lineannotation> ; Dial both channels Zap/2 and Zap/3</lineannotation>
</programlisting>
</informalexample>
***************
*** 609,617 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten=>s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten=>s,3,Background(menu)<lineannotation> ; Play 'menu' file and accept input from caller</lineannotation>
! exten=>1,1,Dial(Zap/2)<lineannotation> ; Dial channels Zap/2 if the user dials 1</lineannotation>
! exten=>2,1,Dial(Zap/3)<lineannotation> ; Dial channels Zap/3 if the user dials 2</lineannotation>
</programlisting>
</informalexample>
--- 609,617 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten => s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten => s,3,Background(menu)<lineannotation> ; Play 'menu' file and accept input from caller</lineannotation>
! exten => 1,1,Dial(Zap/2)<lineannotation> ; Dial channels Zap/2 if the user dials 1</lineannotation>
! exten => 2,1,Dial(Zap/3)<lineannotation> ; Dial channels Zap/3 if the user dials 2</lineannotation>
</programlisting>
</informalexample>
***************
*** 629,641 ****
<programlisting>
[incoming]
! exten=>s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten=>s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten=>s,3,Background(menu)<lineannotation> ; Play 'menu' file and accept input from caller</lineannotation>
! exten=>1,1,Dial(Zap/2)<lineannotation> ; Dial channels Zap/2 if the user dials 1</lineannotation>
! exten=>2,1,Dial(Zap/3)<lineannotation> ; Dial channels Zap/3 if the user dials 2</lineannotation>
[internal]
! exten=>1001,1,Dial(Zap/2)<lineannotation> ; Dialing extension 1001 calls channel Zap/2</lineannotation>
! exten=>1002,1,Dial(Zap/3)<lineannotation> ; Dialing extension 1002 calls channel Zap/3</lineannotation>
</programlisting>
</informalexample>
--- 629,641 ----
<programlisting>
[incoming]
! exten => s,1,Answer()<lineannotation> ; Answer the line</lineannotation>
! exten => s,2,Playback(welcome)<lineannotation> ; Play back the 'welcome' sound file</lineannotation>
! exten => s,3,Background(menu)<lineannotation> ; Play 'menu' file and accept input from caller</lineannotation>
! exten => 1,1,Dial(Zap/2)<lineannotation> ; Dial channels Zap/2 if the user dials 1</lineannotation>
! exten => 2,1,Dial(Zap/3)<lineannotation> ; Dial channels Zap/3 if the user dials 2</lineannotation>
[internal]
! exten => 1001,1,Dial(Zap/2)<lineannotation> ; Dialing extension 1001 calls channel Zap/2</lineannotation>
! exten => 1002,1,Dial(Zap/3)<lineannotation> ; Dialing extension 1002 calls channel Zap/3</lineannotation>
</programlisting>
</informalexample>
***************
*** 702,714 ****
[incoming]
! exten=>s,1,Answer()
! exten=>s,2,Playback(welcome)
! exten=>s,3,Background(menu)
! exten=>1,1,Dial(${RECEPTIONIST})<lineannotation> ; Dial the channel assigned to ${RECEPTIONIST}</lineannotation>
! exten=>2,1,Dial(${JOHN})<lineannotation> ; Dial channel assigned to ${JOHN}</lineannotation>
[internal]
! exten=>>1001,1,Dial(Zap/2)<lineannotation> ; Dialing extension 1001 calls channel Zap/2</lineannotation>
! exten=>>1002,1,Dial(Zap/3)<lineannotation> ; Dialing extension 1002 calls channel Zap/3</lineannotation>
</programlisting>
</informalexample>
--- 702,714 ----
[incoming]
! exten => s,1,Answer()
! exten => s,2,Playback(welcome)
! exten => s,3,Background(menu)
! exten => 1,1,Dial(${RECEPTIONIST})<lineannotation> ; Dial the channel assigned to ${RECEPTIONIST}</lineannotation>
! exten => 2,1,Dial(${JOHN})<lineannotation> ; Dial channel assigned to ${JOHN}</lineannotation>
[internal]
! exten => 1001,1,Dial(Zap/2)<lineannotation> ; Dialing extension 1001 calls channel Zap/2</lineannotation>
! exten => 1002,1,Dial(Zap/3)<lineannotation> ; Dialing extension 1002 calls channel Zap/3</lineannotation>
</programlisting>
</informalexample>
***************
*** 904,911 ****
<programlisting>
[sort-order]
! exten => _1NXX.,1,Dial(SIP/${EXTEN})
! exten => _1800.,1,Dial(SIP/${EXTEN})
! exten => _.,1,Dial(SIP/${EXTEN})
! exten => t,1,Hangup
</programlisting>
</informalexample>
--- 904,911 ----
<programlisting>
[sort-order]
! exten => _1NXX.,1,Dial(SIP/${EXTEN})
! exten => _1800.,1,Dial(SIP/${EXTEN})
! exten => _.,1,Dial(SIP/${EXTEN})
! exten => t,1,Hangup
</programlisting>
</informalexample>
***************
*** 941,951 ****
<programlisting>
[sort-order]
! include => sort-order-wildcard
! exten => _1NXX.,1,Dial(SIP/${EXTEN})
! exten => _1800.,1,Dial(SIP/${EXTEN})
! exten => t,1,Hangup
[sort-order-wildcard]
! exten => _.,1,Dial(SIP/${EXTEN})
</programlisting>
</informalexample>
--- 941,951 ----
<programlisting>
[sort-order]
! include => sort-order-wildcard
! exten => _1NXX.,1,Dial(SIP/${EXTEN})
! exten => _1800.,1,Dial(SIP/${EXTEN})
! exten => t,1,Hangup
[sort-order-wildcard]
! exten => _.,1,Dial(SIP/${EXTEN})
</programlisting>
</informalexample>