[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] LCR and gateways resource.
From:       Juha Heinanen <jh () tutpro ! com>
Date:       2010-12-29 6:43:02
Message-ID: 19738.55414.705983.586241 () sip ! test ! fi
[Download RAW message or body]

Ricardo Martinez writes:

> Thanks for your answer.  I will try something like that.
> Question.  The defunct_gw() function works with the gateway selected with
> the next_gw() function??

yes.

> Another question.  How would be the logic to mark a gateway down
> automatically in the LCR?.  I mean trying to emulate the "ping" function
> from the 1.5 version.

there is no such thing in 3.1.  it is now up to the script to decide
what to do if a gw cannot serve the request.  set your timeout to a
small value, such as 3 seconds, and then decide based on the response
code what to do.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic