[Home]

Summary:ASTERISK-11080: rasterisk, selecting socket to connect via command line
Reporter:Maxim Sobolev (sobomax)Labels:
Date Opened:2007-12-18 18:52:33.000-0600Date Closed:2007-12-19 00:58:33.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk.c.diff.1.4
( 1) asterisk.c.diff.trunk
Description:Hi,

Sometimes it's very useful to be able select control socket not indirectly via specifying path to config file, but directly via command line. The attached patch adds such possibility by introducing the new command line option -s, which takes either absolute or relative path to the control socket.

-Maxim
Comments:By: Olle Johansson (oej) 2007-12-19 00:43:48.000-0600

The patch fails for trunk. We never add functions to releases, so the 1.4 patch is not really needed, only for helping 1.4 users that request this feature.

Can you please also update the manual page and the CHANGES file? THanks.

...and good morning!
/O

By: Olle Johansson (oej) 2007-12-19 00:45:31.000-0600

Sorry, doesn't fail. I had an asterisk.c.orig that messed things up. Anyway, changes and manual page... Will fix.

By: Digium Subversion (svnbot) 2007-12-19 00:58:32.000-0600

Repository: asterisk
Revision: 93854

U   trunk/CHANGES
U   trunk/doc/asterisk.sgml
U   trunk/main/asterisk.c

------------------------------------------------------------------------
r93854 | oej | 2007-12-19 00:58:29 -0600 (Wed, 19 Dec 2007) | 10 lines

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 ASTERISK-11080)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=93854