<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Joelmorrissette</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Joelmorrissette"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Joelmorrissette"/>
		<updated>2026-05-11T08:08:15Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/Freeswitch_Module</id>
		<title>Freeswitch Module</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Freeswitch_Module"/>
				<updated>2009-05-01T22:35:10Z</updated>
		
		<summary type="html">&lt;p&gt;Joelmorrissette: /* configure conference.conf.xml */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The FreeSwitch module enables voice in opensim with no changes required to the SL or Hippo clients (must be over 1.22 for SL and 0.5 for Hippo)&lt;br /&gt;
&lt;br /&gt;
== FreeSwitch Install == &lt;br /&gt;
&lt;br /&gt;
Follow the instructions [http://wiki.freeswitch.org/wiki/Installation_Guide here] on how to compile from source. We need to enable two specific modules.&lt;br /&gt;
'''&lt;br /&gt;
please ensure you compile from the freeswitch trunk for now until we can post a minimum version number (there are known issues with older versions)'''&lt;br /&gt;
&lt;br /&gt;
When you get to the part in the instructions where it says  &amp;quot;'''Edit modules.conf so that it will build the modules you desire.'''&amp;quot; edit the modules.conf file and uncomment out the entries for xml_curl and the siren14 codec&lt;br /&gt;
&lt;br /&gt;
    codecs/mod_siren&lt;br /&gt;
    and&lt;br /&gt;
    xml_int/mod_xml_curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can also use this [http://madhawa.com/?p=10 guide] for setting it up in a quick way -- [[User:Fly-man-|Fly-man-]]&lt;br /&gt;
&lt;br /&gt;
==FreeSwitch Config==&lt;br /&gt;
&lt;br /&gt;
Install and compile Freeswitch, making sure you enable the xml_curl module and also the siren14 codec.&lt;br /&gt;
&lt;br /&gt;
=== enable mod_xml_curl ===&lt;br /&gt;
&lt;br /&gt;
Next, do not forget to activate mod_xml_curl in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. mod_xml_curl is disabled by default on fresh install.&lt;br /&gt;
&lt;br /&gt;
uncomment the lines...&lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_xml_curl&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_siren&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
are uncommented&lt;br /&gt;
&lt;br /&gt;
=== configure mod_xml_curl === &lt;br /&gt;
&lt;br /&gt;
the xml_curl module configuration should point to an opensim region that has the freeswitch voice module enabled (voice also needs to be enabled in the estate setting for all regions)&lt;br /&gt;
&lt;br /&gt;
example xml_curl.conf.xml  found in /usr/local/freeswitch/conf/autoload_configs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;configuration name=&amp;quot;xml_curl.conf&amp;quot; description=&amp;quot;cURL XML Gateway&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;bindings&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;example&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;directory&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;dialplan&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
  &amp;lt;/bindings&amp;gt;&lt;br /&gt;
  &amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The /usr/local/freeswitch/conf/vars.xml requires modification to enable the siren14 codec&lt;br /&gt;
&lt;br /&gt;
search within vars.xml for the global_codec_prefs and change the line to read&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;X-PRE-PROCESS cmd=&amp;quot;set&amp;quot; data=&amp;quot;global_codec_prefs=G7221@32000h,G722,PCMU,PCMA,GSM&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
G7221@32000h is the siren14 codec&lt;br /&gt;
&lt;br /&gt;
=== configure conference.conf.xml ===&lt;br /&gt;
By default, FreeSwitch plays hold music when there is only one avatar in the conference and beeps for everyone when avatars arrive and leave.  To disable, edit /usr/local/freeswitch/conf/autoload_configs/conference.conf.xml.  Locate the &amp;quot;default&amp;quot; profile and comment out the following lines as shown below:&lt;br /&gt;
 &lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play if you are alone in the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;alone-sound&amp;quot; value=&amp;quot;conference/conf-alone.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you're alone (music on hold)--&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;moh-sound&amp;quot; value=&amp;quot;$${hold_music}&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you join the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;enter-sound&amp;quot; value=&amp;quot;tone_stream://%(200,0,500,600,700)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you leave the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;exit-sound&amp;quot; value=&amp;quot;tone_stream://%(500,0,300,200,100,50,25)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you ae ejected from the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;kicked-sound&amp;quot; value=&amp;quot;conference/conf-kicked.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
&lt;br /&gt;
==OpenSim Config==&lt;br /&gt;
&lt;br /&gt;
Add the following section to OpenSim.ini. You will also need to enable voice in the regions estate settings. Make sure the freeswitch server is started BEFORE bringing the region up.&lt;br /&gt;
&lt;br /&gt;
    [FreeSwitchVoice]&lt;br /&gt;
    enabled = true&lt;br /&gt;
    ;FreeSwitch server is going to contact us and ask us all&lt;br /&gt;
    ;sorts of things.&lt;br /&gt;
    freeswitch_server_user = freeswitch&lt;br /&gt;
    freeswitch_server_pass = password&lt;br /&gt;
    freeswitch_api_prefix = /api&lt;br /&gt;
    ;The  IP address of your opensim voice region&lt;br /&gt;
    freeswitch_service_server = youropensimexternalIP&lt;br /&gt;
    ;the port your region is running on&lt;br /&gt;
    freeswitch_service_port = 9000 &lt;br /&gt;
    ;your freewitch IP address&lt;br /&gt;
    freeswitch_realm = 192.168.0.2&lt;br /&gt;
    freeswitch_sip_proxy = 192.168.0.2:5060&lt;br /&gt;
    freeswitch_attempt_stun = false&lt;br /&gt;
    freeswitch_stun_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_port = 50505&lt;br /&gt;
    freeswitch_well_known_ip = 192.168.0.2&lt;br /&gt;
    freeswitch_default_timeout = 5000&lt;br /&gt;
    freeswitch_subscribe_retry = 120&lt;/div&gt;</summary>
		<author><name>Joelmorrissette</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Freeswitch_Module</id>
		<title>Freeswitch Module</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Freeswitch_Module"/>
				<updated>2009-05-01T18:06:23Z</updated>
		
		<summary type="html">&lt;p&gt;Joelmorrissette: /* configure conference.conf.xml */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The FreeSwitch module enables voice in opensim with no changes required to the SL or Hippo clients (must be over 1.22 for SL and 0.5 for Hippo)&lt;br /&gt;
&lt;br /&gt;
== FreeSwitch Install == &lt;br /&gt;
&lt;br /&gt;
Follow the instructions [http://wiki.freeswitch.org/wiki/Installation_Guide here] on how to compile from source. We need to enable two specific modules.&lt;br /&gt;
'''&lt;br /&gt;
please ensure you compile from the freeswitch trunk for now until we can post a minimum version number (there are known issues with older versions)'''&lt;br /&gt;
&lt;br /&gt;
When you get to the part in the instructions where it says  &amp;quot;'''Edit modules.conf so that it will build the modules you desire.'''&amp;quot; edit the modules.conf file and uncomment out the entries for xml_curl and the siren14 codec&lt;br /&gt;
&lt;br /&gt;
    codecs/mod_siren&lt;br /&gt;
    and&lt;br /&gt;
    xml_int/mod_xml_curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can also use this [http://madhawa.com/?p=10 guide] for setting it up in a quick way -- [[User:Fly-man-|Fly-man-]]&lt;br /&gt;
&lt;br /&gt;
==FreeSwitch Config==&lt;br /&gt;
&lt;br /&gt;
Install and compile Freeswitch, making sure you enable the xml_curl module and also the siren14 codec.&lt;br /&gt;
&lt;br /&gt;
=== enable mod_xml_curl ===&lt;br /&gt;
&lt;br /&gt;
Next, do not forget to activate mod_xml_curl in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. mod_xml_curl is disabled by default on fresh install.&lt;br /&gt;
&lt;br /&gt;
uncomment the lines...&lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_xml_curl&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_siren&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
are uncommented&lt;br /&gt;
&lt;br /&gt;
=== configure mod_xml_curl === &lt;br /&gt;
&lt;br /&gt;
the xml_curl module configuration should point to an opensim region that has the freeswitch voice module enabled (voice also needs to be enabled in the estate setting for all regions)&lt;br /&gt;
&lt;br /&gt;
example xml_curl.conf.xml  found in /usr/local/freeswitch/conf/autoload_configs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;configuration name=&amp;quot;xml_curl.conf&amp;quot; description=&amp;quot;cURL XML Gateway&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;bindings&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;example&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;directory&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;dialplan&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
  &amp;lt;/bindings&amp;gt;&lt;br /&gt;
  &amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The /usr/local/freeswitch/conf/vars.xml requires modification to enable the siren14 codec&lt;br /&gt;
&lt;br /&gt;
search within vars.xml for the global_codec_prefs and change the line to read&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;X-PRE-PROCESS cmd=&amp;quot;set&amp;quot; data=&amp;quot;global_codec_prefs=G7221@32000h,G722,PCMU,PCMA,GSM&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
G7221@32000h is the siren14 codec&lt;br /&gt;
&lt;br /&gt;
=== configure conference.conf.xml ===&lt;br /&gt;
By default, FreeSwitch plays hold music when there is only one avatar in the conference and beeps for everyone when avatars arrive and leave.  To disable, edit /usr/local/freeswitch/conf/autoload_configs/conference.conf.xml.  Locate the &amp;quot;default&amp;quot; profile and comment out the following lines as shown below:&lt;br /&gt;
 &lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play if you are alone in the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;alone-sound&amp;quot; value=&amp;quot;conference/conf-alone.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you're alone (music on hold)--&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;moh-sound&amp;quot; value=&amp;quot;$${hold_music}&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you join the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;enter-sound&amp;quot; value=&amp;quot;tone_stream://%(200,0,500,600,700)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you leave the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;exit-sound&amp;quot; value=&amp;quot;tone_stream://%(500,0,300,200,100,50,25)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you ae ejected from the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;kicked-sound&amp;quot; value=&amp;quot;conference/conf-kicked.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
&lt;br /&gt;
By default, FreeSwitch records every conference to a wav file.  Comment out the following line as shown below to disable this:&lt;br /&gt;
&lt;br /&gt;
       &amp;amp;lt;!--&amp;amp;lt;param name=&amp;quot;auto-record&amp;quot; value=&amp;quot;$${base_dir}/recordings/${conference_name}_${strftime(%Y-%m-%d-%H-%M-%S)}.wav&amp;quot;/&amp;amp;gt;--&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
==OpenSim Config==&lt;br /&gt;
&lt;br /&gt;
Add the following section to OpenSim.ini. You will also need to enable voice in the regions estate settings. Make sure the freeswitch server is started BEFORE bringing the region up.&lt;br /&gt;
&lt;br /&gt;
    [FreeSwitchVoice]&lt;br /&gt;
    enabled = true&lt;br /&gt;
    ;FreeSwitch server is going to contact us and ask us all&lt;br /&gt;
    ;sorts of things.&lt;br /&gt;
    freeswitch_server_user = freeswitch&lt;br /&gt;
    freeswitch_server_pass = password&lt;br /&gt;
    freeswitch_api_prefix = /api&lt;br /&gt;
    ;The  IP address of your opensim voice region&lt;br /&gt;
    freeswitch_service_server = youropensimexternalIP&lt;br /&gt;
    ;the port your region is running on&lt;br /&gt;
    freeswitch_service_port = 9000 &lt;br /&gt;
    ;your freewitch IP address&lt;br /&gt;
    freeswitch_realm = 192.168.0.2&lt;br /&gt;
    freeswitch_sip_proxy = 192.168.0.2:5060&lt;br /&gt;
    freeswitch_attempt_stun = false&lt;br /&gt;
    freeswitch_stun_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_port = 50505&lt;br /&gt;
    freeswitch_well_known_ip = 192.168.0.2&lt;br /&gt;
    freeswitch_default_timeout = 5000&lt;br /&gt;
    freeswitch_subscribe_retry = 120&lt;/div&gt;</summary>
		<author><name>Joelmorrissette</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Freeswitch_Module</id>
		<title>Freeswitch Module</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Freeswitch_Module"/>
				<updated>2009-05-01T17:57:54Z</updated>
		
		<summary type="html">&lt;p&gt;Joelmorrissette: /* configure conference.conf.xml */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The FreeSwitch module enables voice in opensim with no changes required to the SL or Hippo clients (must be over 1.22 for SL and 0.5 for Hippo)&lt;br /&gt;
&lt;br /&gt;
== FreeSwitch Install == &lt;br /&gt;
&lt;br /&gt;
Follow the instructions [http://wiki.freeswitch.org/wiki/Installation_Guide here] on how to compile from source. We need to enable two specific modules.&lt;br /&gt;
'''&lt;br /&gt;
please ensure you compile from the freeswitch trunk for now until we can post a minimum version number (there are known issues with older versions)'''&lt;br /&gt;
&lt;br /&gt;
When you get to the part in the instructions where it says  &amp;quot;'''Edit modules.conf so that it will build the modules you desire.'''&amp;quot; edit the modules.conf file and uncomment out the entries for xml_curl and the siren14 codec&lt;br /&gt;
&lt;br /&gt;
    codecs/mod_siren&lt;br /&gt;
    and&lt;br /&gt;
    xml_int/mod_xml_curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can also use this [http://madhawa.com/?p=10 guide] for setting it up in a quick way -- [[User:Fly-man-|Fly-man-]]&lt;br /&gt;
&lt;br /&gt;
==FreeSwitch Config==&lt;br /&gt;
&lt;br /&gt;
Install and compile Freeswitch, making sure you enable the xml_curl module and also the siren14 codec.&lt;br /&gt;
&lt;br /&gt;
=== enable mod_xml_curl ===&lt;br /&gt;
&lt;br /&gt;
Next, do not forget to activate mod_xml_curl in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. mod_xml_curl is disabled by default on fresh install.&lt;br /&gt;
&lt;br /&gt;
uncomment the lines...&lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_xml_curl&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_siren&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
are uncommented&lt;br /&gt;
&lt;br /&gt;
=== configure mod_xml_curl === &lt;br /&gt;
&lt;br /&gt;
the xml_curl module configuration should point to an opensim region that has the freeswitch voice module enabled (voice also needs to be enabled in the estate setting for all regions)&lt;br /&gt;
&lt;br /&gt;
example xml_curl.conf.xml  found in /usr/local/freeswitch/conf/autoload_configs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;configuration name=&amp;quot;xml_curl.conf&amp;quot; description=&amp;quot;cURL XML Gateway&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;bindings&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;example&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;directory&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;dialplan&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
  &amp;lt;/bindings&amp;gt;&lt;br /&gt;
  &amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The /usr/local/freeswitch/conf/vars.xml requires modification to enable the siren14 codec&lt;br /&gt;
&lt;br /&gt;
search within vars.xml for the global_codec_prefs and change the line to read&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;X-PRE-PROCESS cmd=&amp;quot;set&amp;quot; data=&amp;quot;global_codec_prefs=G7221@32000h,G722,PCMU,PCMA,GSM&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
G7221@32000h is the siren14 codec&lt;br /&gt;
&lt;br /&gt;
=== configure conference.conf.xml ===&lt;br /&gt;
By default, FreeSwitch plays hold music when there is only one avatar in the conference and beeps for everyone when avatars arrive and leave.  To disable, edit /usr/local/freeswitch/conf/autoload_configs/conference.conf.xml.  Locate the &amp;quot;default&amp;quot; profile and comment out the following lines as shown below:&lt;br /&gt;
 &lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play if you are alone in the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;alone-sound&amp;quot; value=&amp;quot;conference/conf-alone.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you're alone (music on hold)--&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;moh-sound&amp;quot; value=&amp;quot;$${hold_music}&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you join the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;enter-sound&amp;quot; value=&amp;quot;tone_stream://%(200,0,500,600,700)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you leave the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;exit-sound&amp;quot; value=&amp;quot;tone_stream://%(500,0,300,200,100,50,25)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you ae ejected from the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;kicked-sound&amp;quot; value=&amp;quot;conference/conf-kicked.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
&lt;br /&gt;
==OpenSim Config==&lt;br /&gt;
&lt;br /&gt;
Add the following section to OpenSim.ini. You will also need to enable voice in the regions estate settings. Make sure the freeswitch server is started BEFORE bringing the region up.&lt;br /&gt;
&lt;br /&gt;
    [FreeSwitchVoice]&lt;br /&gt;
    enabled = true&lt;br /&gt;
    ;FreeSwitch server is going to contact us and ask us all&lt;br /&gt;
    ;sorts of things.&lt;br /&gt;
    freeswitch_server_user = freeswitch&lt;br /&gt;
    freeswitch_server_pass = password&lt;br /&gt;
    freeswitch_api_prefix = /api&lt;br /&gt;
    ;The  IP address of your opensim voice region&lt;br /&gt;
    freeswitch_service_server = youropensimexternalIP&lt;br /&gt;
    ;the port your region is running on&lt;br /&gt;
    freeswitch_service_port = 9000 &lt;br /&gt;
    ;your freewitch IP address&lt;br /&gt;
    freeswitch_realm = 192.168.0.2&lt;br /&gt;
    freeswitch_sip_proxy = 192.168.0.2:5060&lt;br /&gt;
    freeswitch_attempt_stun = false&lt;br /&gt;
    freeswitch_stun_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_port = 50505&lt;br /&gt;
    freeswitch_well_known_ip = 192.168.0.2&lt;br /&gt;
    freeswitch_default_timeout = 5000&lt;br /&gt;
    freeswitch_subscribe_retry = 120&lt;/div&gt;</summary>
		<author><name>Joelmorrissette</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Freeswitch_Module</id>
		<title>Freeswitch Module</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Freeswitch_Module"/>
				<updated>2009-05-01T17:54:01Z</updated>
		
		<summary type="html">&lt;p&gt;Joelmorrissette: /* configure conference.conf.xml */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The FreeSwitch module enables voice in opensim with no changes required to the SL or Hippo clients (must be over 1.22 for SL and 0.5 for Hippo)&lt;br /&gt;
&lt;br /&gt;
== FreeSwitch Install == &lt;br /&gt;
&lt;br /&gt;
Follow the instructions [http://wiki.freeswitch.org/wiki/Installation_Guide here] on how to compile from source. We need to enable two specific modules.&lt;br /&gt;
'''&lt;br /&gt;
please ensure you compile from the freeswitch trunk for now until we can post a minimum version number (there are known issues with older versions)'''&lt;br /&gt;
&lt;br /&gt;
When you get to the part in the instructions where it says  &amp;quot;'''Edit modules.conf so that it will build the modules you desire.'''&amp;quot; edit the modules.conf file and uncomment out the entries for xml_curl and the siren14 codec&lt;br /&gt;
&lt;br /&gt;
    codecs/mod_siren&lt;br /&gt;
    and&lt;br /&gt;
    xml_int/mod_xml_curl&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* You can also use this [http://madhawa.com/?p=10 guide] for setting it up in a quick way -- [[User:Fly-man-|Fly-man-]]&lt;br /&gt;
&lt;br /&gt;
==FreeSwitch Config==&lt;br /&gt;
&lt;br /&gt;
Install and compile Freeswitch, making sure you enable the xml_curl module and also the siren14 codec.&lt;br /&gt;
&lt;br /&gt;
=== enable mod_xml_curl ===&lt;br /&gt;
&lt;br /&gt;
Next, do not forget to activate mod_xml_curl in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. mod_xml_curl is disabled by default on fresh install.&lt;br /&gt;
&lt;br /&gt;
uncomment the lines...&lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_xml_curl&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &lt;br /&gt;
 &lt;br /&gt;
    &amp;lt;load module=&amp;quot;mod_siren&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
are uncommented&lt;br /&gt;
&lt;br /&gt;
=== configure mod_xml_curl === &lt;br /&gt;
&lt;br /&gt;
the xml_curl module configuration should point to an opensim region that has the freeswitch voice module enabled (voice also needs to be enabled in the estate setting for all regions)&lt;br /&gt;
&lt;br /&gt;
example xml_curl.conf.xml  found in /usr/local/freeswitch/conf/autoload_configs&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;configuration name=&amp;quot;xml_curl.conf&amp;quot; description=&amp;quot;cURL XML Gateway&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;bindings&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;example&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;directory&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
        &amp;lt;binding name=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;gateway-url&amp;quot; value=&amp;quot;http://youropensimregion:9000/api/freeswitch-config&amp;quot; bindings=&amp;quot;dialplan&amp;quot;/&amp;gt;&lt;br /&gt;
                &amp;lt;param name=&amp;quot;disable-100-continue&amp;quot; value=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/binding&amp;gt;&lt;br /&gt;
  &amp;lt;/bindings&amp;gt;&lt;br /&gt;
  &amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The /usr/local/freeswitch/conf/vars.xml requires modification to enable the siren14 codec&lt;br /&gt;
&lt;br /&gt;
search within vars.xml for the global_codec_prefs and change the line to read&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;X-PRE-PROCESS cmd=&amp;quot;set&amp;quot; data=&amp;quot;global_codec_prefs=G7221@32000h,G722,PCMU,PCMA,GSM&amp;quot;/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
G7221@32000h is the siren14 codec&lt;br /&gt;
&lt;br /&gt;
=== configure conference.conf.xml ===&lt;br /&gt;
 &lt;br /&gt;
Comment out the following lines as shown below within the file /usr/local/freeswitch/conf/autoload_configs/conference.conf.xml, if you want to disable music-on-hold when there is only one avatar in a freeswitch conference and to disable the beeps when new avatars arrive or leave:&lt;br /&gt;
 &lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play if you are alone in the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;alone-sound&amp;quot; value=&amp;quot;conference/conf-alone.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you're alone (music on hold)--&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;moh-sound&amp;quot; value=&amp;quot;$${hold_music}&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you join the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;enter-sound&amp;quot; value=&amp;quot;tone_stream://%(200,0,500,600,700)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you leave the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;exit-sound&amp;quot; value=&amp;quot;tone_stream://%(500,0,300,200,100,50,25)&amp;quot;/&amp;amp;gt; [^] --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- File to play when you ae ejected from the conference --&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;!-- &amp;amp;lt;param name=&amp;quot;kicked-sound&amp;quot; value=&amp;quot;conference/conf-kicked.wav&amp;quot;/&amp;amp;gt; --&amp;amp;gt;&lt;br /&gt;
       [...]&lt;br /&gt;
&lt;br /&gt;
==OpenSim Config==&lt;br /&gt;
&lt;br /&gt;
Add the following section to OpenSim.ini. You will also need to enable voice in the regions estate settings. Make sure the freeswitch server is started BEFORE bringing the region up.&lt;br /&gt;
&lt;br /&gt;
    [FreeSwitchVoice]&lt;br /&gt;
    enabled = true&lt;br /&gt;
    ;FreeSwitch server is going to contact us and ask us all&lt;br /&gt;
    ;sorts of things.&lt;br /&gt;
    freeswitch_server_user = freeswitch&lt;br /&gt;
    freeswitch_server_pass = password&lt;br /&gt;
    freeswitch_api_prefix = /api&lt;br /&gt;
    ;The  IP address of your opensim voice region&lt;br /&gt;
    freeswitch_service_server = youropensimexternalIP&lt;br /&gt;
    ;the port your region is running on&lt;br /&gt;
    freeswitch_service_port = 9000 &lt;br /&gt;
    ;your freewitch IP address&lt;br /&gt;
    freeswitch_realm = 192.168.0.2&lt;br /&gt;
    freeswitch_sip_proxy = 192.168.0.2:5060&lt;br /&gt;
    freeswitch_attempt_stun = false&lt;br /&gt;
    freeswitch_stun_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_server = 192.168.0.2&lt;br /&gt;
    freeswitch_echo_port = 50505&lt;br /&gt;
    freeswitch_well_known_ip = 192.168.0.2&lt;br /&gt;
    freeswitch_default_timeout = 5000&lt;br /&gt;
    freeswitch_subscribe_retry = 120&lt;/div&gt;</summary>
		<author><name>Joelmorrissette</name></author>	</entry>

	</feed>