Freeswitch-Stimme für jeden Erfolg
Freeswitch (wählen Sie das gewünschte aus) ==> https://files.freeswitch.org/windows/installer/
hineingehen FreeSWITCH\conf\var.xml
lignes 61 et 62
ersetzt
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
ersetzen mit
<X-PRE-PROCESS cmd="set" data="domain=Domain Namen"/>
<X-PRE-PROCESS cmd="set" data="domain_name=Domain Namen"/>
ligne 258
ersetzt
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/>
ersetzen mit
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/>
hineingehen FreeSWITCH\conf\autoload_configs
remplacer tout le fichier modules.conf.xml
ersetzen mit
<configuration name="modules.conf" description="Modules">
<modules>
<load module="mod_console"/>
<load module="mod_logfile"/>
<load module="mod_enum"/>
<load module="mod_xml_curl"/>
<load module="mod_xml_curl2"/>
<load module="mod_cdr_csv"/>
<load module="mod_event_socket"/>
<load module="mod_sofia"/>
<load module="mod_loopback"/>
<load module="mod_rtc"/>
<load module="mod_verto"/>
<load module="mod_commands"/>
<load module="mod_conference"/>
<load module="mod_db"/>
<load module="mod_dptools"/>
<load module="mod_expr"/>
<load module="mod_fifo"/>
<load module="mod_hash"/>
<load module="mod_voicemail"/>
<load module="mod_esf"/>
<load module="mod_valet_parking"/>
<load module="mod_httapi"/>
<load module="mod_dialplan_xml"/>
<load module="mod_dialplan_asterisk"/>
<load module="mod_spandsp"/>
<load module="mod_voipcodecs"/>
<load module="mod_g723_1"/>
<load module="mod_g729"/>
<load module="mod_amr"/>
<load module="mod_b64"/>
<load module="mod_h26x"/>
<load module="mod_siren"/>
<load module="mod_av"/>
<load module="mod_native_file"/>
<load module="mod_png"/>
<load module="mod_lua"/>
<load module="mod_say_en"/>
</modules>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
Ersetzen Sie die gesamte Datei switch.conf.xml
ersetzen mit
<configuration name="switch.conf" description="Core Configuration">
<cli-keybindings>
<key name="1" value="help"/>
<key name="2" value="status"/>
<key name="3" value="show channels"/>
<key name="4" value="show calls"/>
<key name="5" value="sofia status"/>
<key name="6" value="reloadxml"/>
<key name="7" value="console loglevel 0"/>
<key name="8" value="console loglevel 7"/>
<key name="9" value="sofia status profile internal"/>
<key name="10" value="sofia profile internal siptrace on"/>
<key name="11" value="sofia profile internal siptrace off"/>
<key name="12" value="version"/>
</cli-keybindings>
<default-ptimes>
</default-ptimes>
<settings>
<param name="colorize-console" value="true"/>
<param name="dialplan-timestamps" value="false"/>
<param name="max-db-handles" value="50"/>
<param name="db-handle-timeout" value="10"/>
<param name="max-sessions" value="100000"/>
<param name="sessions-per-second" value="30"/>
<param name="loglevel" value="debug"/>
<param name="mailer-app" value="sendmail"/>
<param name="mailer-app-args" value="-t"/>
<param name="dump-cores" value="yes"/>
<param name="rtp-start-port" value="6000"/>
<param name="rtp-end-port" value="6999"/>
<param name="rtp-enable-zrtp" value="false"/>
</settings>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
Ersetzen Sie die gesamte Datei xml_curl.conf.xml
ersetzen mit
<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
<binding name="directory">
<param name="gateway-url" value="http://Domain Namen: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://Domain Namen:8004/fsapi/freeswitch-config" bindings="dialplan"/>
<param name="gateway-credentials" value="freeswitch:password"/>
<param name="disable-100-continue" value="true"/>
</binding>
</bindings>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
erstellt ein weiteres Backup von xml_curl.conf
ersetzen mit
xml_curl2.conf
Gehen wir zu OpenSim
OpenSim.ini
[FreeSwitchVoice]
Enabled = true
LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector
FreeswitchServiceURL = http://Domain Namen:8004/fsapi
Robust.HG.ini ou Robust.ini
[ServiceList]
AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below)
VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector"
...
[FreeswitchService]
LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
ServerAddress = Domain Namen
Das ist alles und vergessen Sie nicht, die Ports zu öffnen und die Sprach-Splugins in den Viewern zu ändern, da Vivox Voice die neuen Vivox-Plugins für FreeSwitch blockiert hat
port udp et tcp
5000
5060
5061
5080
5081
6000
6999
8004
Verwenden Sie für Linux den Befehl wine
apt install wine screen
killall screen
#!/bin/sh
cd /root/FreeSWITCH
rm -r log
screen -S FreeSWITCH -d -m wine FreeSwitchConsole.exe
für Windows
FreeSwitchConsole.exe
Laden Sie Firestorm-Plugins herunter
http://royalgrid.servegame.com/plugin_vo...switch.zip
My Email:
vpserv.fr@gmail.com
Wenn es funktioniert, sollten Sie das haben
http://royalgrid.servegame.com:8004/fsapi/region-config
ändern Sie durch Ihre
http://Domain Namen:8004/fsapi/region-config
Freeswitch (wählen Sie das gewünschte aus) ==> https://files.freeswitch.org/windows/installer/
hineingehen FreeSWITCH\conf\var.xml
lignes 61 et 62
ersetzt
<X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/>
<X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
ersetzen mit
<X-PRE-PROCESS cmd="set" data="domain=Domain Namen"/>
<X-PRE-PROCESS cmd="set" data="domain_name=Domain Namen"/>
ligne 258
ersetzt
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,G722,PCMU,PCMA,VP8"/>
ersetzen mit
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/>
hineingehen FreeSWITCH\conf\autoload_configs
remplacer tout le fichier modules.conf.xml
ersetzen mit
<configuration name="modules.conf" description="Modules">
<modules>
<load module="mod_console"/>
<load module="mod_logfile"/>
<load module="mod_enum"/>
<load module="mod_xml_curl"/>
<load module="mod_xml_curl2"/>
<load module="mod_cdr_csv"/>
<load module="mod_event_socket"/>
<load module="mod_sofia"/>
<load module="mod_loopback"/>
<load module="mod_rtc"/>
<load module="mod_verto"/>
<load module="mod_commands"/>
<load module="mod_conference"/>
<load module="mod_db"/>
<load module="mod_dptools"/>
<load module="mod_expr"/>
<load module="mod_fifo"/>
<load module="mod_hash"/>
<load module="mod_voicemail"/>
<load module="mod_esf"/>
<load module="mod_valet_parking"/>
<load module="mod_httapi"/>
<load module="mod_dialplan_xml"/>
<load module="mod_dialplan_asterisk"/>
<load module="mod_spandsp"/>
<load module="mod_voipcodecs"/>
<load module="mod_g723_1"/>
<load module="mod_g729"/>
<load module="mod_amr"/>
<load module="mod_b64"/>
<load module="mod_h26x"/>
<load module="mod_siren"/>
<load module="mod_av"/>
<load module="mod_native_file"/>
<load module="mod_png"/>
<load module="mod_lua"/>
<load module="mod_say_en"/>
</modules>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
Ersetzen Sie die gesamte Datei switch.conf.xml
ersetzen mit
<configuration name="switch.conf" description="Core Configuration">
<cli-keybindings>
<key name="1" value="help"/>
<key name="2" value="status"/>
<key name="3" value="show channels"/>
<key name="4" value="show calls"/>
<key name="5" value="sofia status"/>
<key name="6" value="reloadxml"/>
<key name="7" value="console loglevel 0"/>
<key name="8" value="console loglevel 7"/>
<key name="9" value="sofia status profile internal"/>
<key name="10" value="sofia profile internal siptrace on"/>
<key name="11" value="sofia profile internal siptrace off"/>
<key name="12" value="version"/>
</cli-keybindings>
<default-ptimes>
</default-ptimes>
<settings>
<param name="colorize-console" value="true"/>
<param name="dialplan-timestamps" value="false"/>
<param name="max-db-handles" value="50"/>
<param name="db-handle-timeout" value="10"/>
<param name="max-sessions" value="100000"/>
<param name="sessions-per-second" value="30"/>
<param name="loglevel" value="debug"/>
<param name="mailer-app" value="sendmail"/>
<param name="mailer-app-args" value="-t"/>
<param name="dump-cores" value="yes"/>
<param name="rtp-start-port" value="6000"/>
<param name="rtp-end-port" value="6999"/>
<param name="rtp-enable-zrtp" value="false"/>
</settings>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
Ersetzen Sie die gesamte Datei xml_curl.conf.xml
ersetzen mit
<configuration name="xml_curl.conf" description="cURL XML Gateway">
<bindings>
<binding name="directory">
<param name="gateway-url" value="http://Domain Namen: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://Domain Namen:8004/fsapi/freeswitch-config" bindings="dialplan"/>
<param name="gateway-credentials" value="freeswitch:password"/>
<param name="disable-100-continue" value="true"/>
</binding>
</bindings>
</configuration>
hineingehen FreeSWITCH\conf\autoload_configs
erstellt ein weiteres Backup von xml_curl.conf
ersetzen mit
xml_curl2.conf
Gehen wir zu OpenSim
OpenSim.ini
[FreeSwitchVoice]
Enabled = true
LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector
FreeswitchServiceURL = http://Domain Namen:8004/fsapi
Robust.HG.ini ou Robust.ini
[ServiceList]
AssetServiceConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:AssetServiceConnector"
InventoryInConnector = "${Const|PrivatePort}/OpenSim.Server.Handlers.dll:XInventoryInConnector"
;; Uncomment if you have set up Freeswitch (see [FreeswitchService] below)
VoiceConnector = "8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector"
...
[FreeswitchService]
LocalServiceModule = "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
ServerAddress = Domain Namen
Das ist alles und vergessen Sie nicht, die Ports zu öffnen und die Sprach-Splugins in den Viewern zu ändern, da Vivox Voice die neuen Vivox-Plugins für FreeSwitch blockiert hat
port udp et tcp
5000
5060
5061
5080
5081
6000
6999
8004
Verwenden Sie für Linux den Befehl wine
apt install wine screen
killall screen
#!/bin/sh
cd /root/FreeSWITCH
rm -r log
screen -S FreeSWITCH -d -m wine FreeSwitchConsole.exe
für Windows
FreeSwitchConsole.exe
Laden Sie Firestorm-Plugins herunter
http://royalgrid.servegame.com/plugin_vo...switch.zip
My Email:
vpserv.fr@gmail.com
Wenn es funktioniert, sollten Sie das haben
http://royalgrid.servegame.com:8004/fsapi/region-config
ändern Sie durch Ihre
http://Domain Namen:8004/fsapi/region-config