[Opensim-users] Freeswitch voice

Justin Clark-Casey jjustincc at googlemail.com
Wed Dec 7 22:51:48 UTC 2011


FreeSwitch is always a massive pain to set up with OpenSimulator.  Personally, I've pretty much given up on it, if only 
because the sound quality is utterly rubbish (not FreeSwitch's fault - the Vivox client plugin falls back to a very low 
quality codec when not used with a Vivox server).

I vastly prefer the Whisper system, but this has the disadvantage of requiring an SLVoice.exe replacement in a viewer. 
I would love to see a viewer offer the option of detecting the voice system in use via GridInfo (we could easily add a 
property) and then use the appropriate voice client executable.

On 07/12/11 16:31, Joshua Rubeck wrote:
> Hi all, I have been having an issue setting up Freeswitch voice on a CentOS 5.4 server. Freeswitch installed okay but
> nothing we try will get voice to work. we can turn voice on in the region and parcels but voice will not work at all.
> This is the message we are getting from the services. What we have is the Grid Server, the Region server and then the
> voice server. So there are three different servers. Here are the configurations for voice on each:
>
> Freeswitch:
>
> /<configuration name="xml_curl.conf" description="cURL XML Gateway">
> <bindings>
> <binding name="directory">
> <param name="gateway-url" value="http://62.75.142.162:8004/fsapi/freeswitch-config" bindings="directory"/>
> <param name="gateway-credentials" value="freeswitch:password"/>
> <param name="disable-100-continue" value="true"/>
> </binding>
> <binding name="dialplan">
> <param name="gateway-url" value="http://62.75.142.162:8004/fsapi/freeswitch-config" bindings="dialplan"/>
> <param name="gateway-credentials" value="freeswitch:password"/>
> <param name="disable-100-continue" value="true"/>
> </binding>
> </bindings>
> </configuration>/
>
>
> Grid Server(Robust)
>
> /[FreeswitchService]
>      LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
>
>      ;; The IP address of your FreeSWITCH server.
>      ;; This address must be reachable by viewers.
>       ServerAddress = 85.25.35.67
>
>      ;; The following configuration parameters are optional
>
>      ;; By default, this is the same as the ServerAddress
>       Realm = 85.25.35.67/
>
> Region Server(OpenSim)
>
> /[FreeSwitchVoice]
>      ;; In order for this to work you need a functioning FreeSWITCH PBX set up.
>      ;; Configuration details at http://opensimulator.org/wiki/Freeswitch_Module
>       Enabled = true
>       LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector
>       FreeswitchServiceURL = http://62.75.142.162:8004/fsapi
>
>      ;; You need to load a local service for a standalone, and a remote service
>      ;; for a grid region. Use one of the lines below, as appropriate
>      ;; If you're using Freeswitch on a standalone then you will also need to configure the
>
> [FreeswitchService] section in config-include/StandaloneCommon.ini
>      ; LocalServiceModule = OpenSim.Services.FreeswitchService.dll:FreeswitchService
>      ; LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector
>
>      ;; If using a remote connector, specify the server URL
>       ;FreeswitchServiceURL = http://62.75.142.162:8004/fsapi/
>
> I have tired almost every configuration i could think of. In the freeswitch server I get the following message:
>
> /2011-12-07 17:23:23.865890 [WARNING] sofia_reg.c:2446 Can't find user [x6INx5UOcSv6TwarYELAZjA==@85.25.35.67
> <http://85.25.35.67>]
> You must define a domain called '85.25.35.67' in your directory and add a user with the id="x6INx5UOcSv6TwarYELAZjA=="
> attribute
> and you must configure your device to use the proper domain in it's authentication credentials./
>
>
> for the region server i get this information:
>
> /17:23:22 - [FreeSwitchVoice]: FreeSwitchSLVoiceGetPreloginHTTPHandler called
> 17:23:22 - [AVFACTORY]: Completed texture check for e88371e5-439c-4afe-93c1-aad810b0198c
> 17:23:22 - [FreeSwitchVoice]: FreeSwitchSLVoiceSigninHTTPHandler called
> 17:23:22 - [MUTE LIST]: Got mute list request for crc 0
> 17:23:22 - [FreeSwitchVoice]: FreeSwitchSLVoiceBuddyHTTPHandler called
> 17:23:23 - [FreeSwitchVoice]: FreeSwitchSLVoiceWatcherHTTPHandler called
> 17:23:23 - [FreeSwitchVoice]: FreeSwitchSLVoiceWatcherHTTPHandler called/
>
>
> Still No voice. Any ideas on how to get voice to work. The viewer I am using is Imprudence and I know voice works on it.
> I have it enabled and my computers firewall doesnt block it.
>
>
> Thanks!
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list