[Home]

Summary:ASTERISK-26890: STUN server with non-default-route transport causes INVITE delay
Reporter:George Joseph (gjoseph)Labels:
Date Opened:2017-03-22 09:16:10Date Closed:2017-04-12 09:03:07
Priority:MinorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_sdp_rtp
Versions:13.14.0 14.3.0 GIT Frequency of
Occurrence
Related
Issues:
is related toASTERISK-26851 res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport
Environment:Attachments:
Description:Commit "139bc34 res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport" exposed an issue where if a stun server is defined in rtp.conf and a transport is explicitly defined on an endpoint and that transport is bound to an ip address that isn't routable to the stun server, INVITEs will experience a delay while a connection to the stun server is attempted.   Eventually it times out (maybe 10 seconds) and the call continues.  In the mean time, asterisk hasn't sent any progress messages back to the UAC so they keep sending INVITEs.
Comments:By: Friendly Automation (friendly-automation) 2017-04-12 09:03:08.201-0500

Change 5436 merged by zuul:
res_rtp_asterisk.c: Add stun_blacklist option

[https://gerrit.asterisk.org/5436|https://gerrit.asterisk.org/5436]

By: Friendly Automation (friendly-automation) 2017-04-12 09:04:25.133-0500

Change 5441 merged by Joshua Colp:
res_rtp_asterisk.c: Add stun_blacklist option

[https://gerrit.asterisk.org/5441|https://gerrit.asterisk.org/5441]

By: Friendly Automation (friendly-automation) 2017-04-12 09:56:59.448-0500

Change 5446 merged by zuul:
res_rtp_asterisk.c: Add stun_blacklist option

[https://gerrit.asterisk.org/5446|https://gerrit.asterisk.org/5446]

By: Friendly Automation (friendly-automation) 2017-04-25 14:11:05.001-0500

Change 5523 merged by George Joseph:
testsuite: Fix test to tolerate an optional 100 Trying message.

[https://gerrit.asterisk.org/5523|https://gerrit.asterisk.org/5523]

By: Friendly Automation (friendly-automation) 2017-04-25 16:42:21.867-0500

Change 5514 merged by George Joseph:
res_pjsip_session.c: Send 100 Trying out earlier to prevent retransmissions.

[https://gerrit.asterisk.org/5514|https://gerrit.asterisk.org/5514]

By: Friendly Automation (friendly-automation) 2017-04-25 17:04:12.519-0500

Change 5516 merged by Jenkins2:
res_pjsip_session.c: Send 100 Trying out earlier to prevent retransmissions.

[https://gerrit.asterisk.org/5516|https://gerrit.asterisk.org/5516]

By: Friendly Automation (friendly-automation) 2017-04-25 17:06:11.377-0500

Change 5518 merged by Jenkins2:
res_pjsip_session.c: Send 100 Trying out earlier to prevent retransmissions.

[https://gerrit.asterisk.org/5518|https://gerrit.asterisk.org/5518]