2: 2009-02-24 (火) 20:02:39 iseki |
3: 2009-03-03 (火) 03:01:37 iseki |
| * sl_voice_relay [#xa5f7861] | | * sl_voice_relay [#xa5f7861] |
| [[日本語はこちら>sl_voice_relay]]~ | | [[日本語はこちら>sl_voice_relay]]~ |
- | | |
- | Writing now. | |
| | | |
| ** Outline [#zefdad81] | | ** Outline [#zefdad81] |
| + | - ''sl_voice_relay'' relays the packets of the SIP system of the ''Vivox'', and enables to use of the voice chat of Second Life for PC in the firewall. |
| + | - The SIP forwarding part of ''sl_voice_relay'' is an independent program named ''sip_forwarder''. But, it is automatically built in, when sl_voice_relay is compiled. |
| + | - It is also possible to stop ''sip_forwarder'' function in sl_voice_relay, and to start only ''sip_forwarder'' with another machine (for debug). |
| + | - ''sl_voice_relay'' is ''beta version in sl_proxy v1.7.x''. It is not tested whether the voice can be forwarded under all situations. |
| + | - now version is ''0.9.0b'' (2 March '09) |
| + | ~ |
| + | ~ |
| + | |
| + | ** Explanation [#i05f940b] |
| + | ~ |
| + | ~ |
| + | ** Configuration [#e79fd545] |
| + | |
| + | *** Viewer [#l5589535] |
| + | + display ''Advanced'' menu on Viewer by press ''Crtl+Alt+D'' keys. Ctrl+Alt+D is toggle. |
| + | + select ''Advanced'' --> ''Debug Setteings...'' menu. |
| + | + input ''voicehost'', and replace ''127.0.0.1'' to IP address of host that executing ''sl_voice_relay''. |
| + | + input ''vivoxDegugLevel'', and add '' -i IP:44124'' behind ''-1''. IP is IP address of PC that executing Viewer. |
| + | |
| + | **** Example [#gf81997a] |
| + | - ''sl_voice_relay'' is executing on ''202.26.159.140'' |
| + | - Viewer is executing on PC (''192.168.1.1''). |
| + | voicehost --> 202.26.159.140 |
| + | vivoxDebugLevel --> -1 -i 192.168.1.1 |
| + | |
| + | **** Attension [#l5e1a9ea] |
| + | + if ''-i'' option is specified, SLVoice permits to receive packets from all other PC. |
| + | + The Viewer slows very much, when the above-mentioned setting is done and sl_voice_relay not started and the Viewer's voice chat function is effective. So, Viewer is waitting for the communication with SLVoice. |
| + | |
| + | *** Server [#read421a] |
| + | ~ |
| + | ~ |
| + | |
| + | ** Execute Options [#ab31e5c3] |
| + | sl_voice_relay [-s account_server:port] [-p port] [-pv port] [-r sip_forwarder:port] |
| + | [-f config_file] [-u user_name] [-pid pid_file] |
| + | [-i internal_ip_address] [-ii internal_ip_address] [-ie external_ip_address] |
| + | [-v syslog_level] [-d] [-x] [-xt] [-xu] |
| + | |
| + | -s : specify Vivox Managemrnt Server. default is www.bhr.vivox.com:443 |
| + | -p : port number that Viewer connects. default is 4413. It doesn't change usually. |
| + | -pv : port number of SLVoice. default is 4413. It doesn't change usually. |
| + | -r : when external SIP relay server (sip_forwarder) is used, the address and the port number of the sip |
| + | relay server are specified. if this option is specified, sip_forwarder built in sl_voice_relay stops. |
| + | specify the address seen from SLVoice (it does not become 127.0.0.1). |
| + | default is to use internal sip_forwarder. |
| + | |
| + | -u : effective user. |
| + | -f : configuration file. default is /usr/local/etc/sl_proxy/sl_relay.conf |
| + | -l : log file. not implemented yet. |
| + | -pid : pid file. |
| + | |
| + | -i : if your server has two or more network interfaces, specify IP address of internal network. |
| + | -ii : same as -i option. |
| + | -ie : if your server has two or more network interfaces, specify IP address of external network. |
| + | usually, it is detected automatically. |
| + | |
| + | -v : level of syslog. default is LOG_INFO (7). |
| + | -d : debug mode |
| + | -x : TCP packets are printed and saved part at working directory. SIP's UDP packets are printed. |
| + | -xt : TCP packets are printed and saved part at working directory. |
| + | -xu : SIP's UDP packet are printed. |