]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session.c: Send 100 Trying out earlier to prevent retransmissions.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 21 Apr 2017 17:33:34 +0000 (12:33 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 21 Apr 2017 19:06:45 +0000 (14:06 -0500)
commit1213ac1ac5fd3707d43958ddcd23e02349bead69
tree3e14514ad2e10bb9390b836b6b92ce1f4211d1a0
parent80fd7fd9086d1454e13624102961d9cd5c7d8651
res_pjsip_session.c: Send 100 Trying out earlier to prevent retransmissions.

If ICE is enabled and a STUN server does not respond then we will block
until we give up on the STUN response.  This will take nine seconds.  In
the mean time the peer that sent the INVITE will send retransmissions.

* Restructure res_pjsip_session.c:new_invite() to send a 100 Trying out
earlier to prevent these retransmissions.

ASTERISK-26890

Change-Id: Ie3fc611e53a0eff6586ad55e4aacad81cf6319a8
res/res_pjsip_session.c