#1914 closed enhancement (fixed)
Ignore STUN error after pjstun_get_mapped_addr2()
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.5 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
On media stream creation, the stack will call pjstun_get_mapped_addr2() and might fail if the STUN server is unreachable.
Scenario:
- Start PJSIP with STUN server A, STUN server B (both STUN servers are reachable)
- PJSIP will use STUN server A
- STUN server A becomes unreachable, STUN servr B remains reachable
- User dials a call
- PJSIP tries to resolve call media with STUN server A, but fails. (PJLIB_UTIL_ESTUNNOTRESPOND)
- The stack will not fallback to STUN server B nor continue without STUN.
This patch will ignore the error from pjstun_get_mapped_addr2() using pjsua_config::stun_ignore_failure.
Change History (2)
comment:1 Changed 9 years ago by riza
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 5283: