FGCOM Testing: Difference between revisions

Jump to navigation Jump to search
Reformmated page for redability. Please do not use the <small> tag unless absolutely necessary and even then think about it.
m (→‎Where to find the volume controls: Pick up the German translation)
(Reformmated page for redability. Please do not use the <small> tag unless absolutely necessary and even then think about it.)
Line 12: Line 12:
Prior to executing the following [[Command line|command]] open a command-window and change into the directory, into which the FGCom was installed. This path will then be shown shown in the command window, followed by a "$"-sign. Enter the following "fgcom"-command with the required/wanted options:
Prior to executing the following [[Command line|command]] open a command-window and change into the directory, into which the FGCom was installed. This path will then be shown shown in the command window, followed by a "$"-sign. Enter the following "fgcom"-command with the required/wanted options:


  '''fgcom -Sfgcom.flightgear.org.uk -f910'''
<pre>fgcom -Sfgcom.flightgear.org.uk -f910</pre>


{|border="1"
: ''fgcom''
|+
:: the command ''(in case you installed by using the [[Scripted_Compilation_on_Linux_Debian/Ubuntu|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 -f910'''")''
|-
: ''-Sfgcom.flightgear.org.uk''
|align="center"|fgcom||the command ''(in case you installed by using the [[Scripted_Compilation_on_Linux_Debian/Ubuntu|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 -f910'''")''
:: the central server for FGCOM
|-
: ''-f910''
|align="center"|-Sfgcom.flightgear.org.uk||the central server for FGCOM
:: the only available frequency for echo-tests
|-
: optional
|align="center"|-f910||the only available frequency for echo-tests
:: In case your audiosystem is rather weak, you may try the options:
|-
:: ''-i and/or -o'': i=input(microphone) o=output(Speaker), both values between 0.0 and 1.0 (e.g.: -i0.9)
|align="center"|optional||In case your audiosystem is rather weak, you may try the options:
 
-i and/or -o: i=input(microphone) o=output(Speaker), both values between 0.0 and 1.0 (e.g.: -i0.9)
You do not need any Login-Passwords and/or User-Names !!!
|-
 
||  ||You do not need any Login-Passwords and/or User-Names !!!
For a detailed description of all available options see [[FGCOM#Commandline Parameters|Commandline Parameters]] - in the following we will only show the minimal required options:
|}
<pre>That should give you the following return:
For a detailed description of all available options see [[FGCOM#Commandline Parameters|Commandline Parameters]] - in the following we will only show the usually required options:
fgcom - a communication radio based on VoIP with IAX/Asterisk
<br>That should give you the following return:
(c)2007 by H. Wirtz <wirtz@dfn.de>
    fgcom - a communication radio based on VoIP with IAX/Asterisk
Version 1.2.2 build 163M
    (c)2007 by H. Wirtz <wirtz@dfn.de>
Using iaxclient library Version SVN 163M
    Version 1.2.2 build 163M
    Using iaxclient library Version SVN 163M
Successfully parsed commandline options.
   
Reading list of airports...done.
    Successfully parsed commandline options.
Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
    Reading list of airports...done.
Call 0 accepted
    Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
Call 0 answered
    Call 0 accepted
</pre>
    Call 0 answered


Speak into your microphone 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.
Speak into your microphone 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.
Line 52: Line 51:
  "The procedure entry point alcCaptureSamples could not be located in the dynamic link libary Open AL32.dll."
  "The procedure entry point alcCaptureSamples could not be located in the dynamic link libary Open AL32.dll."
Then download and install the latest OpenAL software from: http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx
Then download and install the latest OpenAL software from: http://connect.creativelabs.com/openal/Downloads/Forms/AllItems.aspx
{|border="1"
: for windows: '''alinst.zip'''
|+
: for Linux: '''openal-soft-1.10.622'''
|-
: for OSX: '''OpenALInstaller'''
||for windows:|| '''alinst.zip'''
''Be aware that the versions and also the names of the modules may change -- so please always check also the description of the module at the right side on that http-page!''
|-
||for Linux:||'''openal-soft-1.10.622'''
|-
||for OSX:||'''OpenALInstaller'''
|}<small>''Be aware that the versions and also the names of the modules may change -- so please always check also the description of the module at the right side on that http-page!''


<br>
<br>
===Error: Incorrect Home-Directory specified for FGCOM:===
===Error: Incorrect Home-Directory specified for FGCOM:===
{|border="1"
 
|+
typical for '''Windows'''-Systems:
|-
<pre>
||typical for '''Windows'''-Systems:
  C:\Users\localuser>cd \Programme\Fxx
|-
||
    C:\Users\emmerich>cd \Programme\Fxx
     The System cannot find the given path.
     The System cannot find the given path.
    
    
     C:\Users\emmerich>fgcom.exe -Sfgcom.flightgear.org.uk -f910
     C:\Users\emmerich>fgcom.exe -Sfgcom.flightgear.org.uk -f910
     The command "fgcom.exe" is either mistyped or could not be found.
     The command "fgcom.exe" is either mistyped or could not be found.
|}
</pre>
{|border="1"
 
|+
typical for '''Linux'''-Systems:
|-
<pre>
||typical for '''Linux'''-Systems:
|-
||
  /home/emmerich/Desktop/Link to fgcom: line 1: cd: /home/emmerich/fgf: No such file or directory
  /home/emmerich/Desktop/Link to fgcom: line 1: cd: /home/emmerich/fgf: No such file or directory
  sh: Can't open run_fgcom.sh
  sh: Can't open run_fgcom.sh
|}
</pre>
 
*The system is right: I gave it (for testing) a wrong directory!
*The system is right: I gave it (for testing) a wrong directory!
*You better correct yours prior to retrying!
*You better correct yours prior to retrying!


<br>
===Error: "TYPO" (mistyped command or option) or Network-problem:===
<pre>
./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


===Error: "TYPO" (mistyped command or option) or Network-problem:===
Successfully parsed command-line options.
    ./fgcom - a communication radio based on VoIP with IAX/Asterisk
Reading list of airports...done.
    (c)2007 by H. Wirtz <wirtz@dfn.de>
Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
    Version 1.2.2 build 223M
</pre>
    Using iaxclient library Version SVN 223M
   
    Successfully parsed command-line options.
    Reading list of airports...done.
    Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
after some time there may appear:
after some time there may appear:
  ''' Call 0 timed out.'''
 
    '''Timeout for a non-existent session.  Dropping'''
<pre>
''' Call 0 timed out.'''
'''Timeout for a non-existent session.  Dropping'''
</pre>
most likely you may have
most likely you may have
*defined a wrong Frequency to use or you may have forgotten to define one. You '''must define the option -f910'''
*defined a wrong Frequency to use or you may have forgotten to define one. You '''must define the option -f910'''
*forgotten a "-"sign in front of an option
*forgotten a "-"sign in front of an option
Line 111: Line 104:
**Check your network by using some other application (e.g. your file browser to look up an usually not used http-address - if you use a recently used address the answer might be out of your locally saved copies - even so the network is not connected! (e.g. use "http://mainz.de/" to test)
**Check your network by using some other application (e.g. your file browser to look up an usually not used http-address - if you use a recently used address the answer might be out of your locally saved copies - even so the network is not connected! (e.g. use "http://mainz.de/" to test)
*If you use a firewall (what you should - out of general safety reasons!) make sure the ports
*If you use a firewall (what you should - out of general safety reasons!) make sure the ports
<pre>
   2005 UDP Vcp-Stream
   2005 UDP Vcp-Stream
   4569 UDP FGCom  VoIP, (Inter-Asterisk eXchange)
   4569 UDP FGCom  VoIP, (Inter-Asterisk eXchange)
   5000 UDP in/out Multiplayer    (VPN Sftw.)
   5000 UDP in/out Multiplayer    (VPN Sftw.)
   16661 UDP FGCom listening to FGFS, usually “local host” only
   16661 UDP FGCom listening to FGFS, usually “local host” only
</pre>
are enabled for your PC.
are enabled for your PC.


===Error: "Phone-book" and/or "positions" cannot be found and/or are corrupted:===
===Error: "Phone-book" and/or "positions" cannot be found and/or are corrupted:===
    ./fgcom - a communication radio based on VoIP with IAX/Asterisk
<pre>
    (c)2007 by H. Wirtz <wirtz@dfn.de>
./fgcom - a communication radio based on VoIP with IAX/Asterisk
    Version 1.2.2 build 223M
(c)2007 by H. Wirtz <wirtz@dfn.de>
    Using iaxclient library Version SVN 223M
Version 1.2.2 build 223M
   
Using iaxclient library Version SVN 223M
    Successfully parsed commandline options.
 
    '''Reading list of airports...Cannot open /home/emmerich/fgfs/install/fgcom/fgcom/positions.txt'''
Successfully parsed commandline options.
    '''fopen: No such file or directory'''
'''Reading list of airports...Cannot open /home/emmerich/fgfs/install/fgcom/fgcom/positions.txt'''
    '''Stopping service.'''
'''fopen: No such file or directory'''
    (etc)
'''Stopping service.'''
(etc)
</pre>
*check the directory in which the FGCOM is installed for the files "phonebook.txt" and "positions.txt". These are normal text-files in which you can add missing informations with a standard editor, for Windows you should use the "WordPad" (not the "Editor"). Replacing a complete "Windows" position.txt with a "Linux" one can lead to errors, although lines of both files may be exchanged/added.
*check the directory in which the FGCOM is installed for the files "phonebook.txt" and "positions.txt". These are normal text-files in which you can add missing informations with a standard editor, for Windows you should use the "WordPad" (not the "Editor"). Replacing a complete "Windows" position.txt with a "Linux" one can lead to errors, although lines of both files may be exchanged/added.


<br>
===Error: The Sound-Card is not fully compatible:===
===Error: The Sound-Card is not fully compatible:===
    ./fgcom - a communication radio based on VoIP with IAX/Asterisk
<pre>
    (c)2007 by H. Wirtz <wirtz@dfn.de>
./fgcom - a communication radio based on VoIP with IAX/Asterisk
    Version 1.2.2 build 223M
(c)2007 by H. Wirtz <wirtz@dfn.de>
    Using iaxclient library Version SVN 223M
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.
'''AL lib: alsa.c:564: set access failed: Invalid argument'''
    Reading list of airports...done.
Successfully parsed commandline options.
    Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
Reading list of airports...done.
    Call 0 accepted
Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk
    Call 0 answered
Call 0 accepted
Call 0 answered
</pre>
*Continue checking/adjusting:
*Continue checking/adjusting:
**If everything else works out OK forget this problem (but be aware: The Audio might not function perfectly!)
**If everything else works out OK forget this problem (but be aware: The Audio might not function perfectly!)
128

edits

Navigation menu