Skip to content

Commit 0f974b9

Browse files
seanbrightjcolp
authored andcommitted
docs: Remove leading blank lines from all code blocks
1 parent 8b2ce34 commit 0f974b9

43 files changed

Lines changed: 0 additions & 182 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/Configuration/Applications/Asterisk-Queues/Configuring-Call-Queues-with-AEL/Assigning-Agents-to-Queues.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Because a single agent can make themselves available to more than one queue, the
1010
##### Agents Log In and Out
1111

1212
```
13-
1413
context queues-loginout {
1514
6092 => {
1615
Answer();
@@ -31,7 +30,6 @@ context queues-loginout {
3130
In the above contexts, the agents dial 6092 to log into their queues, and they dial 6093 to log out of their queues. The agent is prompted for their agent number, and if they are logging in, their passcode, and then they are transferred to the proper extension in the queues-manip context. The queues-manip context does all the actual work:
3231

3332
```
34-
3533
context queues-manip {
3634
// Raquel Squelch
3735
_[IO]6121 => {
@@ -69,7 +67,6 @@ Also note that Rock will be among the first to be called in the sales-general qu
6967
The call to queue-success() gives some feedback to the agent as they log in and out, that the process has completed.
7068

7169
```
72-
7370
macro queue-success(exten) {
7471
if( ${queue-announce-success} > 0 ) {
7572
switch(${exten:0:1}) {
@@ -89,7 +86,6 @@ macro queue-success(exten) {
8986
The queue-addremove macro is defined in this manner:
9087

9188
```
92-
9389
macro queue-addremove(queuename,penalty,exten) {
9490
switch(${exten:0:1}) {
9591
case I: // Login

docs/Configuration/Applications/Asterisk-Queues/Configuring-Call-Queues-with-AEL/Controlling-the-way-Queues-Call-Agents.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ pageid: 5243037
66
Notice in the above, that the commands to manipulate agents in queues have "@agents" in their arguments. This is a reference to the agents context:
77

88
```
9-
109
context agents {
1110
// General sales queue
1211
8010 => {
@@ -51,7 +50,6 @@ The 8010, 8011, and 8013 extensions are purely for transferring incoming callers
5150
Here is the callagent macro, note that if a person in the queue is called, but does not answer, then they are automatically removed from the queue.
5251

5352
```
54-
5553
macro callagent(device,exten) {
5654
if( ${GROUP_COUNT(${exten}@agents)}=0 ) {
5755
Set(OUTBOUND_GROUP_ONCE=${exten}@agents);

docs/Configuration/Applications/Asterisk-Queues/Configuring-Call-Queues-with-AEL/Queue-Pre-Acknowledgement-Messages.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ pageid: 5243040
66
If you would like to have a pre acknowledge message with option to reject the message you can use the following dialplan Macro as a base with the 'M' dial argument.
77

88
```
9-
109
[macro-screen]
1110
exten=>s,1,Wait(.25)
1211
exten=>s,2,Read(ACCEPT,screen-callee-options,1)

docs/Configuration/Applications/Shared-Line-Appearances-SLA/SLA-Configuration-Examples/Basic-SLA-Configuration-Example.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ This is an example of the most basic SLA setup. It uses the automatic dialplan g
88
sla.conf:
99

1010
```
11-
1211
[line1]
1312
type=trunk
1413
device=DAHDI/1
@@ -38,7 +37,6 @@ device=SIP/station3
3837
With this configuration, the dialplan is generated automatically. The first DAHDI channel should have its context set to "line1" and the second should be set to "line2" in dahdi.conf. In sip.conf, station1, station2, and station3 should all have their context set to "sla_stations".
3938

4039
```
41-
4240
[line1]
4341
exten => s,1,SLATrunk(line1)
4442

docs/Configuration/Channel-Drivers/Mobile-Channel/Mobile-Channel-Dialplan-Hints.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ pageid: 4817207
66
chan_mobile supports 'device status' so you can do somthing like
77

88
```
9-
109
exten => 1234,hint,SIP/30&Mobile/dave&Mobile/blackberry
1110
```

docs/Configuration/Channel-Drivers/Skinny/Skinny-call-logging.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ If a call is not placed to a channel they will not be recorded in the log. eg a
1212
Example (This will produce a logged call):
1313

1414
```
15-
1615
exten => 100,1,NoOp
1716
exten => 100,n,Progress
1817
exten => 100,n,Ringing
@@ -22,7 +21,6 @@ exten => 100,n,VoicemailMain(${CALLERID(num)@mycontext,s)
2221
Example (This will not):
2322

2423
```
25-
2624
exten => 100,1,NoOp
2725
exten => 100,n,VoicemailMain(${CALLERID(num)@mycontext,s)
2826
```

docs/Configuration/Channel-Drivers/Unistim/Introduction-to-the-Unistim-channel.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ The line=> entry in unistim.conf does not add an extension in asterisk by defaul
4444
If you have this entry on unistim.conf :
4545

4646
```
47-
4847
[violet]
4948
device=006038abcdef
5049
line => 102

docs/Configuration/Dialplan/Lua-Dialplan-Configuration/Advanced-pbx_lua-Topics.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ The `extensions.lua` file is loaded into memory once when the pbx_lua module is
1515
This is probably a bad idea.
1616

1717
```
18-
1918
-- my fancy extensions.lua
2019
2120
extensions = {}
@@ -37,7 +36,6 @@ The `extensions` Table
3736
The `extensions` table is a standard lua table and can be defined however you like. The pbx_lua module loads and sorts the table when it is needed. The keys in the table are context names and each value is another lua table containing extensions. Each key in the context table is an extension name and each value is an extension function.
3837

3938
```
40-
4139
extensions = {
4240
context_table = {
4341
extension1 = function()
@@ -74,7 +72,6 @@ Apps, Functions, and Variables
7472
channel variable: var is the placeholder object
7573

7674
```
77-
7875
var = channel.my_variable
7976
var:set("my value")
8077
value = var:get("my value")
@@ -85,7 +82,6 @@ value = var:get("my value")
8582
dialplan function: fax_modems is the placeholder object
8683

8784
```
88-
8985
fax_modems = channel.FAXOPT("module")
9086
9187
-- the function arguments are stored in the placeholder
@@ -99,7 +95,6 @@ value = fax_modems:get()
9995
dialplan application: dial is the placeholder object
10096

10197
```
102-
10398
dial = app.dial
10499
105100
-- the only thing we can do with it is execute it

docs/Configuration/Dialplan/Lua-Dialplan-Configuration/Dialplan-to-Lua-Reference.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ extensions.conf
1616
---------------
1717

1818
```
19-
2019
[users]
2120
exten => _1XX,1,Dial(SIP/${EXTEN})
2221
@@ -29,7 +28,6 @@ extensions.lua
2928
--------------
3029

3130
```
32-
3331
extensions = {}
3432
extensions.users = {}
3533
@@ -51,7 +49,6 @@ extensions.conf
5149
---------------
5250

5351
```
54-
5552
[users]
5653
exten => 100,1,Noop
5754
exten => 100,n,Dial("SIP/100")
@@ -71,7 +68,6 @@ extensions.lua
7168
--------------
7269

7370
```
74-
7571
extensions = {
7672
users = {
7773
[100] = function()
@@ -100,7 +96,6 @@ extensions.conf
10096
---------------
10197

10298
```
103-
10499
exten => 100,1,Noop
105100
exten => 100,n,Set(i=0)
106101
exten => 100,n,While($[i < 10])
@@ -114,7 +109,6 @@ extensions.lua
114109
--------------
115110

116111
```
117-
118112
i = 0
119113
while i < 10 do
120114
app.verbose("i = " .. i)
@@ -130,7 +124,6 @@ extensions.conf
130124
---------------
131125

132126
```
133-
134127
exten => 100,1,Set(my_variable=my_value)
135128
exten => 100,n,Verbose(my_variable = ${my_variable})
136129
```
@@ -141,7 +134,6 @@ extensions.lua
141134
--------------
142135

143136
```
144-
145137
channel.my_variable = "my_value"
146138
app.verbose("my_variable = " .. channel.my_variable:get())
147139
```
@@ -155,7 +147,6 @@ extensions.conf
155147
---------------
156148

157149
```
158-
159150
exten => 100,1,Dial("SIP/100",,m)
160151
```
161152

@@ -165,7 +156,6 @@ extensions.lua
165156
--------------
166157

167158
```
168-
169159
app.dial("SIP/100", nil, "m")
170160
```
171161

@@ -180,7 +170,6 @@ extensions.conf
180170
---------------
181171

182172
```
183-
184173
[macro-dial]
185174
exten => s,1,Noop
186175
exten => s,n,Dial(${ARG1})
@@ -195,7 +184,6 @@ extensions.lua
195184
--------------
196185

197186
```
198-
199187
extensions = {}
200188
extensions.default = {}
201189
@@ -219,7 +207,6 @@ extensions.conf
219207
---------------
220208

221209
```
222-
223210
[default]
224211
exten => 100,1,Goto(102,1)
225212
@@ -233,7 +220,6 @@ extensions.lua
233220
--------------
234221

235222
```
236-
237223
extensions = {}
238224
extensions.default = {}
239225
@@ -254,7 +240,6 @@ end
254240
In Asterisk 1.8, use return
255241

256242
```
257-
258243
function extension_function(c, e)
259244
return app.goto("default", "100", 1)
260245

docs/Configuration/Dialplan/Lua-Dialplan-Configuration/Lua-Dialplan-Examples.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Instead of defining every extension inline, you can use this method to create a
1515
extensions.lua
1616

1717
```
18-
1918
-- this function serves as an extension function directly
2019
function call_user(c, user)
2120
app.dial("SIP/" .. user, 60)
@@ -54,7 +53,6 @@ In this example, we use a fancy function to register extensions.
5453
extensions.lua
5554

5655
```
57-
5856
function register(context, extension, func)
5957
if not extensions then
6058
extensions = {}

0 commit comments

Comments
 (0)