Next: Chat Scripts, Previous: First Run, Up: Usage [Contents]
chestnut-dialer [basic options] [command [options]
[attribute_name=value | unset attribute_name]...]
If no arguments are supplied, then Chestnut Dialer runs with the user interface specified in file ~/.chestnut-dialer/preferred-ui-X, where ~ stands for the user home directory, X is X11 or console. If there is no such file, then the program attempts to determine the preferred user interface based on the current environment (X11 or console).
All commands except --dial either disable the user
interface or use interface none.
The program terminates as soon as the command has been executed.
Command --dial is an exception: the program will remain
running as long as a connection exists if interface none is used;
the program will remain running until the user stops it
if another interface is used.
To disconnect the connection established while using interface none, press Ctrl+C on the keyboard.
Successful termination. Chestnut Dialer terminated at the user’s request.
Command line usage error.
Invalid arguments are supplied (e.g. invalid account identifier, invalid user interface).
Unknown error.
No dialtone.
Line is busy.
No carrier detected.
Authentication failure.
Internal software error.
Operating system error.
Specifies the user interface. Use command --list-ui to get a list of all possible interfaces.
Passes a parameter to the user interface. Multiple --ui-param options may be specified. Use command --list-ui-params to get list of all possible parameters.
Sets the debugging information output level. The program sends debugging info to the standard error stream. Level 0 means output of fatal errors only. The more the value, the more info is sent to the output. The default value is 2.
Disables printing of the header line in all lists.
Detach from controlling terminal.
Dial.
Disconnect.
Delete the account.
Create a new account and print its identifier.
Modify the existing account.
Print the account.
Print the account with all default values.
List accounts. Prints a table, the first column contains identifiers, the second column contains account names.
List installed user interfaces. Prints a table, the first column shows interface names, the second column shows interface types, the third column shows the author, the 4-th column shows the description.
List parameters that the currently selected user interface can process. Prints a table, the first column contains parameter names, the second column shows the parameter type, the third column shows the description.
List all possible account attributes. Prints a table, the first column contains attribute names, the second column shows the attribute type.
Disconnect and terminate existing process (if there is no such process, Chestnut Dialer notifies you).
Print short usage info.
Print the program name and version.
Selects the account by the ID number.
Selects the account by the name. First account whose name contains a value of given argument will be selected. Search is not case sensitive.
See a description of all account attributes in Account Attributes.
Keyword unset resets an attribute to its default value.
Values of boolean attributes can be specified as:
‘on’ or ‘off’, or ‘yes’ or ‘no’, or ‘1’ or ‘0’.
The value for a list attribute may be specified as a list of
values separated by commas.
Create an account:
chestnut-dialer -c name="CoolOnline" phone_numbers=555,666 \ user=larry passwd=secret
Dial using account CoolOnline (CoolOnline is the account name).
chestnut-dialer -i none -dn CoolOnline
Dial using a modified account with account identifier 1 (the program does not save new attribute values, it uses the new attibute values for one connection only):
chestnut-dialer -i none -da 1 phone_numbers=777 redial_attempts=5
Modify account CoolOnline:
chestnut-dialer -mn CoolOnline phone_numbers=777 redial_attempts=5
Print account 1 (1 is the account identifier):
chestnut-dialer -pa 1
Delete account 1 (1 is the account identifier):
chestnut-dialer -ea 1
Next: Chat Scripts, Previous: First Run, Up: Usage [Contents]