Opened 9 years ago

Closed 9 years ago

#1044 closed enhancement (fixed)

Graceful handling on transport disconnection or registration failure

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-1.6
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by nanang)

Issues:

  • PJSUA-LIB should re-register automatically on transport disconnection or registration failure (temporal failure).
  • Calls disconnection after a re-registration attempt fails.

Thanks Klaus Darillion and Fabio Pietrosanti for the request.

Change History (6)

comment:1 Changed 9 years ago by bennylp

  • Milestone changed from Known-Issues-and-Ideas to release-1.6

comment:2 Changed 9 years ago by nanang

  • Description modified (diff)

comment:3 Changed 9 years ago by bennylp

  • Owner changed from bennylp to nanang
  • Status changed from new to assigned

comment:4 Changed 9 years ago by nanang

  • Description modified (diff)

comment:5 Changed 9 years ago by nanang

  • Description modified (diff)
  • Summary changed from Re-register automatically on TCP/TLS transport disconnection to Graceful handling on transport disconnection or registration failure

In r3128:

  • Added initial version of automatic re-registration after registration failure and automatic call disconnection after re-registration attempt fails.
  • Published auto re-registration setting to pjsua app.
  • Updated pjsip_regc_send() to retrieve the transport earlier (was only in tsx_callback()).
  • Fixed TCP and TLS transport to prevent transport deletion in transport disconnection callback.
  • Fixed wrong keep-alive settings used by TLS transport (was using TCP keep-alive settings).

comment:6 Changed 9 years ago by nanang

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3139]) Minor fix #1044:

  • Moved the code of disconnecting calls (after first re-reg attempt failure) to schedule_reregistration(), so it will be executed earlier (right after the failure of re-reg attempt).
Note: See TracTickets for help on using tickets.