Matthew Simpson wrote:> Is there a way in asterisk to configure a sip invite timeout ? It seems
> to be about 30 seconds right now which is too long. I would like to
> have asterisk return congestion if a host does not respond to an invite
> within 5 seconds.
Asterisk 1.2 will use a T1 timer (retransmit) based on the 'qualify'
time, if have that turned on for the peer. The INVITE will be
transmitted a total of six times (per the RFC, IIRC). If your peer is
_close_ and responds quickly to qualify packets, then the total INVITE
timeout could be a second or two at most.
There is an open feature request to make the T1 timer adjustable on a
per-peer basis, but nobody has had the time to implement it yet.