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 same time, or COM1 and NAV2...

For NAV1&2 it's not dramatic because fgcom-server (Asterisk) is simply sending 
morse code, 
since FlightGear is already providing this feature we just need to admit taht 
FGCom feature is only used for COM but not NAV.

For COM1&2 it's more problematic since we should be able to listen to COM1&2 at 
same time (at least for aircraft equipped by 2 COM stations)
The question is: can we agree that FGCom is operating _only_ on COM1 ?

If someone want to expand IAXClient library in order to manage simultaneous 
calls, please raise your hand !


2) OpenAL context
In order to avoid context conflict I've merged FGCom sound into global FG sound 
system.
This mean that we can choose to redirect FGCom sound into our headphone and FG 
sound into our speaker.
The question is: can we agree that FGCom sound is played on the same output 
than FG sound ?

Again, if someone is ready to investigate OpenAL deeply, raise your hand.


Let me know if these 2 limitations are not a sine qua non condition for FGCom 
integration into FG.
IMO, I think that FGCom integration - even if it's limited to COM1 - is already 
a good step forward.


I've also added record feature to FGCom (only for standalone binary) which make 
possible to record an ATIS message.
That way, pilots can listen ATIS message from ATC like it's done in real life 
(at least in France, but I'm now aware that UK ATIS are TTS messages)

If this feature is accepted, we need to disable ATIS messages generated by FG 
(only if FGCom is enabled)
For information, on server side it works as follow :
- If a record is present => play the record
- Else => play a TTS (via Festival in Asterisk) containing current metar


For those you want to test the current state, you need to compile FG from 
https://gitorious.org/~f-jjth/fg/f-jjths-flightgear/ => topics/fgcom branch
Then run FG like :  fgfs --enable-fgcom --airport=LFMV --com1=125.35

For now, my personal Asterisk server is used (clemaez.dyndns.org) and he is 
designed for testing only.
I'm ready to manage an Asterisk server, also a new subdomain name could be 
welcome (e.g fgcom.flightgear.org).
If someone is ready to provide a public server receiving Asterisk, so raise 
your hand.


Any opinion/feedback are welcome.


Cheers,
Clément










                                          
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to