[asterisk-bugs] [Asterisk 0011645]: [patch] Unable to specify the socket file to use from the command line and manual page update

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Dec 27 17:24:35 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11645 
====================================================================== 
Reported By:                Laureano
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11645
Category:                   Core/Netsock
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 95014 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-27-2007 17:12 CST
Last Modified:              12-27-2007 17:24 CST
====================================================================== 
Summary:                    [patch] Unable to specify the socket file to use
from the command line and manual page update
Description: 
When connecting to the Asterisk CLI using the argument "-s" to specify the
socket file, the following error arises:
Unable to connect to remote asterisk (does /va exist?)

This patch copy the socket file passed from the command line to the
variable cfg_paths.socket_path to avoid writing ast_config_AST_SOCKET (as
Corydon76 suggested) and to get the right sizeof to solve the error
reported when specifying a socket file from the command line.

This patch also updates the manual page to document the new argument "-s"
that can be used with the "-r" or "-R" arguments to specify the socket file
to used.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 12-27-07 17:24  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 95070

U   trunk/doc/asterisk.8
U   trunk/main/asterisk.c

------------------------------------------------------------------------
r95070 | qwell | 2007-12-27 17:24:34 -0600 (Thu, 27 Dec 2007) | 4 lines

Fix -s socket option, and document it as well.

Closes issue http://bugs.digium.com/view.php?id=11645, patch by Laureano.

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-27-07 17:24  svnbot         Checkin                                      
12-27-07 17:24  svnbot         Note Added: 0076075                          
12-27-07 17:24  svnbot         Status                   new => assigned     
12-27-07 17:24  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list