root/freepbx/trunk/docs/README.directory

Revision 124, 1.6 kB (checked in by gregmac, 8 years ago)

README for the agi directory application

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 AGI Directory 0.2
2 Greg MacLellan <greg@gregmaclellan.com>
3 March 2, 2005
4
5 This implements similar functionality to app_directory, but in AGI, and adds a couple new features.
6
7 INSTALLATION
8
9 Copy everything in sounds/* to your asterisk sounds directory (/var/lib/asterisk/sounds usually)
10
11 Copy everything in agi-bin to your agi-bin directory (/var/lib/asterisk/agi-bin)
12
13 Edit your extensions.conf, and take your existing directory line like:
14
15   exten => *411,3,Directory(default|ext-local)
16
17 and change it to:
18
19   exten => *411,3,AGI(directory|default|ext-local)
20
21 To get basic functionality.
22
23
24 USAGE
25
26 The full parameter list is:
27
28   voicemail context | dialing context | options
29
30 Available options:
31
32   F - use first name
33   L - use last name (default)
34   B - use both first and last
35   O - allow dropping to operator (goes to extension o in current context)
36   E - say extension before transfering
37
38 Example:
39
40   exten => *411,1,Answer
41   exten => *411,2,Wait(1)
42   exten => *411,3,AGI(directory,default,ext-local,BOE)
43   exten => o,1,Goto(from-pstn,s,1)
44
45 If voicemail context is 'general', it searches EVERY context. Note, it will only use one dialing context
46 for all numbers, so you must be sure all those extensions are available from that context.
47
48
49 There are a few new sound files:
50
51 dir-intro-oper.gsm  "... of the party's last name ... press 0 to reach an operator"
52 dir-intro-fn-oper.gsm "... of the party's first name ... press 0 to reach an operator"
53 dir-intro-fnln.gsm  "... of the party's first or last name ..."
54 dir-intro-fnln-oper.gsm "... of the party's first or last name ... press 0 to reach an operator"
55 try-extension.gsm "please wait while I try extension"
56
Note: See TracBrowser for help on using the browser.