[Opensim-dev] Running FreeSwitch with OpenSim

Rob Smart rob.s.smart at gmail.com
Tue May 18 10:56:55 UTC 2010


Joroen is referring to enabling voice for a particular region/land parcel.
This only needs to be done once and is an administrative task. It seems some
viewers don't allow this admin step to enable the voice with OpenSim but
with Hippo 0.51 it works. I'm not sure why the other viewers don't work but
i have seen this too.

On Mon, May 17, 2010 at 11:11 PM, Jor3l Boa <jor3l at foravatars.com> wrote:

> Jeroen, are you talking about the voice not working..? I don't see the
> point using another viewer to get voice since most people uses the official
> Second Life viewer :S
>
> 2010/5/17 Jeroen van Veen <j.veenvan at gmail.com>
>
> That's a viewer bug. Check it with hippo 0.51 and you will see it's not
>> greyed
>> out anymore.
>>
>> Jeroen
>>
>> On Wednesday 12 May 2010 22:35:27 Jor3l Boa wrote:
>> > Actually, tried About Land / Media / Voice, but is disabled (can't check
>> > the Enable voice).. in Estate 'Allow voice chat' is active, any other
>> > idea? Thanks to all and sorry for my bad english :)
>> >
>> > 2010/5/12 Rob Smart <rob.s.smart at gmail.com>
>> >
>> > > :) by seconds !
>> > >
>> > > Freeswitch needs to be started first because when mod_xml_curl is used
>> it
>> > > expects ALL config information to come from the named source, in this
>> > > case OpenSim. However to make OpenSim handle all config and not just
>> the
>> > > dialplan and directory that it currently handles would require lots
>> and
>> > > lots of XML to be returned and many new parameters in the OpenSim.ini
>> > > file. If Freeswitch trys to use mod_xml_curl but doesnt get a a valid
>> > > HTTP response then it will use its default config which is how it
>> > > currently works.
>> > >
>> > > On Wed, May 12, 2010 at 9:14 PM, Dirk Krause
>> <dirk.krause at pixelpark.com>wrote:
>> > >> ah you beat me too it :-).
>> > >>
>> > >> I am surprised that the OpenSim needs to be started before
>> FreeSwitch. I
>> > >> thought it was the other way round ...
>> > >>
>> > >> -----Ursprüngliche Nachricht-----
>> > >> Von: opensim-dev-bounces at lists.berlios.de im Auftrag von Rob Smart
>> > >> Gesendet: Mi 12.05.2010 22:12
>> > >> An: opensim-dev at lists.berlios.de
>> > >> Betreff: Re: [Opensim-dev] Running FreeSwitch with OpenSim
>> > >>
>> > >> One of your debug lines below reads
>> > >>
>> > >> 14:39:39 - [FreeSwitchVoice]:[
>> > >> PARCELVOICE]: region "Devi": Parcel "devi OpenSim" (1): avatar "d
>> > >> Admin": voice not enabled for parcel
>> > >>
>> > >> Voice needs to be turned on in the Region via the SL/Hippo client.
>> > >>
>> > >> - You need to log into the region as an admin.
>> > >> - Click on the region name at the top of the client (or right click
>> on
>> > >> some
>> > >> grass) so that you get the "About Land" popup.
>> > >> - Go to the media tab and in the "Voice" section at the bottom
>> > >> - select "Use the Estate spatial channel" (That's what it reads in
>> the
>> > >> Hippo
>> > >> client anyway)
>> > >> - log out and log back in again, you may need to restart the region.
>> > >>
>> > >> On Wed, May 12, 2010 at 8:47 PM, Jor3l Boa <jor3l at foravatars.com>
>> wrote:
>> > >> > Well, a lot of progress but no voice.. here is something I dont
>> > >>
>> > >> understand
>> > >>
>> > >> > so if someone can point me to FS or OS I can search to get this
>> > >> > working
>> > >> :
>> > >> :)
>> > >> :
>> > >> > *From OS Console, when the AV request voice:*
>> > >> >
>> > >> > 14:39:39 - [FreeSwitchVoice]:[PROVISIONVOICE]: request:
>> <llsd><undef
>> > >> > /></llsd>
>> > >>
>> > >> > 14:39:39 - [FreeSwitchVoice]:[PROVISIONVOICE]: avatar "d Admin":
>> > >>
>> <llsd><map><key>username</key><string>xdPCKuP4mQdqNMLD4z3su0w==</string>
>> > >>
>> <key>password</key><string>1234</string><key>voice_sip_uri_hostname</key
>> > >>
>> ><string>192.168.0.171</string><key>voice_account_server_name</key><stri
>> > >> ng>
>> > >>
>> > >> > http://192.168.0.171:9000/api/</string></map></llsd>
>> > >> >
>> > >> > 14:39:39 - [FreeSwitchVoice]:
>> FreeSwitchSLVoiceGetPreloginHTTPHandler
>> > >> > called
>> > >> > 14:39:39 - [FreeSwitchVoice]:
>> FreeSwitchSLVoiceGetPreloginHTTPHandler
>> > >> > return <?xml version="1.0" encoding="utf-8"?>
>> > >> > 14:39:39 - [FreeSwitchVoice]: FreeSwitchSLVoiceSigninHTTPHandler
>> > >> > called
>> > >> >
>> > >> > 14:39:39 - [FreeSwitchVoice]: AUTH, URI: /api/viv_signin.php,
>> > >> > Content-Type:application/x-www-form-urlencoded,
>> > >> > Bodypwd=1234&userid=xdPCKuP4mQdqNMLD4z3su0w%3D%3D
>> > >> >
>> > >> > 14:39:39 - [FREESWITCH]: <?xml version="1.0" encoding="iso-8859-1"
>> > >> > ?><response xmlns="http://www.vivox.com" xmlns:xsi="
>> > >> > http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=
>> > >> > "/xsd/buddy_list.xsd"><level0>
>> > >> >
>> > >> > *Here it fails?, why the voice is not enabled?*
>> > >> > *
>> > >> > *
>> > >> > 14:39:39 - [FreeSwitchVoice]:[PARCELVOICE]: region "Devi": Parcel
>> > >> > "devi OpenSim" (1): avatar "d Admin": request: <llsd><undef
>> /></llsd>
>> > >> > 14:39:39 - [FreeSwitchVoice]:[PARCELVOICE]: region "Devi": Parcel
>> > >> > "devi OpenSim" (1): avatar "d Admin": voice not enabled for parcel
>> > >> > 14:39:39 - [FreeSwitchVoice]:[PARCELVOICE]: region "Devi": Parcel
>> > >> > "devi
>> > >>
>> > >> > OpenSim" (1): avatar "d Admin":
>> > >>
>> <llsd><map><key>parcel_local_id</key><integer>1</integer><key>region_nam
>> > >>
>> e</key><string>Devi</string><key>voice_credentials</key><map><key>channe
>> > >> l_uri</key><string
>> > >>
>> > >> > /></map></map></llsd>
>> > >> >
>> > >> > Thanks
>> > >> >
>> > >> >
>> > >> > 2010/5/12 Jor3l Boa <jor3l at foravatars.com>
>> > >> >
>> > >> > Thanks Fly-man, was trying OS first just to make sure there was a
>> > >>
>> > >> folder,
>> > >>
>> > >> >> now it seems to run and start.. for some reason is not working (no
>> > >>
>> > >> errors
>> > >>
>> > >> >> for now) Will keep trying and post any solution on wiki.
>> > >> >>
>> > >> >> 2010/5/12 Fly Man <fly.man.opensim at gmail.com>
>> > >> >>
>> > >> >>>  Well, this is a simple question with an even easier answer:
>> > >> >>> Don't start FreeSwitch first, start Opensim first and then
>> > >> >>> Freeswitch.
>> > >> >>>
>> > >> >>> The link /api/freeswitch-config doesn't exist in the Opensim
>> > >> >>> instance because it's not implemented.
>> > >> >>>
>> > >> >>> Also see the Wiki page about more info
>> > >> >>>
>> > >> >>> http://opensimulator.org/wiki/Freeswitch_Module
>> > >> >>>
>> > >> >>> _______________________________________________
>> > >> >>> Opensim-dev mailing list
>> > >> >>> Opensim-dev at lists.berlios.de
>> > >> >>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>> > >> >
>> > >> > _______________________________________________
>> > >> > Opensim-dev mailing list
>> > >> > Opensim-dev at lists.berlios.de
>> > >> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>> > >>
>> > >> _______________________________________________
>> > >> Opensim-dev mailing list
>> > >> Opensim-dev at lists.berlios.de
>> > >> https://lists.berlios.de/mailman/listinfo/opensim-dev
>> > >
>> > > _______________________________________________
>> > > Opensim-dev mailing list
>> > > Opensim-dev at lists.berlios.de
>> > > https://lists.berlios.de/mailman/listinfo/opensim-dev
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100518/7adc00f5/attachment-0001.html>


More information about the Opensim-dev mailing list