aboutsummaryrefslogtreecommitdiffstats
path: root/doc/asterisk.sgml
blob: 73946bb144969db0f8c4e889e795ebab7f0f86e9 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
<refentry>
<<<<<<< .working
<refentryinfo>
	<date>2011-02-08</date>
</refentryinfo>
<refmeta>
	<refentrytitle>
		<application>asterisk</application>
	</refentrytitle>
	<manvolnum>8</manvolnum>
	<refmiscinfo>asterisk Trunk</refmiscinfo>
</refmeta>
<refnamediv>
	<refname>
		<application>asterisk</application>
	</refname>
	<refpurpose>
	All-purpose telephony server.
	</refpurpose>
</refnamediv>
<refsynopsisdiv>
	<cmdsynopsis>
	<command>asterisk</command>
<arg><option>-BcdfFghiImnpqRtTvVW</option></arg>
<arg><option>-C </option><replaceable class="parameter">file</replaceable></arg>
<arg><option>-e </option><replaceable class="parameter">memory</replaceable></arg>
<arg><option>-G </option><replaceable class="parameter">group</replaceable></arg>
<arg><option>-L </option><replaceable class="parameter">loadaverage</replaceable></arg>
<arg><option>-M </option><replaceable class="parameter">value</replaceable></arg>
<arg><option>-U </option><replaceable class="parameter">user</replaceable></arg>
<arg><option>-s </option><replaceable class="parameter">socket-file</replaceable></arg>
<arg><option>-x </option><replaceable class="parameter">command</replaceable></arg>
	</cmdsynopsis>
	<cmdsynopsis>

	<command>asterisk -r</command>
	<arg><option>-v</option></arg>
<arg><option>-x </option><replaceable class="parameter">command</replaceable></arg>
	</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
	<refsect1info>
		<date>2011-02-08</date>
	</refsect1info>
	<title>DESCRIPTION</title>
	<para>
	<command>asterisk</command> is a full-featured telephony server which
	provides Private Branch eXchange (PBX), Interactive Voice Response (IVR),
	Automated Call Distribution (ACD), Voice over IP (VoIP) gatewaying, 
	Conferencing, and a plethora of other telephony applications to a broad
	range of telephony devices including packet voice (SIP, IAX2, MGCP, Skinny,
	H.323, Unistim) devices (both endpoints and proxies), as well as traditional TDM
	hardware including T1, E1, ISDN PRI, GR-303, RBS, Loopstart, Groundstart,
	ISDN BRI and many more.
	</para>
	<para>
	At start, Asterisk reads the /etc/asterisk/asterisk.conf main configuration
	file and locates the rest of the configuration files from the configuration
	in that file. The -C option specifies an alternate main configuration file.
	Virtually all aspects of the operation of asterisk's configuration files
	can be found in the sample configuration files.  The format for those files
	is generally beyond the scope of this man page.
	</para>
	<para>
	When running with <command>-c</command>, <command>-r</command> or <command>-R</command>
	options, Asterisk supplies a powerful command line, including command
	completion, which may be used to monitors its status, perform a variety
	of administrative actions and even explore the applications that are
	currently loaded into the system.
	</para>
	<para>
	Asterisk is a trademark of Digium, Inc.
	</para>
</refsect1>
<refsect1>
	<title>OPTIONS</title>
	<variablelist>
	<varlistentry>
		<term>-B</term>
		<listitem>
			<para>
			Force the background of the terminal to be black, in order for
			terminal colors to show up properly.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-C <replaceable class="parameter">file</replaceable></term>
		<listitem>
			<para>
			Use <filename>file</filename> as master configuration file
			instead of the default, /etc/asterisk/asterisk.conf
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-c</term>
		<listitem>
			<para>
			Provide a control console on the calling terminal.
			Specifying this option implies <command>-f</command> and will cause
			asterisk to no longer fork or detach from the controlling terminal.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-d</term>
		<listitem>
			<para>
			Enable extra debugging statements.
			</para>
			<para>
			Note: This always sets the debug level in the asterisk process,
			even if it is running in the background. This may affect the size
			of your log files, if the debug level is specified in logger.conf.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-e <replaceable class="parameter">memory</replaceable></term>
		<listitem>
			<para>
			Limit the generation of new channels when the amount of free memory has decreased to under <replaceable>memory</replaceable> megabytes.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-f</term>
		<listitem>
			<para>
			Do not fork or detach from controlling terminal.  Overrides any preceding specification of <command>-F</command> on the command line.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-F</term>
		<listitem>
			<para>
			Always fork and detach from controlling terminal.  Overrides any preceding specification of <command>-f</command> on the command line.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-g</term>
		<listitem>
			<para>
			Remove resource limit on core size, thus forcing Asterisk to dump
			core in the unlikely event of a segmentation fault or abort signal.
			<command>NOTE:</command> in some cases this may be incompatible
			with the <command>-U</command> or <command>-G</command> flags.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-G <replaceable class="parameter">group</replaceable></term>
		<listitem>
			<para>
			Run as group <replaceable>group</replaceable> instead of the
			calling group.  <command>NOTE:</command> this requires substantial work
			to be sure that Asterisk's environment has permission to write
			the files required for its operation, including logs, its comm
			socket, the asterisk database, etc.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-h</term>
		<listitem>
			<para>
			Provide brief summary of command line arguments and terminate.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-i</term>
		<listitem>
			<para>
			Prompt user to intialize any encrypted private keys for IAX2
			secure authentication during startup.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-I</term>
		<listitem>
			<para>
			Enable internal timing if DAHDI timing is available.
			The default behaviour is that outbound packets are phase locked
			to inbound packets. Enabling this switch causes them to be
			locked to the internal DAHDI timer instead.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-L <replaceable class="parameter">loadaverage</replaceable></term>
		<listitem>
			<para>
			Limits the maximum load average before rejecting new calls.  This can
			be useful to prevent a system from being brought down by terminating
			too many simultaneous calls.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-m</term>
		<listitem>
			<para>
			Temporarily mutes output to the console and logs.  To return to normal,
			use <command>logger mute</command>.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-M <replaceable class="parameter">value</replaceable></term>
		<listitem>
			<para>
			Limits the maximum number of calls to the specified value.  This can
			be useful to prevent a system from being brought down by terminating
			too many simultaneous calls.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-n</term>
		<listitem>
			<para>
			Disable ANSI colors even on terminals capable of displaying them.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-p</term>
		<listitem>
			<para>
			If supported by the operating system (and executing as root),
			attempt to run with realtime priority for increased performance and
			responsiveness within the Asterisk process, at the expense of other
			programs running on the same machine.
			</para>
			<para>
			Note: <command>astcanary</command> will run concurrently with
			<command>asterisk</command>. If <command>astcanary</command> stops
			running or is killed, <command>asterisk</command> will slow down to
			normal process priority, to avoid locking up the machine.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-q</term>
		<listitem>
			<para>
			Reduce default console output when running in conjunction with
			console mode (<command>-c</command>).
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-r</term>
		<listitem>
			<para>
			Instead of running a new Asterisk process, attempt to connect
			to a running Asterisk process and provide a console interface
			for controlling it.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-R</term>
		<listitem>
			<para>
			Much like <command>-r</command>.  Instead of running a new Asterisk process, attempt to connect
			to a running Asterisk process and provide a console interface
			for controlling it. Additionally, if connection to the Asterisk 
			process is lost, attempt to reconnect for as long as 30 seconds.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-s <replaceable class="parameter">socket file name</replaceable></term>
		<listitem>
			<para>
			In combination with <command>-r</command>, connect directly to a specified
			Asterisk server socket.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-t</term>
		<listitem>
			<para>
			When recording files, write them first into a temporary holding directory, 
			then move them into the final location when done.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-T</term>
		<listitem>
			<para>
			Add timestamp to all non-command related output going to the console
			when running with verbose and/or logging to the console.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-U <replaceable class="parameter">user</replaceable></term>
		<listitem>
			<para>
			Run as user <replaceable>user</replaceable> instead of the
			calling user.  <command>NOTE:</command> this requires substantial work
			to be sure that Asterisk's environment has permission to write
			the files required for its operation, including logs, its comm
			socket, the asterisk database, etc.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-v</term>
		<listitem>
			<para>
			Increase the level of verboseness on the console.  The more times
			<command>-v</command> is specified, the more verbose the output is.
			Specifying this option implies <command>-f</command> and will cause
			asterisk to no longer fork or detach from the controlling terminal.
			This option may also be used in conjunction with <command>-r</command>
			and <command>-R</command>.
			</para>
			<para>
			Note: This always sets the verbose level in the asterisk process,
			even if it is running in the background. This will affect the size
			of your log files.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-V</term>
		<listitem>
			<para>
			Display version information and exit immediately.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-W</term>
		<listitem>
			<para>
			Display colored terminal text as if the background were white
			or otherwise light in color.  Normally, terminal text is displayed
			as if the background were black or otherwise dark in color.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-x <replaceable class="parameter">command</replaceable></term>
		<listitem>
			<para>
			Connect to a running Asterisk process and execute a command on
			a command line, passing any output through to standard out and
			then terminating when the command execution completes.  Implies
			<command>-r</command> when <command>-R</command> is not explicitly
			supplied.
			</para>
		</listitem>
	</varlistentry>
	<varlistentry>
		<term>-X</term>
		<listitem>
			<para>
			Enables executing of includes via <command>#exec</command> directive.
			This can be useful if You want to do <command>#exec</command> inside
			<filename>asterisk.conf</filename>
			</para>
		</listitem>
	</varlistentry>
	</variablelist>
</refsect1>
<refsect1>
	<title>EXAMPLES</title>
	<para>
	<command>asterisk</command> - Begin Asterisk as a daemon
	</para>
	<para>
	<command>asterisk -vvvgc</command> - Run on controlling terminal
	</para>
	<para>
	<command>asterisk -rx "core show channels"</command> - Display channels on running server
	</para>
</refsect1>
<refsect1>
	<title>BUGS</title>
	<para>
	Bug reports and feature requests may be filed at https://issues.asterisk.org
	</para>
</refsect1>
<refsect1>
	<title>SEE ALSO</title>
	<para>
	*CLI&gt; <command>help</command> - Help on Asterisk CLI
	</para>
	<para>
	*CLI&gt; <command>core show applications</command> - Show loaded dialplan applications
	</para>
	<para>
	*CLI&gt; <command>core show functions</command> - Show loaded dialplan functions
	</para>
	<para>
	*CLI&gt; <command>dialplan show</command> - Show current dialplan
	</para>
	<para>
	http://www.asterisk.org - The Asterisk Home Page
	</para>
	<para>
	http://www.asteriskdocs.org - The Asterisk Documentation Project
	</para>
	<para>
	http://wiki.asterisk.org - The Asterisk Wiki
	</para>
	<para>
	http://www.digium.com/ - Asterisk sponsor and hardware supplier
	</para>
</refsect1>
<refsect1>
	<title>AUTHOR</title>
	<para>
	<author>
		<firstname>Mark Spencer &lt;markster@digium.com&gt;</firstname> 
	</author>
	</para>
	<para>
	<author>
		<firstname>Countless other contributors, see CREDITS with distribution for more information.</firstname> 
	</author>
	</para>
</refsect1>
=======
 <refentryinfo>
  <date>2011-02-08</date>
 </refentryinfo>
 <refmeta>
  <refentrytitle>
   <application>asterisk</application>
  </refentrytitle>
  <manvolnum>8</manvolnum>
  <refmiscinfo>asterisk 1.8</refmiscinfo>
 </refmeta>
 <refnamediv>
  <refname>
   <application>asterisk</application>
  </refname>
  <refpurpose>
   All-purpose telephony server.
  </refpurpose>
 </refnamediv>
 <refsynopsisdiv>
  <cmdsynopsis>
   <command>asterisk</command>
   <arg><option>-BcdfFghiImnpqRtTvVW</option></arg>
   <arg><option>-C </option><replaceable class="parameter">file</replaceable></arg>
   <arg><option>-e </option><replaceable class="parameter">memory</replaceable></arg>
   <arg><option>-G </option><replaceable class="parameter">group</replaceable></arg>
   <arg><option>-L </option><replaceable class="parameter">loadaverage</replaceable></arg>
   <arg><option>-M </option><replaceable class="parameter">value</replaceable></arg>
   <arg><option>-U </option><replaceable class="parameter">user</replaceable></arg>
   <arg><option>-s </option><replaceable class="parameter">socket-file</replaceable></arg>
  </cmdsynopsis>
  <cmdsynopsis>
   <command>asterisk -r</command>
   <arg><option>-v</option></arg>
   <arg><option>-d</option></arg>
   <arg><option>-x </option><replaceable class="parameter">command</replaceable></arg>
  </cmdsynopsis>
  <cmdsynopsis>
   <command>asterisk -R</command>
   <arg><option>-v</option></arg>
   <arg><option>-d</option></arg>
   <arg><option>-x </option><replaceable class="parameter">command</replaceable></arg>
  </cmdsynopsis>
 </refsynopsisdiv>
 <refsect1>
  <refsect1info>
   <date>2011-02-08</date>
  </refsect1info>
  <title>DESCRIPTION</title>
  <para>
   <command>asterisk</command> is a full-featured telephony server which
   provides Private Branch eXchange (PBX), Interactive Voice Response (IVR),
   Automated Call Distribution (ACD), Voice over IP (VoIP) gatewaying, 
   Conferencing, and a plethora of other telephony applications to a broad
   range of telephony devices including packet voice (SIP, IAX2, MGCP, Skinny,
   H.323, Unistim) devices (both endpoints and proxies), as well as traditional TDM
   hardware including T1, E1, ISDN PRI, GR-303, RBS, Loopstart, Groundstart,
   ISDN BRI and many more.
  </para>
  <para>
   At start, Asterisk reads the /etc/asterisk/asterisk.conf main configuration
   file and locates the rest of the configuration files from the configuration
   in that file. The -C option specifies an alternate main configuration file.
   Virtually all aspects of the operation of asterisk's configuration files
   can be found in the sample configuration files.  The format for those files
   is generally beyond the scope of this man page.
  </para>
  <para>
   When running with <command>-c</command>, <command>-r</command> or <command>-R</command>
   options, Asterisk supplies a powerful command line, including command
   completion, which may be used to monitors its status, perform a variety
   of administrative actions and even explore the applications that are
   currently loaded into the system.
  </para>
  <para>
   Asterisk is a trademark of Digium, Inc.
  </para>
 </refsect1>
 <refsect1>
  <title>OPTIONS</title>
  <para>
   Running Asterisk starts the asterisk daemon (optionally running it
   in the foreground). However running it with <option>-r</option> or
   <option>-R</option> connects to an existing Asterisk instance through
   a remote console.
  </para>
  <variablelist>
   <varlistentry>
    <term>-B</term>
    <listitem>
     <para>
      Force the background of the terminal to be black, in order for
      terminal colors to show up properly. Equivalent to
      <option>forceblackbackground = yes</option> in
      <filename>asterisk.conf</filename>. See also
      <option>-n</option> and <option>-W</option>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-C <replaceable class="parameter">file</replaceable></term>
    <listitem>
     <para>
      Use <filename>file</filename> as master configuration file
      instead of the default, /etc/asterisk/asterisk.conf
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-c</term>
    <listitem>
     <para>
      Provide a control console on the calling terminal. The
      console is similar to the remote console provided by
      <option>-r</option>. Specifying this option implies 
      <command>-f</command> and will cause asterisk to no longer 
      fork or detach from the controlling terminal. Equivalent 
      to <option>console = yes</option> in <filename>asterisk.conf</filename>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-d</term>
    <listitem>
     <para>
      Enable extra debugging statements. This parameter may be used several
      times, and each increases the debug level.  Equivalent to <option>debug = <replaceable>num</replaceable></option>
      in <filename>asterisk.conf</filename> to explicitly set the initian debug
      level to <replaceable>num</replaceable>. When given at startup, this
      option also implies <option>-f</option> (no forking). However when
      connecting to an existing Asterisk instance (<option>-r</option> or
      <option>-R</option>), it may only increase the debug level.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-e <replaceable class="parameter">memory</replaceable></term>
    <listitem>
     <para>
      Limit the generation of new channels when the amount of free memory 
      has decreased to under <replaceable>memory</replaceable> megabytes.
      Equivalent to <option>minmemfree = <replaceable>memory</replaceable></option> in
      <filename>asterisk.conf</filename>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-f</term>
    <listitem>
     <para>
      Do not fork or detach from controlling terminal.  Overrides any
      preceding specification of <command>-F</command> on the command line.
      Equivalent to <option>nofork = yes</option> in <filename>asterisk.conf</filename>.
      See also <option>-c</option>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-F</term>
    <listitem>
     <para>
      Always fork and detach from controlling terminal.  Overrides any
      preceding specification of <command>-f</command> on the command line.
      May also be used to prevent <option>-d</option> and <option>-v</option> to imply
      no forking. Equivalent to <option>alwaysfork = yes</option> in <filename>asterisk.conf</filename>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-g</term>
    <listitem>
     <para>
      Remove resource limit on core size, thus forcing Asterisk to dump
      core in the unlikely event of a segmentation fault or abort signal.
      <command>NOTE:</command> in some cases this may be incompatible
      with the <command>-U</command> or <command>-G</command> flags.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-G <replaceable class="parameter">group</replaceable></term>
    <listitem>
     <para>
      Run as group <replaceable>group</replaceable> instead of the
      calling group.  <command>NOTE:</command> this requires substantial work
      to be sure that Asterisk's environment has permission to write
      the files required for its operation, including logs, its comm
      socket, the asterisk database, etc.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-h</term>
    <listitem>
     <para>
      Provide brief summary of command line arguments and terminate.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-i</term>
    <listitem>
     <para>
      Prompt user to intialize any encrypted private keys for IAX2
      secure authentication during startup.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-I</term>
    <listitem>
     <para>
      Enable internal timing if DAHDI timing is available.
      The default behaviour is that outbound packets are phase locked
      to inbound packets. Enabling this switch causes them to be
      locked to the internal DAHDI timer instead.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-L <replaceable class="parameter">loadaverage</replaceable></term>
    <listitem>
     <para>
      Limits the maximum load average before rejecting new calls.  This can
      be useful to prevent a system from being brought down by terminating
      too many simultaneous calls.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-m</term>
    <listitem>
     <para>
      Temporarily mutes output to the console and logs.  To return to normal,
      use <command>logger mute</command>.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-M <replaceable class="parameter">value</replaceable></term>
    <listitem>
     <para>
      Limits the maximum number of calls to the specified value.  This can
      be useful to prevent a system from being brought down by terminating
      too many simultaneous calls.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-n</term>
    <listitem>
     <para>
      Disable ANSI colors even on terminals capable of displaying them.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-p</term>
    <listitem>
     <para>
      If supported by the operating system (and executing as root),
      attempt to run with realtime priority for increased performance and
      responsiveness within the Asterisk process, at the expense of other
      programs running on the same machine.
     </para>
     <para>
      Note: <command>astcanary</command> will run concurrently with
      <command>asterisk</command>. If <command>astcanary</command> stops
      running or is killed, <command>asterisk</command> will slow down to
      normal process priority, to avoid locking up the machine.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-q</term>
    <listitem>
     <para>
      Reduce default console output when running in conjunction with
      console mode (<command>-c</command>).
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-r</term>
    <listitem>
     <para>
      Instead of running a new Asterisk process, attempt to connect
      to a running Asterisk process and provide a console interface
      for controlling it.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-R</term>
    <listitem>
     <para>
      Much like <command>-r</command>.  Instead of running a new Asterisk process, attempt to connect
      to a running Asterisk process and provide a console interface
      for controlling it. Additionally, if connection to the Asterisk 
      process is lost, attempt to reconnect for as long as 30 seconds.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-s <replaceable class="parameter">socket file name</replaceable></term>
    <listitem>
     <para>
      In combination with <command>-r</command>, connect directly to a specified
      Asterisk server socket.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-t</term>
    <listitem>
     <para>
      When recording files, write them first into a temporary holding directory, 
      then move them into the final location when done.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-T</term>
    <listitem>
     <para>
      Add timestamp to all non-command related output going to the console
      when running with verbose and/or logging to the console.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-U <replaceable class="parameter">user</replaceable></term>
    <listitem>
     <para>
      Run as user <replaceable>user</replaceable> instead of the
      calling user.  <command>NOTE:</command> this requires substantial work
      to be sure that Asterisk's environment has permission to write
      the files required for its operation, including logs, its comm
      socket, the asterisk database, etc.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-v</term>
    <listitem>
     <para>
      Increase the level of verboseness on the console.  The more times
      <command>-v</command> is specified, the more verbose the output is.
      Specifying this option implies <command>-f</command> and will cause
      asterisk to no longer fork or detach from the controlling terminal.
      This option may also be used in conjunction with <command>-r</command>
      and <command>-R</command>.
     </para>
     <para>
      Note: This always sets the verbose level in the asterisk process,
      even if it is running in the background. This will affect the size
      of your log files.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-V</term>
    <listitem>
     <para>
      Display version information and exit immediately.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-W</term>
    <listitem>
     <para>
      Display colored terminal text as if the background were white
      or otherwise light in color.  Normally, terminal text is displayed
      as if the background were black or otherwise dark in color.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-x <replaceable class="parameter">command</replaceable></term>
    <listitem>
     <para>
      Connect to a running Asterisk process and execute a command on
      a command line, passing any output through to standard out and
      then terminating when the command execution completes.  Implies
      <command>-r</command> when <command>-R</command> is not explicitly
      supplied.
     </para>
    </listitem>
   </varlistentry>
   <varlistentry>
    <term>-X</term>
    <listitem>
     <para>
      Enables executing of includes via <command>#exec</command> directive.
      This can be useful if You want to do <command>#exec</command> inside
      <filename>asterisk.conf</filename>
     </para>
    </listitem>
   </varlistentry>
  </variablelist>
 </refsect1>
 <refsect1>
  <title>EXAMPLES</title>
  <para>
   <command>asterisk</command> - Begin Asterisk as a daemon
  </para>
  <para>
   <command>asterisk -vvvgc</command> - Run on controlling terminal
  </para>
  <para>
   <command>asterisk -rx "core show channels"</command> - Display channels on running server
  </para>
 </refsect1>
 <refsect1>
  <title>BUGS</title>
  <para>
  Bug reports and feature requests may be filed at https://issues.asterisk.org
  </para>
 </refsect1>
 <refsect1>
  <title>SEE ALSO</title>
  <para>
   http://www.asterisk.org - The Asterisk Home Page
  </para>
  <para>
   http://www.asteriskdocs.org - The Asterisk Documentation Project
  </para>
  <para>
   http://wiki.asterisk.org - The Asterisk Wiki
  </para>
  <para>
   http://www.digium.com/ - Asterisk is sponsored by Digium
  </para>
 </refsect1>
 <refsect1>
  <title>AUTHOR</title>
  <para>
   <author>
    <firstname>Mark Spencer &lt;markster@digium.com&gt;</firstname> 
   </author>
  </para>
  <para>
   <author>
    <firstname>Countless other contributors, see CREDITS with distribution for more information.</firstname> 
   </author>
  </para>
 </refsect1>
>>>>>>> .merge-right.r306999
</refentry>