FGCom (before 3.0): Difference between revisions

Jump to navigation Jump to search
(→‎Testing: Added server and updated output)
Line 103: Line 103:
returns the following useful info
returns the following useful info


fgcom - a communication radio based on VoIP with IAX/Asterisk
    fgcom - a communication radio based on VoIP with IAX/Asterisk
    (c)2007 by H. Wirtz <wirtz@dfn.de>
    Version 1.2.2 build 163M
    Using iaxclient library Version SVN 163M


(c)2007 by H. Wirtz <wirtz@dfn.de>
  OPTION                                        DESCRIPTION


Version 1.1.0 build 42
  -d, -debug, --debug=                          show debugging information
  -S, -voipserver, --voipserver=                voip server to connect to (default: 'fgcom1.parasitstudio.de')
  -s, -fgserver, --fgserver=                    fg to connect to  (default: 'localhost')
  -p, -port, --port=                            where we should listen to FG (default: '16661')
  -a, -airport, --airport=                      airport-id (ICAO) for ATC-mode
  -f, -frequency, --frequency=                  frequency for ATC-mode
  -U, -user, --user=                            username for VoIP account (default: 'guest')
  -P, -password, --password=                    password for VoIP account (default: 'guest')
  -i, -mic, --mic=                              mic input level (0.0 - 1.0)
  -o, -speaker, --speaker=                      speaker output level (0.0 - 1.0)
  -b, -mic-boost, --mic-boost=                  enable mic boost
  -l, -list-audio, --list-audio=                list audio devices
  -r, -set-audio-in, --set-audio-in=            use <devicename> as audio input
  -k, -set-audio-out, --set-audio-out=          use <devicename> as audio output
  -c, -codec, --codec=                          use codec <codec> as transfer codec (default: 'u')


Using iaxclient library Version SVN 42
  Available codecs:
        u - ulaw (default and best codec because the mixing is based onto ulaw)
        a - alaw
        g - gsm
        s - speex
        7 - G.723


fgcom: unrecognized option `--help'
  Mode 1: client for COM1 of flightgear:
        $ fgcom
  - connects fgcom to fgfs at localhost:16661
        $ fgcom -sother.host.tld -p23456
  - connects fgcom to fgfs at other.host.tld:23456


Usage: fgcom [-u user] -w [password] [[-s voipserver] [-p port]] | [[-a airport] [-f frequency]] [-d]
  Mode 2: client for an ATC at <airport> on <frequency>:
        $ fgcom -aKSFO -f120.500
  - sets up fgcom for an ATC radio at KSFO 120.500 MHz


====Account options====
    Note that /home/hcs/src/fgcom/trunk/src/fgcom starts with a guest account unless you use -U and -P!
FGCom starts with a guest account unless you use -U and -P!


--user          | -U    username for VoIP account (default: 'guest')
Also note that the current server (fgcom.flightgear.co.uk) works with guest account, so '''do not use -U or -P'''
--password      | -P    password for VoIP account (default: 'guest')
--voipserver    | -s    voip server to ceonnect to (default 'localhost')
--port          | -p    where we should listen to FG(default '16661')
 
====ATC mode options====
--airport      | -a    airport-id (ICAO) for ATC-mode
--frequency    | -f    frequency for ATC-mode
 
====Audio options====
--mic          | -i    mic input level (0.0 - 1.0)
--speaker      | -o    speaker output level (0.0 - 1.0)
--mic-boost    | -b    enable mic boost
--list-audio    | -l    list audio devices
--set-audio-in  | -r    use <devicename> as audio input
--set-audio-out | -k    use <devicename> as audio output
 
====Misc options====
--debug        | -d    show debugging information
 
Mode 1: client for COM1 of flightgear:
 
$ fgcom
 
- connects fgcom to fgfs at localhost:16661
 
$ fgcom -sother.host.tld -p23456
 
- connects fgcom to fgfs at other.host.tld:23456
 
Mode 2: client for an ATC at <airport> on <frequency>:
 
$ fgcom -aKSFO -d120.500
 
- sets up fgcom for an ATC radio at KSFO 120.500 MHz


===Registration===
===Registration===
26

edits

Navigation menu