I am testing with the dispatcher module at the moment, one of the options is to set the probing mode to 1 which means the module will automatically disable a gateway if it receives a 408.<div><br></div><div>Is it possible to make this only set to probing if a *locally* generated 408 is received? At the moment it disables even if the downstream gateway returns a 408 which seems wrong to me. If the gateway has responded then it is not inactive.</div>
<div><br></div><div>The code looks like this but I am not sure if it's easy to derive if the 408 is locally generated from the tmcb_params </div><div><br></div><div>struct tmcb_params *ps</div><div><br></div><div><div>
if(ds_probing_mode==1 && ps->code == 408)</div><div> {</div><div> if (ds_set_state(group, &uri, DS_PROBING_DST, 1) != 0)</div><div> {</div><div> LM_ERR("Setting the probing state failed (%.*s, group %d)\n",</div>
<div> uri.len, uri.s, group);</div><div> }</div><div> }</div></div><div><br></div>