- allocate only even RTP port numbers
- started with own name lookup routines that honor SRV and NAPTR records
This commit is contained in:
@@ -25,14 +25,14 @@ A: Scenario
|
||||
|
||||
private IP address range : Internet
|
||||
10.0.0.x : (public IP address range)
|
||||
:
|
||||
: foo.bar.org xxx.org
|
||||
+-------------+ +--------------+ +-------------+
|
||||
! !.10 .1 ! masquerading ! publicIP ! !
|
||||
:
|
||||
: foo.bar.org xxx.org
|
||||
+-------------+ +--------------+ +-------------+
|
||||
! !.10 .1 ! masquerading ! publicIP ! !
|
||||
! IntHost !-------------! Firewall !------------>>! externalHost!
|
||||
! ! eth0! !ppp0 ! !
|
||||
+-------------+ +--------------+ +-------------+
|
||||
user: johndoe user: test
|
||||
! ! eth0! !ppp0 ! !
|
||||
+-------------+ +--------------+ +-------------+
|
||||
user: johndoe user: test
|
||||
|
||||
- IntHost is running an SIP softphone (like linphone, kphone)
|
||||
|
||||
@@ -244,20 +244,20 @@ A:
|
||||
Full Name: My Name
|
||||
User part of SIP URL: FWD_NUMBER
|
||||
Host Part of SIP URL: fwd.pulver.com
|
||||
Outbound Proxy: 192.168.1.1 <<-- local IP of siproxd
|
||||
Outbound Proxy: 192.168.1.1 <<-- local IP of siproxd
|
||||
Authentication Username: FWD_NUMBER
|
||||
q-value: <<-- empty
|
||||
q-value: <<-- empty
|
||||
|
||||
Preferences->SIP->Socket
|
||||
------------------------
|
||||
Socket Protocol: UDP
|
||||
Use STUN Server: No
|
||||
Symmetric Signalling: No (may also be 'Yes')
|
||||
Symmetric Media: No (may also be 'Yes')
|
||||
STUN Server: << n/a
|
||||
Request Period for STUN Server << n/a
|
||||
Media Min Port: 7070 << depend of siproxd config
|
||||
Media Max Port: 7080 (RTP ports)
|
||||
Symmetric Signalling: No (may also be 'Yes')
|
||||
Symmetric Media: No (may also be 'Yes')
|
||||
STUN Server: << n/a
|
||||
Request Period for STUN Server << n/a
|
||||
Media Min Port: 7070 << depend of siproxd config
|
||||
Media Max Port: 7080 (RTP ports)
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
Q: If I update both inbound and outbound to
|
||||
@@ -276,64 +276,5 @@ A: Very likely this will not work properly. Siproxd does masquerade User
|
||||
If you just want a proxy located in the public IP range you should not
|
||||
use siproxd, but get a real SIP proxy server instead.
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
---------------------------------------------------------------------------
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
...
|
||||
> Hier ist 40Mb logs mit overload problem. Wir haben auch probleme um neue
|
||||
> verbindung einzustellen. Es ist wie ob den RTP timeout fur alle UA
|
||||
> hinter den proxy bloquiert wenn eine bindung geschlossen wird. Nach 5 mn
|
||||
> (oder 3 in unsere buro) geht es wieder ok (oder eine restart von
|
||||
> siproxd). Manschmal, wenn eine von den beiden endpunkt die kommunikation
|
||||
> schlisst, ist die andere immer noch up und denkt das die verbingun
|
||||
> existiert. Wir haben den ganzen tag getestet mit lezte version von 17May:
|
||||
>
|
||||
> 2 intranet hinten siproxd, der eine ohne seine UA zu registrieren
|
||||
> (192.168.1.0/24). Der andere hat 1 BudgeTone, 1 HandyTone, 2 xlite ten
|
||||
> und 1 linphone als klient (192.168.10.0/24).
|
||||
|
||||
ACHTUNG!
|
||||
Siproxd unterstützt zur Zeit lediglich 1 internes Netz und ein externes
|
||||
Netz. ALLE lokalen UAs *müssen* sich:
|
||||
|
||||
- entweder bei SIPROXD registrieren
|
||||
|
||||
oder
|
||||
|
||||
- sich bei einem externen REGSITRAR registrieren (siproxd muss als
|
||||
OUTBOUND PROXY konfiguriert sein).
|
||||
|
||||
|
||||
Werden diese Spielregeln nicht eingehalten kommt es zu verschiedenen
|
||||
komischen Effekten, auch solche die Du beschrieben hast.
|
||||
|
||||
|
||||
|
||||
UA1--+
|
||||
|
|
||||
UA2--+
|
||||
|
|
||||
UA3--+ +-----------+
|
||||
| +-----------+ | externer |
|
||||
+---------| siproxd & |------>>Internet <<---| Registrar |
|
||||
| NAT | +-----------+
|
||||
+-----------+
|
||||
|
||||
Spielregeln:
|
||||
- ALLE UAs (UA1, UA2, UA3) benutzen siproxd also OUTBOUND proxy
|
||||
- ALLE UAs (UA1, UA2, UA3) registrieren sich entweder direkt bei
|
||||
siproxd ODER bei "externer Registrar"
|
||||
|
||||
Wenn Registrierung bei siproxd:
|
||||
- SIP URL (address of record) hat die form SIP:<user>@<host>
|
||||
- <user> ist frei wählbar
|
||||
- <host> MUSS einen DNS Eintrag haben, der auf die public IP
|
||||
von siproxd auflöst
|
||||
|
||||
|
||||
Wenn Registrierung bei "externer Registrar":
|
||||
- <user> und <domain> wird von "externer Registrar" definiert
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ rtp_proxy_enable = 1
|
||||
# This should be a range that is not blocked by the firewall
|
||||
#
|
||||
rtp_port_low = 7070
|
||||
rtp_port_high = 7079
|
||||
rtp_port_high = 7089
|
||||
|
||||
######################################################################
|
||||
# Timeout for RTP streams
|
||||
|
||||
Reference in New Issue
Block a user