[Opensim-users] Issues in setting up FreeSWITCH

Steam421 a.nantes at qut.edu.au
Thu Jan 27 04:45:34 UTC 2011


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 at 192.168.0.6:5060      RUNNING (0)
              192.168.0.6         alias                                  
internal      ALIASED
                 external       profile            
sip:mod_sofia at 192.168.0.6:5080      RUNNING (0)
    external::example.com       gateway                   
sip:joeuser at example.com      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.



More information about the Opensim-users mailing list