[SR-Users] Dropped registrar bindings with 1.5.3

Alex Balashov abalashov at evaristesys.com
Fri Nov 18 12:32:04 CET 2011


On 11/18/2011 06:24 AM, Fred Posner wrote:

> What happens if you move the Register to the beginning of the if
> statement?

While I have not empirically investigated this, the structure 
literally looks like this:

    if(is_method("OPTIONS")) {
        # respond to OPTIONS pings
        exit;
    }

    else if(is_method("INVITE")) {
        # route the INVITE
        exit;
    }

    else if(is_method("REGISTER")) {
        xlog(...);
        route(2);
    }

    else {
       # 403 Forbidden
    }

Also, if this were a logic problem, wouldn't it happen all the time? 
This registrar has many thousands of users, out of which about half a 
dozen have reported this problem, and for them, it only occurs for at 
most a few minutes out of each day.

-- 
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-users mailing list