Opened 9 years ago

Closed 9 years ago

#1819 closed enhancement (fixed)

Use expiration field to indicate registration/unregistration in registration callback

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

Description

In registration callback on_reg_state2(), especially in failure cases, sometimes it's difficult to distinguish whether the callback is called for registration or unregistration request.

This ticket will fix it by setting cbparam.expiration field to 0 in case of unregistration and > 0 otherwise.

Change History (1)

comment:1 Changed 9 years ago by ming

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

In 4989:

Fixed #1819: Use expiration field to indicate registration/unregistration in registration callback

Note: See TracTickets for help on using tickets.