FGCom (before 3.0): Difference between revisions

Refresh default output messages for "fgcom" and "fgcom --help"
(Remove all reference to fgcom01 server, as only fgcom.flightgear.org should be used)
(Refresh default output messages for "fgcom" and "fgcom --help")
Line 285: Line 285:
<br><br>
<br><br>
'''1) The first response should be:'''
'''1) The first response should be:'''
   /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>  
   Original (c) 2007-2011 by H. Wirtz <wirtz@dfn.de>
   Version 1.2.2 build 206M
  OSX and Windows ports 2012-2013 by Yves Sablonier and Geoff R. McLane, resp.
   Using iaxclient library Version SVN 206M
   Version 3.1.0 compiled Mar  2 2014, at 00:21:19
   Using iaxclient library Version SVN 261
    
    
   Successfully parsed command-line options.  
   Successfully parsed commandline options
   Reading list of airports...done.
  Loaded file [/usr/share/flightgear/special_frequencies.txt].
   Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org)
   Reading airports [/usr/share/flightgear/positions.txt]
  loaded 47171 entries
   Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org
 
If, due to a prior flight, COM1 was set to anything else but 118.600 (e.g. to 119.650) you will see the following 2 lines added to the above shown initialization of the FGCom-window:
If, due to a prior flight, COM1 was set to anything else but 118.600 (e.g. to 119.650) you will see the following 2 lines added to the above shown initialization of the FGCom-window:
  Selected frequency: 119.650  
  Selected frequency: 119.650  
Line 487: Line 491:
  fgcom --help
  fgcom --help
returns the following useful info
returns the following useful info
    fgcom - a communication radio based on VoIP with IAX/Asterisk
 
    (c)2007 by H. Wirtz <wirtz@dfn.de>
  fgcom - a communication radio based on VoIP with IAX/Asterisk
    Version 1.2.2 build 163M
  Original (c) 2007-2011 by H. Wirtz <wirtz@dfn.de>
    Using iaxclient library Version SVN 163M
  OSX and Windows ports 2012-2013 by Yves Sablonier and Geoff R. McLane, resp.
  Version 3.1.0 compiled Mar  2 2014, at 00:21:19
  Using iaxclient library Version SVN 261
 
    OPTION                                                DESCRIPTION
 
    -d, -debug, --debug=                                  show debugging information
    -S, -voipserver, --voipserver=                        voip server to connect to (default: 'fgcom.flightgear.org')
    -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
    -C, -callsign, --callsign=                            callsign to use (default: 'guest')
    -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
    -t, -silence-threshold, --silence-threshold=          set silence threshold (-60.0 - 0.0)
    -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')
    -T, -positions, --positions=                          location positions file (default: '/usr/share/flightgear/positions.txt')
    -Q, -special, --special=                              location spl. frequency file (opt) (default: '/usr/share/flightgear/special_frequencies.txt')
    
    
  OPTION                                        DESCRIPTION
    Available codecs:
          u - ulaw (default and best codec because the mixing is based onto ulaw)
          a - alaw
          g - gsm
          s - speex
          7 - G.723
    
    
  -d, -debug, --debug=                          show debugging information
  -S, -voipserver, --voipserver=                voip server to connect to (default: 'fgcom.flightgear.org')
  -s, -fgserver, --fgserver=                    network device 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')
    
    
  Available codecs:
    Mode 1: client for COM1 of flightgear:
        u - ulaw (default and best codec because the mixing is based onto ulaw)
          $ fgcom
        a - alaw
    - connects fgcom to fgfs at localhost:16661
        g - gsm
          $ fgcom -sother.host.tld -p23456
        s - speex
    - connects fgcom to fgfs at other.host.tld:23456
        7 - G.723
    
    
  Mode 1: client for COM1 of flightgear:
    Mode 2: client for an ATC at <airport> on <frequency>:
        $ fgcom
          $ fgcom -aKSFO -f120.500
  - connects fgcom to fgfs at localhost:16661
    - sets up fgcom for an ATC radio at KSFO 120.500 MHz
        $ 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 -f120.500
  - sets up fgcom for an ATC radio at KSFO 120.500 MHz
    
    
    Note that /home/hcs/src/fgcom/trunk/src/fgcom starts with a guest account unless you use -U and -P!
  Note that fgcom starts with a guest account unless you use -U and -P!


Also note that the current server (fgcom.flightgear.org) works with guest account, so '''do not use -U or -P'''
Also note that the current server (fgcom.flightgear.org) works with guest account, so '''do not use -U or -P'''
13

edits