Opened 10 years ago

Closed 10 years ago

#1031 closed enhancement (fixed)

Automatically handle 423 (Interval Too Brief) response in SIP registration (thanks Tomáš Valenta for the suggestion)

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

Description

Currently 423 response will cause registration to terminate, and worse there is no good way for application to query the desired interval indicated by the registrar in the response1).

It would be better if the library handles this automatically.

1) Actually application can, with registering a pjsip module and peek the REGISTER response, but this is not a clean approach for this.

Change History (2)

comment:1 Changed 10 years ago by bennylp

Done in r3105:

  • implemented in sip_reg.c instead of in PJSUA-LIB, so that the functionality can be reused by non-PJSUA-LIB applications
  • also added several Python test scripts

comment:2 Changed 10 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.