[Devel] [ openser-Feature Requests-1696125 ] LCR Gateway Priority
SourceForge.net
noreply at sourceforge.net
Sat Apr 7 20:44:30 CEST 2007
Feature Requests item #1696125, was opened at 2007-04-07 14:08
Message generated for change (Comment added) made by osas
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1696125&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: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: LyleThaut (lylethaut)
Assigned to: Nobody/Anonymous (nobody)
Summary: LCR Gateway Priority
Initial Comment:
With the current LCR module (1.2.0) we have the ability to send prefixes to a certain group of gateways with the specified group id and priority field in the lcr table.
I have the need to prioritize the gateways within a gateway group. Right now if you have 3 gateways in a group, your traffic will get sent to one of the gateways in a random fashion. I want to be able to choose which of the gateways out of the group gets used.
Scenario as follows:
My SIP peer has 3 gateways that that I can send traffic to. However, they prefer that I send traffic to their primary gateway and only use the other two if the first one fails.
Seems like this can be accomplished by adding a priority field in the gateways table so we can choose which server within a group to send traffic to.
----------------------------------------------------------------------
Comment By: Ovidiu Sas (osas)
Date: 2007-04-07 14:44
Message:
Logged In: YES
user_id=1395524
Originator: NO
You can achieve that by using the priority field in the lcr table.
Put the primary gateway into the primary_group.
Put the other two gateways into the secondary_group.
In the lcr table add two entries for the same prefix/from_uri:
- primary_group with priority 0
- secondary_group with priority 1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1696125&group_id=139143
More information about the Devel
mailing list