Re: [Flightgear-devel] FlightGear voice communication

2013-09-02 Thread Clement de l'Hamaide
Lloyd, $ROOT/extensions.conf is created by the script in the same folder you are executing the script then moved to /etc/asterisk. Here is the content of extensions.conf: (this file must be in /etc/asterisk) [general] static=yes writeprotect=yes ; [default] #include fgcom.conf include = fgcom

[Flightgear-devel] FlightGear voice communication

2013-08-25 Thread Jörg Emmerich
As a point from a user: I am getting very worried about this discussion about every body has the possibility to setup his own FGCom server disabling the guest:guest account and only accept registered pilot on their server. To my knowledge this issue has been discussed for FGFS very extensively

Re: [Flightgear-devel] FlightGear voice communication

2013-08-25 Thread Dirk Dittmann
Hi Clément, I'm not convinced adding a string is relevant, in real life you haven't a message you tell you if you are correctly connected to X frequency. The only way to check is to look at your radio, in FG it's the same. seams we have different experience in fgcom. And there will be no

Re: [Flightgear-devel] FlightGear voice communication

2013-08-25 Thread Dirk Dittmann
Clément, The easier solution is the last one, it can be really easy to implement this in FGCom standalone/integrated and totally transparent for our users. As example, we can decide that fgcom01.flightgear.org handles frequencies 118.0 to 124.9 fgcom02.flightgear.org handles frequencies

Re: [Flightgear-devel] FlightGear voice communication

2013-08-21 Thread Clement de l'Hamaide
Hi all, Registration can be really usefull if some of our user are considering there is too many children on the frequency. Ebery body has the possibility to setup its own FGCom server disabling the guest:guest account and only accept registered pilot on their server. In this case server admin

Re: [Flightgear-devel] FlightGear voice communication

2013-08-21 Thread Thomas Maass
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! Nice work! Will it be possible in the future to use different sound devices for fgcom and the simulator to get only the fgcom voice via the soundcard with the headset connected? For example using the main soundcard for fg and a usb headset for

Re: [Flightgear-devel] FlightGear voice communication

2013-08-21 Thread Guy Brand
On Aug 21, Clement de l'Hamaide wrote: Hello FGCom standalone is not yet ready for the new FGCom server because he use an old positions.txt file. If you upgrade your server now every OpenRadar/FGCom standalone user won't be able to connect to most of frequencies and here is my

Re: [Flightgear-devel] FlightGear voice communication

2013-08-16 Thread Guy Brand
On Aug 15, Dirk Dittmann wrote: Hello - Dialbook get Nummer : the search should not return the first frequency, the nearest in Range is more suitable. True, it currently returns the first in alphabetical order. As Clement answered, adding ranges, even simple one, should narrow the

Re: [Flightgear-devel] FlightGear voice communication

2013-08-16 Thread James Turner
On 16 Aug 2013, at 09:25, Adrian Musceac kanto...@gmail.com wrote: If you'd use my new radio propagation code, which is an improvement over what's already in git, range would be as close to reality as possible for all type of radio comms, be they VHF voice, VOLMET, ACARS, ADS-B, VOR/DME,

Re: [Flightgear-devel] FlightGear voice communication

2013-08-16 Thread Dirk Dittmann
Am Donnerstag, 15. August 2013, 21:52:34 schrieb Clement de l'Hamaide: Hi Clément, - bandwith: Indeed IAXClient has a function called void iaxc_set_silence_threshold(float thr); unfortunately, looking at source code this function does exactly the same as we are doing in FGCom source code :

Re: [Flightgear-devel] FlightGear voice communication

2013-08-16 Thread Clement de l'Hamaide
Dirk, - bandwith: Good catch ! indeed silent variable is set by the threshold, so it can be worth to investigate here. Once the current state of FGCom will be merged I will try to add this threshold function. - frequencies range: I understand your problem about multiple identical frequences

Re: [Flightgear-devel] FlightGear voice communication

2013-08-16 Thread Dirk Dittmann
- frequencies range: I understand your problem about multiple identical frequences but it seems the problem comes from our apt.dat file which is excessively out-dated. Looking at Jeppensen charts it appears that - EDBM doesn't transmit on 124.170 in real world :

Re: [Flightgear-devel] FlightGear voice communication

2013-08-15 Thread Clement de l'Hamaide
Hi Dirk, Thanks you for your feedback ! I will try to bring you some answer. - bandwith: Indeed IAXClient has a function called void iaxc_set_silence_threshold(float thr); unfortunately, looking at source code this function does exactly the same as we are doing in FGCom source code : set

Re: [Flightgear-devel] FlightGear voice communication

2013-06-24 Thread Clement de l'Hamaide
Hi all, I've now implemented all what I wanted about FGCom. Now FGCom built-in is stable and fully working. As stated with James, it's planned to add the feature once 2.12 branch is created. Also Vivian will add the new dialog ( http://i83.servimg.com/u/f83/16/09/76/33/captur13.png ) in fgdata

Re: [Flightgear-devel] FlightGear voice communication

2013-06-19 Thread Clement de l'Hamaide
Hi Pedro, Asterisk is not a peer-to-peer based infrastructure. Bandwidth cost is ~40kb/s by user (upstreamdownstream)Sound card is not required. The most important things for FGCom hosting is to be able to maintain the server once he is started :-) I'm saying that because a big update (but

Re: [Flightgear-devel] FlightGear voice communication

2013-06-10 Thread Pedro Morgan
Whats involved in hosting an fgcom/asteriks server ? Is it gonna eat the quota on my dedicated ? Can the server work with no soundcard ? Is it peer to peer ? Candidate is http://fgcom.freeflightsim.org alongside http://fgms.freeflightsim.org Hopefully with some client/server interaction..

Re: [Flightgear-devel] FlightGear voice communication

2013-06-09 Thread James Turner
On 8 Jun 2013, at 16:28, Clement de l'Hamaide clem...@hotmail.fr wrote: Hi all, With help from Geoff and James I've successfully added FGCom feature to FlightGear. And thanks the Clement for tackling this. 1) Simultaneous calls snip If someone want to expand IAXClient library in

Re: [Flightgear-devel] FlightGear voice communication

2013-06-09 Thread Clement de l'Hamaide
Jörg, Could it be possible to start 2 instances of FGCOM in the background (just with different ports) and thus be able to switch between those two from within FGFS? Ok in this case I will keep active COM1 and COM2, but keep in mind that you _can't_ listen to COM1 and COM2 at same time.

Re: [Flightgear-devel] FlightGear voice communication

2013-06-08 Thread Clement de l'Hamaide
Hi all, With help from Geoff and James I've successfully added FGCom feature to FlightGear. Therefore I'm facing to 2 limitations from IAXClient library. 1) Simultaneous calls IAXClient library has not be designed to handle simultaneous calls. So it's not possible to listen COM1 and COM2 at

[Flightgear-devel] FlightGear voice communication

2013-06-08 Thread Jörg Emmerich
Hi Clement thanks a million times for taking the initiative for that - i guess I am one of the bigger users and promoters for FGCOM since a long time - and waited very long for such a solution. Just one point: Could it be possible to start 2 instances of FGCOM in the background (just with

Re: [Flightgear-devel] FlightGear voice communication

2013-05-27 Thread Clement de l'Hamaide
Hi, James wrote : Making the current fgcom code work as a thread inside fgfs isn't especially hard, I am happy to offer advice on it, and keeping this an #ifdef / CMake flag so it can be a standalone process is also pretty easy. My current topics/fgcom branch already include a CMake flag

[Flightgear-devel] FlightGear voice communication

2013-05-22 Thread Clement de l'Hamaide
Hi all, I've done some work on FGCom and I'm now able to have a realistic voice communication system which is less far than the reality. As a featuring : - Record ATIS message from FGCom into Asterisk - Playback an ATIS message into FlightGear via FGCom - Listen a _real_ morse code for VOR/DME

Re: [Flightgear-devel] FlightGear voice communication

2013-05-22 Thread James Turner
On 22 May 2013, at 12:16, Clement de l'Hamaide clem...@hotmail.fr wrote: I'm expecting opinion, comments, contributions and even join to this effort. I can't do all this alone because I haven't enough C++ skills (integrate an IAX library in SimGear is impossible for me). I think we need 1