java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic ProjectWonderlandTelephoneAdmin (5 - 28 Jul 2008 - Main.jprovino)
Line: 1 to 1
 
META TOPICPARENT name="ProjectWonderlandTelephoneAdmin"
Home | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Line: 8 to 8
 

Connecting to the Telephone Network

Changed:
<
<
- The voice bridge is configured to work with IP phones such as the SIP Communicator which comes with
>
>
The voice bridge is configured to work with IP phones such as the SIP Communicator which comes with
  the voice bridge or any SIP IP Phone handset. In the latter case, the handset must be configured to use the voice bridge as the SIP Proxy and SIP Registrar.
Changed:
<
<
- No additional hardware is needed for phone calls unless the user wants to connect to the public switched telephone network. In that case, a SIP VoIP? / PSTN gateway is required. The gateway
>
>
No additional hardware is needed for phone calls unless the user wants to connect to the public switched telephone network. In that case, a SIP VoIP / PSTN gateway is required. The gateway
  must to connected to the IP network and also to the Phone system which is usually done via a T1 line.

We have used a Cisco 3745 Gateway voice VoIP? modules. Asterisk can also be used as the gateway.

Line: 21 to 21
 third party provider such as Junction Networks. The jVoiceBridge wiki provides information on how to set this up.

Regardless of the type of gateway used, the voice bridge must be configured to use the gateway.

Changed:
<
<
This can be done in one of two ways. The first way configures the running voice bridge and must be redone each time the voice bridge is started:
>
>
This can be done in one of two ways. The first way configures the running voice bridge and must be redone each time the voice bridge is started:
 
telnet <voice bridge ip address> 6666
Line: 38 to 37
 detach
Changed:
<
<
The second way requires editing the scripts to start the voice bridge: In the developer's release there is a file lg3d-wonderland/build-tools/import/run-voice.xml. In the binary release, the file to edit is lg3d-wonderland/ant/run.xml.

Edit the file and in the "run-bridge" target add the following line

>
>
The second way requires editing the properties file: In the developer's release edit or create lg3d-wonderland/my.build.properties. In the binary release edit or create lg3d-wonderland/my.run.properties. Add the following lines to the appropriate file:
 
Deleted:
<
<
VoIP? gateway>"/>
 
Changed:
<
<
If you also have a Sip Proxy add this line:
>
>
voicebridge.sip.gateways= voicebridge.sip.proxy=
 
Deleted:
<
<
 <jvmarg value="-Dcom.sun.voip.server.SIPProxy=<proxyIPAddress"/>
 
Added:
>
>
You may also need to configure the gateway to allow access from the voice bridge and to forward incoming calls to the voice bridge. For information about configuring the gateway see the section on Configuring a SIP / VoIP to PSTN Gateway: http://wiki.java.net/bin/view/Communications/JVoiceBridge
 

Adding a Virtual Telephone



 <<O>>  Difference Topic ProjectWonderlandTelephoneAdmin (4 - 28 Jul 2008 - Main.nicoley)
Line: 1 to 1
 
META TOPICPARENT name="ProjectWonderlandTelephoneAdmin"
Home | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Changed:
<
<

Telephone Administration

>
>

Telephone Integration

Connecting to the Telephone Network

- The voice bridge is configured to work with IP phones such as the SIP Communicator which comes with the voice bridge or any SIP IP Phone handset. In the latter case, the handset must be configured to use the voice bridge as the SIP Proxy and SIP Registrar.

- No additional hardware is needed for phone calls unless the user wants to connect to the public switched telephone network. In that case, a SIP VoIP? / PSTN gateway is required. The gateway must to connected to the IP network and also to the Phone system which is usually done via a T1 line.

We have used a Cisco 3745 Gateway voice VoIP? modules. Asterisk can also be used as the gateway. See http://www.asterisk.org/ for more information on how to set up an Asterisk system. You can also use a third party provider such as Junction Networks. The jVoiceBridge wiki provides information on how to set this up.

Regardless of the type of gateway used, the voice bridge must be configured to use the gateway. This can be done in one of two ways. The first way configures the running voice bridge and must be redone each time the voice bridge is started:

telnet <voice bridge ip address> 6666
voipGateways=<ip address of VoIP gateway>
detach

If you have SIP Proxy you can specify that with

telnet <voice bridge ip address> 6666
defaultSipProxy=<ip address of SIP proxy>
detach

The second way requires editing the scripts to start the voice bridge: In the developer's release there is a file lg3d-wonderland/build-tools/import/run-voice.xml. In the binary release, the file to edit is lg3d-wonderland/ant/run.xml.

Edit the file and in the "run-bridge" target add the following line

 <jvmarg value="-Dcom.sun.voip.server.VoIPGateways=<ip address of VoIP gateway>"/>   

If you also have a Sip Proxy add this line:

 <jvmarg value="-Dcom.sun.voip.server.SIPProxy=<proxyIPAddress"/>

Adding a Virtual Telephone

 

<-- Your JavaDesktop? article goes here. Please try to include at least one sentence describing this topic. -->

 <<O>>  Difference Topic ProjectWonderlandTelephoneAdmin (3 - 24 Jul 2008 - Main.jprovino)
Line: 1 to 1
 
META TOPICPARENT name="ProjectWonderlandTelephoneAdmin"
Home | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Line: 10 to 10
 
<-- Please make sure some other page points to your new article so that others can find it! -->
<-- For more on how to write Javapedia articles please read the WritingArticles? page. -->
Deleted:
<
<

Summary

Adding a VNC Viewer to your world

 The virtual telephone is loaded into Wonderland using WFS. A sample WFS property file is provided here: ConferencePhoneWFSFile

To install the phone, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy the WFS file to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld.


 <<O>>  Difference Topic ProjectWonderlandTelephoneAdmin (2 - 18 Jul 2008 - Main.jprovino)
Line: 1 to 1
 
META TOPICPARENT name="ProjectWonderlandTelephoneAdmin"
Home | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->
Changed:
<
<

VNC Viewer Administration

>
>

Telephone Administration

 

<-- Your JavaDesktop? article goes here. Please try to include at least one sentence describing this topic. -->
Line: 16 to 16
 

Adding a VNC Viewer to your world

Changed:
<
<
The VNC Viewer is loaded into Wonderland using WFS. A sample WFS property file is provided in the wonderland-modules project on java.net:
>
>
The virtual telephone is loaded into Wonderland using WFS. A sample WFS property file is provided here: ConferencePhoneWFSFile
 
Changed:
<
<
https://wonderland-modules.dev.java.net/source/browse/*checkout*/wonderland-modules/trunk/src/modules/apps/2d/tightvncviewer/VNC-wlc.xml?content-type=text%2Fplain

To install the VNC Viewer, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy VNC-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld. The default property file loads the viewer at the starting point in the world. It should appear in front of your avatar when you enter the world.

>
>
To install the phone, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy the WFS file to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld.
 Next, edit the file and customize the following properties:
Changed:
<
<
The IP address or host name of the VNC server:
>
>
The default setting for demoMode is true. This means that phone calls will be simulated. This setting can be changed dynamically in the phone dialog. Set it to false if you don't want the default to simulate calls.
 
Changed:
<
<
192.168.0.1
>
>
true
 
Changed:
<
<
The VNC Viewer uses the default VNC port: 5900. If your VNC server is running on a non-standard port, change the port property:
>
>
The password is used to unlock the phone and take it out of simulation mode. If there is no password property specified, the phone is always unlocked.
 
Changed:
<
<
5900
>
>
1234
 
Changed:
<
<
Specify the user name and password:
>
>
phoneNumber is used to identify the phone. If there is a PSTN gateway configured to handle incoming calls, the caller will be prompted to enter the number of the phone to call.
 
Changed:
<
<
username password
>
>
1
 
Changed:
<
<
The size of the application is specified in units of pixels. Generally, it makes sense to use the actually resolution of the remote desktop as a starting point. The VNC Viewer will resize to maintain the correct aspect ratio of the remote desktop. Set the preferred size using the following properties:
>
>
This is a jvoicebridge treatment to play when an incoming call asks for the list of phones. A treatment is either a .au audio file or "tts:" followed by text which FreeTTS wil convert from text to speech.
 
Changed:
<
<
1024 768
>
>
tts:It is located on the demo floor
 
Changed:
<
<
If you need to scale the VNC Viewer to be larger than normal size, use the pixelScale property rather than increasing the preferred size properties. Using pixelScale to scale the VNC session is faster because it uses the hardware scaling capabilities of your graphics card.
>
>
The zeroVolumeRadius is the radius at which the volume drops to zero. The fullVolumeRadius is the radius at which volume in which the volume level is full volume. XXX need to specify the units!

An avatar which is within the fullVolumeRadius will hear the person on the phone at full volume. The person on the phone will hear the avatar at full volume. As the avatar moves away from the phone outside the full volume radius, the volume will attenuate with distance. At the point where the avatar reaches the zero volume radius, the volume will drop to 0.

 
Changed:
<
<
Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.

Deployment Tips

>
>
    <void property="zeroVolumeRadius">
      <double>.2</double>
    </void>
 
Changed:
<
<
Things to be aware of when deploying the VNC Viewer application.
>
>
    <void property="fullVolumeRadius">
      <double>.1</double>
    </void>
 
Changed:
<
<

Application Properties

>
>
The origin is the location within the WFS cell where the phone is to be placed. XXX Need to specify the units!
 
Changed:
<
<
The VNC Viewer can be pre-configured by setting the following properties in the WFS property file:
>
>
   </object>
  </void>
  <void property="origin">
   <void index="0">
    <double>4.0</double>
   </void>
   <void index="1">
    <double>0.7</double>
   </void>
   <void index="2">
    <double>0.0</double>
   </void>
  </void>
 
Deleted:
<
<
Property Type Description Default Required?
server string the IP address or host name of the VNC server 192.168.0.1 Y
username string the username required to access the VNC server username N
password string the VNC server password password Y
readOnly boolean whether the VNC session is read only false N
preferredWidth double the preferred width in pixels 1024 N
preferredHeight double the preferred height in pixels 768 N
pixelScale float scale factor used to scale the VNC window 1.0 N
decorated boolean whether to display a border around the application true N
 \ No newline at end of file
Added:
>
>
Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.

 <<O>>  Difference Topic ProjectWonderlandTelephoneAdmin (1 - 18 Jul 2008 - Main.jslott)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ProjectWonderlandTelephoneAdmin"
Home | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

VNC Viewer Administration


<-- Your JavaDesktop? article goes here. Please try to include at least one sentence describing this topic. -->
<-- Also please try to include at least one sentence describing where each link goes. -->
<-- Please make sure some other page points to your new article so that others can find it! -->
<-- For more on how to write Javapedia articles please read the WritingArticles? page. -->

Summary

Adding a VNC Viewer to your world

The VNC Viewer is loaded into Wonderland using WFS. A sample WFS property file is provided in the wonderland-modules project on java.net:

https://wonderland-modules.dev.java.net/source/browse/*checkout*/wonderland-modules/trunk/src/modules/apps/2d/tightvncviewer/VNC-wlc.xml?content-type=text%2Fplain

To install the VNC Viewer, copy the WFS property file to the WFS directory on your Wonderland server. For example, to install the viewer in the default Wonderland MPK20 world, copy VNC-wlc.xml to lg3d-wonderland/src/worlds/default-wfs/building-wld/DemoFloor-wld. The default property file loads the viewer at the starting point in the world. It should appear in front of your avatar when you enter the world.

Next, edit the file and customize the following properties:

The IP address or host name of the VNC server:

<void property="server">
    <string>192.168.0.1</string>
 </void> 

The VNC Viewer uses the default VNC port: 5900. If your VNC server is running on a non-standard port, change the port property:

<void property="port">
    <int>5900</int>
</void>

Specify the user name and password:

<void property="username">
    <string>username</string>
</void>
<void property="password">
    <string>password</string>
</void>

The size of the application is specified in units of pixels. Generally, it makes sense to use the actually resolution of the remote desktop as a starting point. The VNC Viewer will resize to maintain the correct aspect ratio of the remote desktop. Set the preferred size using the following properties:

<void property="preferredWidth">
    <int>1024</int>
</void> 
<void property="preferredHeight">
    <int>768</int>
</void> 

If you need to scale the VNC Viewer to be larger than normal size, use the pixelScale property rather than increasing the preferred size properties. Using pixelScale to scale the VNC session is faster because it uses the hardware scaling capabilities of your graphics card.

Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS.

Deployment Tips

Things to be aware of when deploying the VNC Viewer application.

Application Properties

The VNC Viewer can be pre-configured by setting the following properties in the WFS property file:

Property Type Description Default Required?
server string the IP address or host name of the VNC server 192.168.0.1 Y
username string the username required to access the VNC server username N
password string the VNC server password password Y
readOnly boolean whether the VNC session is read only false N
preferredWidth double the preferred width in pixels 1024 N
preferredHeight double the preferred height in pixels 768 N
pixelScale float scale factor used to scale the VNC window 1.0 N
decorated boolean whether to display a border around the application true N

Topic ProjectWonderlandTelephoneAdmin . { View | Diffs r5 < r4 < r3 < r2 | More }
 XML java.net RSS