Add option for starting remote Asterisk by naming the actual runtime socket instead of pointing

to configuration file with -C

Reported by: sobomax
Patches: 
      asterisk.c.diff.trunk uploaded by sobomax (license 359)
      doc changes by committer
(closes issue #11598)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2007-12-19 07:01:40 +00:00
parent 1de09e03cb
commit 489a648d5d
3 changed files with 26 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
<application>asterisk</application>
</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo>asterisk 1.2</refmiscinfo>
<refmiscinfo>asterisk 1.6</refmiscinfo>
</refmeta>
<refnamediv>
<refname>
@@ -21,7 +21,7 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>asterisk</command>
<arg><option>-tThfdvVqpRgciIn</option></arg>
<arg><option>-tThfdvVqpRgciIns</option></arg>
<arg><option>-C </option><replaceable class="parameter">file</replaceable></arg>
<arg><option>-U </option><replaceable class="parameter">user</replaceable></arg>
<arg><option>-G </option><replaceable class="parameter">group</replaceable></arg>
@@ -38,7 +38,7 @@
</refsynopsisdiv>
<refsect1>
<refsect1info>
<date>2006-03-29</date>
<date>2007-12-19</date>
</refsect1info>
<title>DESCRIPTION</title>
<para>
@@ -47,9 +47,9 @@
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) devices (both endpoints and proxies), as well as traditional TDM
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.
ISDN BRI and many more.
</para>
<para>
At start, Asterisk reads the /etc/asterisk/asterisk.conf main configuration
@@ -233,6 +233,15 @@
</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>