opensecure / jss7

Automatically exported from code.google.com/p/jss7
0 stars 0 forks source link

M3UA – how many AS can be defined per route? #269

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

In the Mobicents SS7Stack User Guide is defined max. 16 AS per route:

"load-balance between Application Servers (AS) for a given route. For any given 
route, there can be a maximum of 16 ASs defined."

But in M3UAManagementImpl it’s defined:

protected int maxAsForRoute = 2;

The method 

public void setMaxAsForRoute(int maxAsForRoute) 

is never used, so we have really only 2 AS per route allowed.

And in M3UAManagementImpl we have:

    public void start() throws Exception {

        if (this.transportManagement == null) {
            throw new NullPointerException("TransportManagement is null");
        }

        if (maxAsForRoute < 1 || maxAsForRoute > 4) {
            throw new Exception("Max AS for a route can be minimum 1 or maximum 4");
        }

So 4 AS should be possible?

Currently, the SS7 CLI returns an error: "ERROR: Error while executing comand 
m3ua route add, d != java.lang.String" when we try to add a third AS to route

Original issue reported on code.google.com by tzane...@gmail.com on 16 Apr 2013 at 12:05