Summary:ASTERISK-11120: [patch] Unable to specify the socket file to use from the command line and manual page update
Reporter:Tomás Laureano Peralta Tormey (laureano)Labels:
Date Opened:2007-12-27 17:12:12.000-0600Date Closed:2007-12-27 17:24:35.000-0600
Versions:Frequency of
Environment:Attachments:( 0) asterisk_socket_option.patch
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.


Disclaimer on file.
Comments:By: Digium Subversion (svnbot) 2007-12-27 17:24:34.000-0600

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 ASTERISK-11120, patch by Laureano.