[Devel] [ openser-Patches-1440902 ] Loadbalancing with Path-HF with
NAT-Support
SourceForge.net
noreply at sourceforge.net
Wed Mar 1 12:41:47 CET 2006
Patches item #1440902, was opened at 2006-03-01 12:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1440902&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Granig (agranig)
Assigned to: Nobody/Anonymous (nobody)
Summary: Loadbalancing with Path-HF with NAT-Support
Initial Comment:
Attached is a new module "path", which allows a
intermediate proxy to add it's URI into a Path-HF in
various ways:
- add_path(): Adds URI including the address of the
outgoing interface as Path-HF in the form of "Path:
<sip:1.2.3.4:5060>"
- add_path_received(): like the above, but adds a
parameter "received=sip:2.3.4.5:1234" to the URI to
pass the received-address of an UAC to a registrar
- both of the above functions also allow to pass a
userpart for the Path-URI, so add_path("loadbalancer")
results in a Path-HF "Path:
<sip:loadbalancer at 1.2.3.4:5060>"
- If the module parameter "use_received" is set to 1,
the module hooks into rr-processsing and sets the
"received"-parameter of a Route-URI as destination-uri
if available. This is used in combination with
add_path_received(), where subsequent requests are sent
to the received-address of the initial registration
(aka the URI given in the received-parameter of the
Path-HF).
Also attached you can find a patch to the registrar
module, which allows to store the URI in the
received-parameter of the first Path-HF as
received-value of usrloc and set the NAT flag for this
contact. This feature can be enabled by setting the
parameter "path_use_received" of the registrar module
to 1.
One should be aware that nat-pinging of such a contact
isn't supported by nathelper/mediaproxy yet, but the
values are in place (since I use an external
application for nat-pinging).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1440902&group_id=139143
More information about the Devel
mailing list