Holger Wirtz wrote:
> Csaba,
> 
> Csaba Halász wrote:
>> On Thu, Nov 13, 2008 at 2:50 PM, Holger Wirtz <[EMAIL PROTECTED]> wrote:
>>> This is an intance problem, too. Asterisk will start for every call to a
>>> virtual frequency one coneference application. THis application has a
>>> thread which polls the data from the MP server to calculate the
>>> distances between the clients.
>>>
>>> To put this function one stage above the conference module means to
>>> patch Asterisk itself. That is not really portable and I think very
>>> difficult...
>> Or just use a common cache file.
>> Btw, I remember you experimented with sending the position data
>> through the asterisk connection, didn't that work? You wouldn't need
>> polling then.
> 
> Yes, but it is difficult to implement in the conference application.
> Because every member has his own thread you have much to lock and unlock
> while putting data in a global structure - and than you have to
> calculate the distances every few seconds and so on... it seems to be
> easier to poll the information from the MP server. A streaming
> connection with a configurable frequency (like the FG protocls) would be
> better...
> 
> Also you will have to be a real FG client on the FGMP with the same name
> on the iaxchannel as your callsign to start up working connections with
> fgcom3. That is a big advante because all the trolls have start at least
>  a FG multiplyer simulator to chat with fgcom and the Asterisk server
> admin can tell his users to use realistic calls signs (no relistic call
> sign (and every time the same!) -> no iax account -> no fgcom3. But this
> is in the hand of the Asterisk server admin.

The simplest way would be to run a multiplayer server on the same 
machine as asterisk - that way you could query it as fast as you liked 
without any hit on the main MP servers.

Jon

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to