Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-20 Thread Holger Wirtz
[...]
> > The problem is: that has not much to do with VoIP - so you havn't any
> > features of VoIP and no implementations for server and client. Feel free
> > to do so :-)
> > 
> > Perhaps someone can extend the IAX2 protocol and write a new
> > app_meetme.so for Asterisk which ca realise this. But I think it is not
> > really neccessary at this time.
> I could not do it in C or C++ but I might be able in, lets say, C#. though
> currently I working on too many other open source things, both related to
> flightgear and other things, to have time.

The implementation with Asterisk can be done with nearly every language.
The magic application in the dialplan is EAGI(). With this function you
get full AGI access and on the file descriptor 3 the audio of the
stream. You have "only" to connect to a multiplayer server and if the
callsign on the mp server, the user on asterisk and the frq are matching
you can calculate the distance and mix up the audio streams and so on.

Theoretically no problem :-)

See: http://www.voip-info.org/wiki/view/Asterisk+EAGI

Regard, Holger

-- 
#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Stresemannstr. 78E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-20 Thread Holger Wirtz
Hi,

On Wed, Dec 19, 2007 at 11:55:31AM +0100, AnMaster wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Holger Wirtz wrote:
> > Hi Arvid,
> > No, yes, no... yes it's a kind of bug. I had such things not in mind as
> > I wrote fgcom. There should be a feature that allows to use the echo box
> > even if you are authenticated to the server but this works only as
> > guest. I will fix this soon. Than I have to setup asterisk to create
> > conferences for _every_ frequency. That maybe working but I have to
> > think about problems with this...
> > 
> > Regards, Holger
> > 
> Nice. But do fgcom make a difference between the same frequency used for, lets
> say, an airport in Sweden and one in US? Or if you use it in any place just
> outside the range of that airport?

fgcom makes differences - but only for airport becuase than you can
calculate the distance. For every other frequency I can install a
workaround which causes this frq to be unlimeted range - not very
realistic.

Regards, Holger

> 
> Regards,
> 
> Arvid Norlander
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.7 (GNU/Linux)
> 
> iD8DBQFHaPijWmK6ng/aMNkRCobNAKCFAper1HujYKcWbcS5ONjJP+VCJwCfcQnu
> zGjdYAPTGdWCQn54BqX9mXM=
> =2bnH
> -END PGP SIGNATURE-
> 
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Stresemannstr. 78E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-20 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Holger Wirtz wrote:
> Hi,
> 
> after thinking about this feature I recognized that there are some
> problems:
> 
> Real radio has a limited range. So you can use the same frequency at
> every point on the world. If you can hear someone on the same frequency
> depends on how much power his transmitter has (and some other physical
> rules) and/or how far away he is and so on. But with the normal radio
> in a plane (or on ground) you cannot reach the whole world. And radio
> communication is a broadcast media.
> 
> Now try to solve this with unicast media (such as VoIP). Without
> information about the coords of each member you cannot decide "how far
> away" you can be heared by other users.
> 
> I have tried to fix this problem by using one well known coordinate (the
> one of the tower) and the next one of the plane - and a limited range.
> fgcom calculates which airport is most nearby your selected frequency.
> With the coords of this airport it can calculate how far away fgcom is
> and it can drop the line if it is out of range.
> 
> The ideal algorithm would be some kind of conference server which gets
> the frequency it is responsible for, the voice streams _and_ the coords
> of all members on this frequency. With this data the stream for _each_
> member can be mixed up (far away = quite) and send it towards each
> client.
> 
> The problem is: that has not much to do with VoIP - so you havn't any
> features of VoIP and no implementations for server and client. Feel free
> to do so :-)
> 
> Perhaps someone can extend the IAX2 protocol and write a new
> app_meetme.so for Asterisk which ca realise this. But I think it is not
> really neccessary at this time.
I could not do it in C or C++ but I might be able in, lets say, C#. though
currently I working on too many other open source things, both related to
flightgear and other things, to have time.

Regards,

Arvid Norlander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHam5UWmK6ng/aMNkRCveyAJ9bVJkhOgJKBmUCVnOrr2C2CPWicACfQljg
P757L0tDt+Wi3JUgtkx5kYE=
=vp1/
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-20 Thread Holger Wirtz
Hi,

after thinking about this feature I recognized that there are some
problems:

Real radio has a limited range. So you can use the same frequency at
every point on the world. If you can hear someone on the same frequency
depends on how much power his transmitter has (and some other physical
rules) and/or how far away he is and so on. But with the normal radio
in a plane (or on ground) you cannot reach the whole world. And radio
communication is a broadcast media.

Now try to solve this with unicast media (such as VoIP). Without
information about the coords of each member you cannot decide "how far
away" you can be heared by other users.

I have tried to fix this problem by using one well known coordinate (the
one of the tower) and the next one of the plane - and a limited range.
fgcom calculates which airport is most nearby your selected frequency.
With the coords of this airport it can calculate how far away fgcom is
and it can drop the line if it is out of range.

The ideal algorithm would be some kind of conference server which gets
the frequency it is responsible for, the voice streams _and_ the coords
of all members on this frequency. With this data the stream for _each_
member can be mixed up (far away = quite) and send it towards each
client.

The problem is: that has not much to do with VoIP - so you havn't any
features of VoIP and no implementations for server and client. Feel free
to do so :-)

Perhaps someone can extend the IAX2 protocol and write a new
app_meetme.so for Asterisk which ca realise this. But I think it is not
really neccessary at this time.

Regards, Holger

On Tue, Dec 18, 2007 at 07:47:59PM +0100, AnMaster wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> So when will this be fixed. Considering the type of flights I normally make I
> really need this feature. For example I was planning cross atlantic flight 
> with
> in air refueling over mp using fgcom but until this BUG is fixed that is not
> possible. Because I consider it a bug.
> 
> Regards,
> 
> Arvid Norlander
> 
> Csaba Halász wrote:
> > On Dec 18, 2007 5:36 PM, AnMaster <[EMAIL PROTECTED]> wrote:
> >> When I select a frequency that is not a tower freq for any nearby airport I
> >> always get "Call rejected by remote". That is wrong, I should be able to 
> >> use any
> >> frequency anywhere and talk to any aircraft within range. There is no 
> >> airport
> >> out over the Atlantic for example. There are a lot of places with no 
> >> airport in
> >> range, yet I should be able to talk to other aircrafts within range of my 
> >> radio,
> >> and only those.
> > 
> > Yes, the design of fgcom doesn't support that at the moment. That is
> > not a bug, but a limitation.
> > Currently fgcom is mostly usable for fixed position ATC.
> > 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.7 (GNU/Linux)
> 
> iD8DBQFHaBXeWmK6ng/aMNkRClI+AJ0eun88BJ0d9zibWuq5ufPgJzAhigCghW0/
> XaoTLP9Ihy9rV62mF/EWLoY=
> =4Y/J
> -END PGP SIGNATURE-
> 
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Stresemannstr. 78E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-19 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Holger Wirtz wrote:
> Hi Arvid,
> No, yes, no... yes it's a kind of bug. I had such things not in mind as
> I wrote fgcom. There should be a feature that allows to use the echo box
> even if you are authenticated to the server but this works only as
> guest. I will fix this soon. Than I have to setup asterisk to create
> conferences for _every_ frequency. That maybe working but I have to
> think about problems with this...
> 
> Regards, Holger
> 
Nice. But do fgcom make a difference between the same frequency used for, lets
say, an airport in Sweden and one in US? Or if you use it in any place just
outside the range of that airport?

Regards,

Arvid Norlander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHaPijWmK6ng/aMNkRCobNAKCFAper1HujYKcWbcS5ONjJP+VCJwCfcQnu
zGjdYAPTGdWCQn54BqX9mXM=
=2bnH
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-18 Thread Holger Wirtz
Hi Arvid,

On Tue, Dec 18, 2007 at 07:47:59PM +0100, AnMaster wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> So when will this be fixed. Considering the type of flights I normally make I
> really need this feature. For example I was planning cross atlantic flight 
> with
> in air refueling over mp using fgcom but until this BUG is fixed that is not
> possible. Because I consider it a bug.

No, yes, no... yes it's a kind of bug. I had such things not in mind as
I wrote fgcom. There should be a feature that allows to use the echo box
even if you are authenticated to the server but this works only as
guest. I will fix this soon. Than I have to setup asterisk to create
conferences for _every_ frequency. That maybe working but I have to
think about problems with this...

Regards, Holger

> 
> Regards,
> 
> Arvid Norlander
> 
> Csaba Halász wrote:
> > On Dec 18, 2007 5:36 PM, AnMaster <[EMAIL PROTECTED]> wrote:
> >> When I select a frequency that is not a tower freq for any nearby airport I
> >> always get "Call rejected by remote". That is wrong, I should be able to 
> >> use any
> >> frequency anywhere and talk to any aircraft within range. There is no 
> >> airport
> >> out over the Atlantic for example. There are a lot of places with no 
> >> airport in
> >> range, yet I should be able to talk to other aircrafts within range of my 
> >> radio,
> >> and only those.
> > 
> > Yes, the design of fgcom doesn't support that at the moment. That is
> > not a bug, but a limitation.
> > Currently fgcom is mostly usable for fixed position ATC.
> > 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.7 (GNU/Linux)
> 
> iD8DBQFHaBXeWmK6ng/aMNkRClI+AJ0eun88BJ0d9zibWuq5ufPgJzAhigCghW0/
> XaoTLP9Ihy9rV62mF/EWLoY=
> =4Y/J
> -END PGP SIGNATURE-
> 
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
#   ##  ##   Holger Wirtz Phone : (+49 30) 884299-40
##  ## ##   ### ##   DFN-Verein   Fax   : (+49 30) 884299-70
##  ##  ##   Stresemannstr. 78E-Mail: [EMAIL PROTECTED]
##  ## ##   ## ###   10963 Berlin
#  ##   ##  ##   GERMANY  WWW   : http://www.dfn.de
GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC  0C51 E961 79E2 6685 9BCF

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-18 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

So when will this be fixed. Considering the type of flights I normally make I
really need this feature. For example I was planning cross atlantic flight with
in air refueling over mp using fgcom but until this BUG is fixed that is not
possible. Because I consider it a bug.

Regards,

Arvid Norlander

Csaba Halász wrote:
> On Dec 18, 2007 5:36 PM, AnMaster <[EMAIL PROTECTED]> wrote:
>> When I select a frequency that is not a tower freq for any nearby airport I
>> always get "Call rejected by remote". That is wrong, I should be able to use 
>> any
>> frequency anywhere and talk to any aircraft within range. There is no airport
>> out over the Atlantic for example. There are a lot of places with no airport 
>> in
>> range, yet I should be able to talk to other aircrafts within range of my 
>> radio,
>> and only those.
> 
> Yes, the design of fgcom doesn't support that at the moment. That is
> not a bug, but a limitation.
> Currently fgcom is mostly usable for fixed position ATC.
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHaBXeWmK6ng/aMNkRClI+AJ0eun88BJ0d9zibWuq5ufPgJzAhigCghW0/
XaoTLP9Ihy9rV62mF/EWLoY=
=4Y/J
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-18 Thread Csaba Halász
On Dec 18, 2007 5:36 PM, AnMaster <[EMAIL PROTECTED]> wrote:
>
> When I select a frequency that is not a tower freq for any nearby airport I
> always get "Call rejected by remote". That is wrong, I should be able to use 
> any
> frequency anywhere and talk to any aircraft within range. There is no airport
> out over the Atlantic for example. There are a lot of places with no airport 
> in
> range, yet I should be able to talk to other aircrafts within range of my 
> radio,
> and only those.

Yes, the design of fgcom doesn't support that at the moment. That is
not a bug, but a limitation.
Currently fgcom is mostly usable for fixed position ATC.

-- 
Csaba/Jester

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FGCOM bug: Call rejected by remote

2007-12-18 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When I select a frequency that is not a tower freq for any nearby airport I
always get "Call rejected by remote". That is wrong, I should be able to use any
frequency anywhere and talk to any aircraft within range. There is no airport
out over the Atlantic for example. There are a lot of places with no airport in
range, yet I should be able to talk to other aircrafts within range of my radio,
and only those.

Regards,

Arvid Norlander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHZ/byWmK6ng/aMNkRCntqAJ9KbRsG5upg3j2QHFoveOoy9LTRWgCgskRp
8J73PWI6AbtFD9h7w5s6upo=
=Wq26
-END PGP SIGNATURE-

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel