Opened 16 years ago

Closed 16 years ago

#574 closed enhancement (fixed)

Add new API to know why the outgoing subscription request is terminated

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

Description

Add new API to know why the outgoing subscription request is terminated (e.g. unauthorized, rejected, etc.)

Change History (1)

comment:1 Changed 16 years ago by bennylp

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

In r2149:

  • Save the termination reason
  • Added API pjsip_evsub_get_termination_reason()
  • Support for delaying incoming subscription acceptance (e.g. to request user permission). Changes were made to support receiving subscription request or unsubscribe request while initial NOTIFY has not been sent.
  • Since user may specify custom state or termination reason, escape these parameters when encoding the header, just to be safe.
Note: See TracTickets for help on using tickets.