| |
| META TOPICPARENT | name="ProjectWonderlandTelephoneAdmin" |
Home | Changes | Index | Search | Go <-- This creates the navigation links to : Home | Help | Index | etc. --> |
| | 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 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 |
> > | 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. |
| | 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: |
> > | 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 |
| | 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 |
> > | 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: |
| | |
|
< < | VoIP? gateway>"/>
|
| | |
|
< < | If you also have a Sip Proxy add this line: |
> > | voicebridge.sip.gateways=
voicebridge.sip.proxy= |
| | |
|
< < |
<jvmarg value="-Dcom.sun.voip.server.SIPProxy=<proxyIPAddress"/> |
| | |
|
> > | 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
|
| |
| META TOPICPARENT | name="ProjectWonderlandTelephoneAdmin" |
Home | Changes | Index | Search | Go <-- This creates the navigation links to : Home | Help | Index | etc. --> |
|
< < | VNC Viewer Administration |
> > | Telephone Administration |
| |
<-- Your JavaDesktop? article goes here. Please try to include at least one sentence describing this topic. --> |
| | 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: |
> > | The virtual telephone is loaded into Wonderland using WFS. A sample WFS property file is provided here: ConferencePhoneWFSFile |
| | |
|
< < | 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: |
|
< < | 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. |
| | |
|
< < |
192.168.0.1 |
> > |
true |
| |
|
|
< < | 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. |
| | |
|
< < |
5900 |
> > |
1234 |
| |
|
|
< < | 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. |
| | |
|
< < |
username
password |
> > |
1 |
| |
|
|
< < | 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. |
| | |
|
< < |
1024
768 |
> > |
tts:It is located on the demo floor |
| |
|
|
< < | 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. |
| | |
|
< < | 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>
|
| | |
|
< < | Things to be aware of when deploying the VNC Viewer application. |
> > |
<void property="fullVolumeRadius">
<double>.1</double>
</void>
|
| | |
|
< < | Application Properties |
> > | The origin is the location within the WFS cell where the phone is to be placed.
XXX Need to specify the units! |
| | |
|
< < | 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>
|
| | |
|
< < |
| 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 |
|
> > | Once you've installed the file in the WFS directory, restart the Wonderland server, or use the Wonderland Manager application to reload WFS. |