Issues in setting up FreeSWITCH

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues in setting up FreeSWITCH

Steam421
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

ROBERT DANIEL
In your Hippo Viewer:
Open Edit:
Select: Preferences
see if you have a check mark in Enable Voice Chat

You can also try the Device Settings

Rob

On Jan 26, 2011, at 11:45 PM, Steam421 wrote:

>
> Hi
>
> I've been trying to set up freeswitch (1.0.head (git-e0ed000  
> 2011-01-21)) in
> a robust server. I'm running Windows XP and opensim 0.7.0.2 and I'm  
> using
> Hippo v0.6.3.
> Opensim and freeswitch are running on the same machine. The firewall  
> allows
> the VOIP traffic.
> I've tried to run the client, as well as freeswitch, on a different  
> machine
> with no success.
>
> I looked at several forums but I could not find the answer to this  
> problem;
> The 'talk' button in Hippo just doesn't get enabled.
>
> Voice chat is enabled in the 'About Land' menu, within the  
> 'Preferences' tab
> and in 'Region/Estate'. Still I cannot use it.
>
> Here are the snippets of my opensim conf files:
>
> Opensim.ini
> ------------------------------------
> [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
>    ; FreeSWITCH server is going to contact us and ask us all sorts of
> things
>    freeswitch_server_user = freeswitch
>    freeswitch_server_pass = password
>    freeswitch_api_prefix = /fsapi
>    ; external IP address of your OpenSim voice enabled region
>    ; note: all regions running on same OpenSim.exe will be enabled
>    freeswitch_service_server = 127.0.0.1
>    ; this should be the same port the region listens on
>    freeswitch_service_port = 8002
>    freeswitch_realm = 127.0.0.1
>    freeswitch_sip_proxy = 127.0.0.1:5060
>    ; STUN = Simple Traversal of UDP through NATs
>    ; See http://wiki.freeswitch.org/wiki/NAT_Traversal
>    ; stun.freeswitch.org is not guaranteed to be running so use it in
> production at your own risk
>    freeswitch_attempt_stun = false
>    freeswitch_stun_server = 127.0.0.1
>    freeswitch_echo_server = 127.0.0.1
>    freeswitch_echo_port = 50505
>    freeswitch_well_known_ip = 127.0.0.1
>    ;
>    ; Type the address of your http server here, hostname is  
> allowed.  This
> is provided so you can specify a hostname
>    ; This is used by client for account verification.  By default,  
> it's the
> same as the freeswitch service server.
>    ;
>    ; opensim_well_known_http_address =
> Address_Of_Your_SIM_HTTP_Server_Hostname_Allowed
>    ;
>    freeswitch_default_timeout = 5000
>    freeswitch_subscribe_retry = 120
>    ; freeswitch_password_reset_url =
> ------------------------------------
>
> Robust.ini
> ------------------------------------
> [FreeswitchService]
>    LocalServiceModule =
> "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
>    ServerAddress = 127.0.0.1
>    Realm = "127.0.0.1"
> ------------------------------------
>
>
> The opensim server prompts the following info:
>
> 14:15:05 - [FreeSwitchVoice]:[PROVISIONVOICE]: request: <llsd><undef
> /></llsd>
> 14:15:05 - [FreeSwitchVoice]:[PROVISIONVOICE]: avatar "MyAvatar":
> <llsd><map><key>username</key><string>x0FaRQWc-RGWT6xgLlsC-Kg==</
> string><key>password</key><string>1234</
> string><key>voice_sip_uri_hostname</key><string>127.0.0.1</
> string><key>voice_account_server_name</key><string>http://127.0.0.1:8002/fsapi/ 
> </string></map></llsd>
>
>
> By typing 'sofia status' in freeswitch I get the following output:
>
>                     Name          Type
> Data      State
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
>                 internal       profile
> sip:mod_sofia@192.168.0.6:5060      RUNNING (0)
>              192.168.0.6         alias
> internal      ALIASED
>                 external       profile
> sip:mod_sofia@192.168.0.6:5080      RUNNING (0)
>    external::example.com       gateway
> sip:[hidden email]      NOREG
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> 2 profiles 1 alias
>
>
> while the command 'status' produces:
>
> UP 0 years, 0 days, 0 hours, 53 minutes, 11 seconds, 937  
> milliseconds, 500
> microseconds
> 0 session(s) since startup
> 0 session(s) 0/30
> 1000 session(s) max
> min idle cpu 0.00/65.62
>
> In the freeswitch log I see the usual error message:
> [ERR] mod_xml_curl.c:304 Received HTTP error 0 trying to fetch
> http://127.0.0.1:8002/fsapi/freeswitch-configdata:
> [hostname=MobiDick&section=directory&tag_name=&key_name=&key_value=&Event-Name=REQUEST_PARAMS&Core-UUID=06c263c2-8bac-4297-b15f-70661e6c3260&FreeSWITCH-Hostname=MobiDick&FreeSWITCH-IPv4=192.168.0.6&FreeSWITCH-IPv6=%3A%3A1&Event-Date-Local=2011-01-27%2013%3A36%3A45&Event-Date-GMT=Thu,%2027%20Jan%202011%2003%3A36%3A45%20GMT&Event-Date-Timestamp=1296099405734375&Event-Calling-File=sofia.c&Event-Calling-Function=config_sofia&Event-Calling-Line-Number=3872&purpose=gateways&profile=external]
>
> as well as the following one:
> ...
> [ERR] sofia.c:1501 Error Creating SIP UA for profile: internal-ipv6
> ...
> [CRIT] switch_loadable_module.c:928 Error Loading module
> C:\Programmi\FreeSWITCH\mod\mod_cluechoo.dll
> ...
>
> Can anyone tell me where did I go wrong?
> Thank you for your time.
>
> --
> View this message in context: http://opensim-users.2152040.n2.nabble.com/Issues-in-setting-up-FreeSWITCH-tp5965205p5965205.html
> Sent from the opensim-users mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

Steam421
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

ROBERT DANIEL
I would try two things:
1) See if you can connect your Hippo Viewer to another grid and test  
voice chat there.  Just to make sure it is not your machine or Viewer.

2) Use some of the debugging features in FreeSWITCH
In your FreeSWITCH window try
conference list <---- to see if you have any conferences setup  (note  
you have to be inworld when you try this)
xml_curl debug_on  <--- this command will dump the transactions  
between OpenSim and FreeSWITCH into a file (on linux it is in /tmp)
xml_curl debug_off <-- turn it off after you login/logout a few times

Also,  have both OpenSim.exe window and FreeSWITCH.exe window open  
when you login
Do you see traffic or any error messages?
Do you hear the conference music playing in the background?  (I can  
show you how to turn that off also)

Rob


On Jan 27, 2011, at 7:11 PM, Steam421 wrote:

>
> Hi Rob,
> yes the ticks are all in pace and the device settings are fine; I  
> can see
> the green bar moving accordingly when I speak. Still I cannot use  
> the voice
> chat. :-(
>
> --
> View this message in context: http://opensim-users.2152040.n2.nabble.com/Issues-in-setting-up-FreeSWITCH-tp5965205p5968294.html
> Sent from the opensim-users mailing list archive at Nabble.com.
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

enauman
In reply to this post by Steam421
I'm thinking your "freeswitch_service_server" setting in opensim.ini should be the server's external IP, either behind the firewall/router or forwarded IP outside the firewall, especially if your client is on a different machine.
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

Steam421
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

aiaustin
In reply to this post by Steam421
At 11:00 29/01/2011, Steam421 <[hidden email]> wrote:
>I haven't found any public grid that has voice chat enabled yet


For tests you could go to the FreeSwitch enabled regions on Openvue
grid or look at our two regions on OSGrid (Vie-6400 and Vue-3200)
which also have Freeswitch enabled.  Its a small service only for a
few avatars but it should be okay to do a test that your viewer is
set up correctly.

See http://vue.ed.ac.uk/openvue for the loginuris etc.

Note your .ini file examples used an IP of 127.0.0.1 which is only
suitable for localhost style setup on one machine for all Opensim
parts and Freeswitch.  If you expect it to run across systems and
outside your local network you should use the EXTERNAL IP.




_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

Robert Klein
Have you tried Hippo V0.5.1? Also, are you testing your setup from inside your network or just outside? Like the others said, make sure your ini file is correct and the xml_curl file is too. Just a heads up, Freeswitch has driven even the best of us completely insane. I was really hoping we would have a much better/integrated solution by now.. or at least one that does not drive you to medications. :)

-Robert
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

Steam421
In reply to this post by aiaustin
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

Antoine Bapst
In reply to this post by Steam421
Hi all,
Maybe some of you may consider using MUMBLE/MURMUR as an alternative to
Freeswitch.
Setup is in a snap (I've got a region of 2X2) for server-side.
WARNING : Clients (mostly Imprudence ?) must be upgraded with a patch that
overrides the SLvoice module, but batch files are provided so that man can
switch between Freevoice/SLvoice and Whisper (i.e the Murmur Client for
Imprudence). So far, this is not intended for massive "anyone-can-come"
regions, but will fairly do the job for an identified target.

For French users, you'll find all together on angefg blog :
http://angefg.wordpress.com/2011/01/02/installation-et-test-de-murmurwhisper
-sur-opensim/
Mostly about linux installation, but I gave some explanations for windows
users in my comment.

Returns welcome, and if ever one of Imprudence is reading this ... we'd love
to have SLvoice/Whiwper voice module choice included as a preference ... man
can dream !

-----Message d'origine-----
De : [hidden email]
[mailto:[hidden email]] De la part de
[hidden email]
Envoyé : mardi 1 février 2011 12:00
À : [hidden email]
Objet : Opensim-users Digest, Vol 42, Issue 1

Send Opensim-users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.berlios.de/mailman/listinfo/opensim-users
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Opensim-users digest..."


Today's Topics:

   1. Re: Issues in setting up FreeSWITCH (Robert Klein)
   2. Re: Terrain over Multiple Regions (Jawa Lunk)
   3. Re: help with the new load/save terrain file options...
      (Justin Clark-Casey)
   4. Re: Issues in setting up FreeSWITCH (Steam421)


----------------------------------------------------------------------

Message: 1
Date: Mon, 31 Jan 2011 07:28:51 -0800 (PST)
From: Robert Klein <[hidden email]>
To: [hidden email]
Subject: Re: [Opensim-users] Issues in setting up FreeSWITCH
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii


Have you tried Hippo V0.5.1? Also, are you testing your setup from inside
your network or just outside? Like the others said, make sure your ini file
is correct and the xml_curl file is too. Just a heads up, Freeswitch has
driven even the best of us completely insane. I was really hoping we would
have a much better/integrated solution by now.. or at least one that does
not drive you to medications. :)

-Robert
--
View this message in context:
http://opensim-users.2152040.n2.nabble.com/Issues-in-setting-up-FreeSWITCH-t
p5965205p5977470.html
Sent from the opensim-users mailing list archive at Nabble.com.


------------------------------

Message: 2
Date: Mon, 31 Jan 2011 07:39:41 -0800 (PST)
From: Jawa Lunk <[hidden email]>
To: [hidden email]
Subject: Re: [Opensim-users] Terrain over Multiple Regions
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii


thank you,

like I posted though, when I go to regions other than the root, the viewer
only shows the root region, no matter what region I'm in.

So I can't use the viewer to change the maps or textures...

I received an email which actually gave me the instructions I was looking
for when using L3DT which walked me through the creation, saving and
uploading to the server.

I can create and upload the terrains now without a problem.

Thanks for the help.
--
View this message in context:
http://opensim-users.2152040.n2.nabble.com/Terrain-over-Multiple-Regions-tp5
964733p5977511.html
Sent from the opensim-users mailing list archive at Nabble.com.


------------------------------

Message: 3
Date: Tue, 01 Feb 2011 00:33:44 +0000
From: Justin Clark-Casey <[hidden email]>
To: [hidden email]
Subject: Re: [Opensim-users] help with the new load/save terrain file
        options...
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 29/01/11 09:39, DutchGlory wrote:
>
> from mantis:
> kcozens - I have attached a git am formatted patch for OpenSim 0.7.
>
> Terrain files can now be loaded and saved using the Terragen (.ter)
format.
> Selection of the terrain file loader to use is now based on the extension
> of the filename being loaded and the data is loaded using a memory stream
> instead of writing it to a file and then loading it from the file.
>
> justincc - Applied kcozens' patch as commit 9798b04 in git master. Thanks!
>
>
> looking for more information on how to do this, like a wiki or
something...

I believe this can be done through the viewers normal terrain load/save
mechanism.

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


------------------------------

Message: 4
Date: Mon, 31 Jan 2011 22:38:00 -0800 (PST)
From: Steam421 <[hidden email]>
To: [hidden email]
Subject: Re: [Opensim-users] Issues in setting up FreeSWITCH
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=us-ascii


Ok, I've tested both Hippo 0.6.3 and Imprudence 1.3.0 and in both cases I
see
the talk button enabled when I visit OSGrid Vue-6400, so audio chat works
and the problem is not the viewers.
Austin, is that a Linux or a Windows grid? Is there any chance I can get the
opensim.ini and robust.ini files of that server so I can see what's
happening and why freeswitch doesn't work on my machine?

Thanks for you help.
Alfredo
--
View this message in context:
http://opensim-users.2152040.n2.nabble.com/Issues-in-setting-up-FreeSWITCH-t
p5965205p5979951.html
Sent from the opensim-users mailing list archive at Nabble.com.


------------------------------

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users


End of Opensim-users Digest, Vol 42, Issue 1
********************************************

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: Issues in setting up FreeSWITCH

aiaustin
In reply to this post by Steam421
At 11:00 01/02/2011, Steam421 <[hidden email]> wrote:
>Austin, is that a Linux or a Windows grid? Is there any chance I can get the
>opensim.ini and robust.ini files of that server so I can see what's
>happening and why freeswitch doesn't work on my machine?


Vue-6400 is a region on OSGrid.  So all the Grid services are the
usual OSGrid ones.

Vue-6400 is on a Windows 7 32 bit OS system.  It is our own
OpenSim.exe using the usual OSGrid OpenSim.ini example file with only
a few modifications... one of which enables the freeswitch and that
works using an internal connector or external connector (which
piggybacks on the Openvue Robust server to Freeswitch config comms).

The Freeswitch service it runs is on a Windows Vista 32 bit OS.

I will talk to you by direct e-mail about the configs to help you Alfredo.



_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users