How to stop the process of dialing a not reachable server

I’m dialing a trunk that is down due to network issue ,
i need to timeout after some time if it’s unreachble , how to achive that .

It will time out after, at most 32 seconds:

https://www.rfc-editor.org/rfc/rfc3261.html#section-17.1.1.2

There is also a limit to the number of re-transmissions, which produces the same result, with the default values.

If you enable qualify, the call will not be attempted if the previous qualify failed.

If also use chan_sip, although that is inadvisable, the timers will be automatically set so that T1 reflects the measured round trip time.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.