[SR-Users] manual dispatching

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jan 13 22:49:18 CET 2011


Klaus Darilion wrote:
> Just as an idea - do you think that will work?
> - use htable for storage of the GW-list and their state
> - use rtimer to execute 'probe' route every few seconds
> - in probe route iterate over GW-list and send OPTIONS requests (with 
> short timeout) to the GWs
> - use response_route/failure_route to get the OPTIONS response and set 
> the GW state accordingly
> 
> - In normal routing logic then I could use the htable to retrive the GW 
> address and the state.
> 
> Is it possible to get the response status (200 OK, internally generated 
> 408) of local generated transactions in response route? Is it possible 
> to activate a failure route for local generated transactions?

The problem is, that the a failed transaction without any response 
(local timeout) can not be detected from script. Local generated 408 of 
local generated request do not enter any reply route nor the failure 
route :-(

Does anyone have another idea?

thanks
klaus



More information about the sr-users mailing list