~singpolyma/asterisk

bc05895d5544d21cc95538033534f0890af92ef2 — Christopher Vollick 3 years ago aed4748
Set Longer STUN Timeout

We were having an issue with outbound Jingle calls where it would fail
to establish a connection.

It appeared to be a bug in pjproject, specifically that they don't
retrigger failed triggered checks, and the call receiver started sending
checks before the call initiator (because they receive that info on call
acceptance), so there was plenty of time for things to fail before we
even had a chance.

This does not fix that bug, but by extending the window of time it
retries before declaring failure, we can step around it a little.
1 files changed, 5 insertions(+), 0 deletions(-)

M third-party/pjproject/patches/config_site.h
M third-party/pjproject/patches/config_site.h => third-party/pjproject/patches/config_site.h +5 -0
@@ 20,6 20,11 @@
 */
#define PJMEDIA_HAS_SRTP 0

/*
 * CV: Set this to overcome a bug with outbound jingle
 */
#define PJ_STUN_MAX_TRANSMIT_COUNT  45

#define PJ_HAS_IPV6 1
#if !defined(AST_DEVMODE) && !defined(PJPROJECT_BUNDLED_ASSERTIONS)
#define NDEBUG 1