summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/asterisk-xip/files/uci/dialplanconf.txt
blob: 37b5a95dd64920ebfd851d0da50393763b82ad9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

dialplangeneral 
	asterisk options:
		static
		writeprotect
		canreinvite
		clearglobalvars

	global settings for dialzone out:
		lastdialed
		lastdialedtype

	Global option for dialplanexten:
		answerfirst
		dialtimeout
		allowtransfer - allow transfers in dialing

	voiceboxext    Extension to use for voicebox set on local client

	international
	internationalout

dialplan {name} 	- Define a dialplan context
	include (list)
	#=mailbox|voice|meetme|saytime|clock

dialplanexten  - Add number to Dialplan for ringing an extension
	dialplan     - Dialplan to add to
	extension    - Number to dial
	type         - Channel type sip/iax/local
	target       - Target [type/]target
	dialextension - Extension to dial
	voicebox     - Voicebox to fall back to
	timeout      - Timeout for dial
	answerfirst  - Answer before dialing

dialplangoto
	dialplan     - Dialplan to add to
	extension    - Number to dial
	target       - Goto  Target

dialplansaytime
	dialplan     - Dialplan to add to
	extension    - Number to dial
	zone         - Time Zone to use
 	format       - Format to use.

dialzone {name} - Outgoing zone.
	uses          - Outgoing line to use: TYPE/Name
	match (list)  - Number to match
	countrycode   - The effective country code of this dialzone
	international (list) - International prefix to match
	localzone     - dialzone for local numbers
	addprefix     - Prexix required to dial out.
	localprefix   - Prefix for a local call

inzone {name}
	include (list) - Other zones to include
	match (list)  - Number to match
	caller (list) - Caller number to match
	goto          - Forward to zone.

incominggeneral
	allowtransfer  - Default Allow transfers for Dial()
	timeout        - Default timeout for incoming calls
	answerfirst    - Default value for incoming calls
	mailbox        - Default global mailbox for incoming calls
	lastcall       - Subroutine Context to store Last incoming call
	lastcalltype   - Method for calling lastcall (default macro) goto|gosub|macro|start
	missed         - Subroutine context to store last missed call dialplan context
	missedtype     - Method for calling 'missed' context  macro|gosub|macro|start

incoming {name} - Incoming zone
	allowtransfer    - Allow transfers for Dialed extension
	timeout          - Timeout for call
	answerfirst      - Answer the incoming call before Ringing
	mailbox          - Voicemail mailbox to use when

	beforeanswer     - Time to ring before asterisk 'answers' and takes control of the call
	menucontext      - EXITCONTEXT for the ring once asterisk is handling the call
	match            - Dialed number to match
	matchcaller      - Caller to match
	aftertimeout     - Target macro/goto once the timeout has past, before voicemail
	aftertimeouttype - Type of the target (macro|start|goto)
	lastcall         - Subroutine Context to store Last incoming call
	lastcalltype     - Method for calling lastcall (default macro) goto|gosub|macro|start
	missed           - Subroutine context to store last missed call dialplan context
	missedtype       - Method for calling 'missed' context  goto|gosub|macro|start
	target (list)    - Add local extension type/Name