FGCOM Testing
This "FGCOM_Testing" is intended to support FGCOM-users in debugging their FGCOM-System directly after installation, but also for those who want to verify the basic functionality or want to readjust the audio-system. It covers the following 3 areas in more detail:
- Initial test of the standalone FGCOM Installation
- Test FGCOM together within the FlighGear Simulator
- Adjust the Microphone and Speaker (or joystick, etc.) volumes
Of course the prerequisite for the following is that you have already installed the FGCOM (see the FGCOM-main-page) !
-
The Initial test of the standalone FGCOM Installation --> the so called "-f910 Test"
Prior to executing the following command change into the directory, into which the FGCom was installed. After the then shown path (and "$") type the "fgcom"-command with the required/wanted options. For a detailed description of all available options see Commandline Parameters - in the following we will only show the usually required options:
fgcom -Sfgcom.flightgear.org.uk -f910
fgcom the command (in case you installed by using the download_and_compile.sh script for LINUX-Systems you have to replace the command "fgcom" with "sh ./run_fgcom.sh". Then the complete command would be: sh ./run_fgcom.sh -Sfgcom.flightgear.org.uk -f910) -Sfgcom.flightgear.org.uk the central server for FGCOM -f910 the only available frequency for echo-tests
That should give you the following output: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 Successfully parsed commandline options. Reading list of airports...done. Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk Call 0 accepted Call 0 answered
speak into the mic and your words should be echoed back with a short delay. e.g. say "one" - and you should notice that the "one" is returned after you finished speaking it.
If that was OK- type ctrl-C to exit this Quick-Test
- and continue with the next chapter.
In case of trouble check the following most probable errors:- Typically for a TYPO (mistyped command or option) would be: ./fgcom - a communication radio based on VoIP with IAX/Asterisk (c)2007 by H. Wirtz <wirtz@dfn.de> Version 1.2.2 build 223M Using iaxclient library Version SVN 223M AL lib: alsa.c:564: set access failed: Invalid argument Successfully parsed commandline options. Reading list of airports...done. Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk most likely you may have
- forgotten a "-"sign in front of an option
- or typed a small "-sfgcom..." instead the capital "-Sfgcom..."
- or other typos.
- "Reading list of airports .." not successful: Check your file “positions.txt” which should be in the same directory in which you installed the FGCom. This is a normal text-file in which you can add missing informations. (Replacing a complete "Windows" position.txt with a "Linux" one can lead to errors, although lines of both files may be exchanged/added).
- "Initializing IAX client" not successful: Check if you defined the right server, it must be "-Sfgcom.flightgear.org.uk”. Watch it: The “S” must be capital in Linux, but small for Windows (“-sfgcom.flightgear.org.uk”)!
- No response "Call 0 accepted": Check your network, especially your firewall for open ports.