This shows you the differences between the selected revision and the current version of the page.
| voiceglue_0.12_installation_instructions 2010/05/19 03:42 | voiceglue_0.12_installation_instructions 2010/05/19 09:57 current | ||
|---|---|---|---|
| Line 285: | Line 285: | ||
| installs the compiled OpenVXI library files and runtime support files | installs the compiled OpenVXI library files and runtime support files | ||
| to their system destinations. | to their system destinations. | ||
| + | |||
| + | ====== Installation on Dedicated Hardware ====== | ||
| + | |||
| + | Voiceglue (and supporting components) can be installed on hardware separate to the Asterisk host. Doing this is actually easy. | ||
| + | |||
| + | Before you install Voiceglue itself you need to do the following: | ||
| + | |||
| + | * Ensure you have your Asterisk host already installed. | ||
| + | * Configure the Asterisk manager ready for Phoneglue to connect as detailed in the user guide. Ensure you bind to an IP that Voiceglue can talk to and remember to allow such traffic through any firewalls on your Asterisk host. | ||
| + | * Now you need to share the Asterisk sounds directory somehow, usually ''/var/lib/asterisk/sounds''. NFS, CIFS, SSHFS - the choice of how is implementation-specific and beyond the scope of this installation guide. Please remember that stability and performance are of extremely high priority. | ||
| + | * Mount your shared Asterisk sounds directory on the Voiceglue host in the same position as it would be found on the Asterisk host (to keep things simple). | ||
| + | * You may need an ''asterisk'' user/group that matches the user/group ids on the Asterisk host. Otherwise, when Voiceglue creates it's voice prompts within the ''/var/lib/asterisk/sounds/voiceglue/tts/'' folder the ownership may mean Asterisk cannot read the files back. | ||
| + | |||
| + | OK, now you can install Voiceglue. You can use the easy or the hard way, it should not matter. You'll need the dependencies too such as perl and Spidermonkey. | ||
| + | |||
| + | Once installed you should be able to fire up dynlog, phoneglue and voiceglue. To make Asterisk talk to the remote Voiceglue host just alter your AGI calls accordingly. Example: | ||
| + | |||
| + | * ''exten => s,n,AGI(agi://localhost/url=http%3A%2F%2Fvoice.server%2Fsomething)'' | ||
| + | |||
| + | becomes | ||
| + | |||
| + | * ''exten => s,n,AGI(agi://10.0.0.31/url=http%3A%2F%2Fvoice.server%2Fsomething)'' | ||
| + | |||
| + | Where 10.0.0.31 is your Voiceglue host. | ||
| + | |||