Opened 18 years ago

Closed 18 years ago

#99 closed enhancement (fixed)

Implement a generic UAC transaction timeout

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10
Component: pjsip Version: 0.5.9
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Currently UAC transaction does not set any timeout timer after a provisional response has been received. If the server crashes after it sends provisional response, then the client will get stucked forefer (for example, for client registration).

This behavior is compliant with RFC 3261, but nevertheless it's not robust, so the stack should better provide a mechanism for setting up such timer.

This ticket supersedes ticket #89 since it solves the problem in more generic manner.

Change History (1)

comment:1 Changed 18 years ago by bennylp

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

Implemented in r942:

Added new API:

  pj_status_t pjsip_tsx_set_uac_timeout(tsx, msec_timeout, flags);

to control UAC transaction timeout value and behavior.

Currently this feature is used by pjsip_endpt_send_request() that has timeout value, and this in turn is used by the client registration.

Note: See TracTickets for help on using tickets.