- doc/: added configuration example for X-Lite
- textual corrections in code
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
0.5.7
|
||||
=====
|
||||
23-May-2004: - doc/: added configuration example for X-Lite
|
||||
|
||||
0.5.6
|
||||
=====
|
||||
20-May-2004: - Released 0.5.6
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ dnl Release Version
|
||||
dnl
|
||||
SPD_MAJOR_VERSION=0
|
||||
SPD_MINOR_VERSION=5
|
||||
SPD_MICRO_VERSION=6
|
||||
SPD_MICRO_VERSION=7
|
||||
|
||||
SPD_VERSION=$SPD_MAJOR_VERSION.$SPD_MINOR_VERSION.$SPD_MICRO_VERSION
|
||||
|
||||
|
||||
@@ -0,0 +1,101 @@
|
||||
X-Lite - Private Build 1103a
|
||||
|
||||
|
||||
Local registration at siproxd
|
||||
=============================
|
||||
|
||||
System Settings
|
||||
Network
|
||||
Autodetect IP: Yes
|
||||
Listen on IP: -
|
||||
** Use X-NAT to Choose SIP/RTP Ports: Never
|
||||
Listen SIP Port: 5060
|
||||
Listenm RTP Port: 8000
|
||||
NAT Firewall IP: -
|
||||
** Out Bound SIP Proxy: <inbound IP address of siproxd>
|
||||
** Force Firewall Type: Open IP
|
||||
Primary STUN Server: -
|
||||
Secondary STUN Server: -
|
||||
Primary DNS Server: -
|
||||
Secondary DNS Server: -
|
||||
Provider DNS Server: -
|
||||
|
||||
** SIP Proxy
|
||||
Enabled: Yes
|
||||
Display Name: Default
|
||||
Username: <registration username>
|
||||
Authorization User: <authorization username>
|
||||
Password: <authorization password>
|
||||
1) Domain/Realm: <host part of SIP URI>
|
||||
SIP Proxy: <inbound IP address of siproxd>
|
||||
Out Bound Porxy: <inbound IP address of siproxd>
|
||||
Use Out Bound Proxy: Always
|
||||
Send Internal IP: Default
|
||||
Register: Always
|
||||
Voicemail SIP URL: -
|
||||
Forward SIP URL: -
|
||||
Use Voicemail: Forward to Voicemail
|
||||
Direct Diap IP: No
|
||||
Dial Prefix: -
|
||||
Provider Website (if applicabla): -
|
||||
Update Settings (if applicable): -
|
||||
|
||||
X-Tunnels
|
||||
Use X-Tunnels: Never
|
||||
|
||||
X-Cipher
|
||||
Use X-Cipher: Never
|
||||
|
||||
Advanced System Settings:
|
||||
SIP Settings
|
||||
Reregister Proxy(s): 1800
|
||||
** Send UDP Keep-alive Messages to Proxy: No
|
||||
Frequency to send UDP keep-alive Messages to proxy (ms): 10000
|
||||
Send Compact SIP Messages: No
|
||||
Send Basic SDP Messages: No
|
||||
Use SIP rport: Yes
|
||||
Obey Reverse UDP Rules: Yes
|
||||
Should Timeout SIP Messages After (ms): 9000
|
||||
Should Timeout Bye SIP Message After (ms): 4000
|
||||
Should Timeout Provisional SIP Relpies After (ms): 40000
|
||||
Should Wait to Resend Request After Provisional Reply (ms): 10000
|
||||
Should Resend SIP Messages After (ms): 1500
|
||||
|
||||
RTP Settings
|
||||
RTP Keep-alive Settings
|
||||
Send RTP Keep-alive Messages: Yes
|
||||
Send RTP Keep-alive Messages Frequency (ms): 15000
|
||||
RTP Keep-alive Bogus Payload Type: 13
|
||||
Secure Magic Number: 128
|
||||
Obey Reverse UDP Mapping Rules: Yes
|
||||
** Send RTCP Messages: No
|
||||
|
||||
|
||||
1) must be a hostname that resolves to the public IP address
|
||||
siproxd uses (outbound interface)
|
||||
|
||||
|
||||
|
||||
Remote registration at 3rd party registrar
|
||||
==========================================
|
||||
|
||||
System Settings
|
||||
** SIP Proxy
|
||||
Enabled: Yes
|
||||
Display Name: Default
|
||||
Username: <registration username>
|
||||
Authorization User: <authorization username>
|
||||
Password: <authorization password>
|
||||
Domain/Realm: <host part of SIP URI>
|
||||
SIP Proxy: <IP address of 3rd party registrar>
|
||||
Out Bound Porxy: <inbound IP address of siproxd>
|
||||
Use Out Bound Proxy: Always
|
||||
Send Internal IP: Default
|
||||
Register: Always
|
||||
Voicemail SIP URL: -
|
||||
Forward SIP URL: -
|
||||
Use Voicemail: Forward to Voicemail
|
||||
Direct Diap IP: No
|
||||
Dial Prefix: -
|
||||
Provider Website (if applicabla): -
|
||||
Update Settings (if applicable): -
|
||||
@@ -505,12 +505,12 @@ int rtp_relay_start_fwd (osip_call_id_t *callid, char *client_id,
|
||||
random start offset
|
||||
- for i=x to (p1-p0)+x; p=p0+mod(x,p1-p0) */
|
||||
|
||||
/* find a local outbound port number to use and bind to it */
|
||||
/* find a local port number to use and bind to it */
|
||||
sock=0;
|
||||
port=0;
|
||||
for (i=configuration.rtp_port_low; i<=configuration.rtp_port_high; i+=2) {
|
||||
for (j=0; j<RTPPROXY_SIZE; j++) {
|
||||
/* outbound port already in use */
|
||||
/* check if port already in use */
|
||||
if ((memcmp(&rtp_proxytable[j].local_ipaddr,
|
||||
&local_ipaddr, sizeof(struct in_addr))== 0) &&
|
||||
(rtp_proxytable[j].local_port == i) ) break;
|
||||
|
||||
@@ -250,6 +250,8 @@ void secure_enviroment (void) {
|
||||
* Took me a while to figure THIS one out
|
||||
*/
|
||||
struct in_addr dummy;
|
||||
DEBUGC(DBCLASS_DNS, "Initializing DNS, the following DNS "
|
||||
"failure is normal, don't worry");
|
||||
get_ip_by_host("foobar", &dummy);
|
||||
DEBUGC(DBCLASS_CONFIG,"chrooting to %s",
|
||||
configuration.chrootjail);
|
||||
|
||||
Reference in New Issue
Block a user