Ticket #911 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

Crash when receiving NOTIFY after subscription is terminated (thanks Johan Lantz for the report)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.4
Component: pjsip Version: trunk
Keywords: Cc:

Description

Ticket #873 causes crash on the following scenario on the subscriber side:

  • Subscription is established
  • Client sends SUBSCRIBE to refresh
  • The transaction fails with a failure response
  • Server sends NOTIFY

Change History

Changed 13 months ago by bennylp

In r2822:

  • fixed the bug by not processing the NOTIFY if the subscription is already terminated
  • also added SIPp scenario to reproduce the bug

Changed 13 months ago by bennylp

In r2833:

  • added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription

Changed 13 months ago by bennylp

The previous msg should read r2823

Changed 13 months ago by bennylp

  • status changed from new to closed
  • resolution set to fixed

In r2824:

  • added subscription state name string in pjsua_buddy_info and display this in pjsua
Note: See TracTickets for help on using tickets.