Ticket #192 (closed enhancement: fixed)

Opened 12 years ago

Last modified 10 years ago

Add callback to notify application about incoming SUBSCRIBE request, and add subscription state and termination reason in buddy info

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

Description (last modified by bennylp) (diff)

Implement callback when incoming SUBSCRIBE is received in pjsua, to allow application to authorize the SUBSCRIBE request. This is useful for example to request authorization from user, and to allow application to add new buddy from the request.

Attachments

pjsua_on_incoming_subscribe_cb_test.diff (3.0 KB) - added by bennylp 10 years ago.
Patch to pjsua_app.c to test the new callback functionality

Change History

comment:1 Changed 11 years ago by bennylp

  • Milestone changed from release-0.7.0-rc2 to unassigned

comment:2 Changed 11 years ago by bennylp

  • Milestone changed from unassigned to release-0.9.0

comment:3 Changed 11 years ago by bennylp

  • Priority changed from normal to trivial

comment:4 Changed 10 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:5 Changed 10 years ago by bennylp

  • Milestone changed from Known-Issues to release-0.9.5

comment:6 Changed 10 years ago by bennylp

  • Priority changed from trivial to normal
  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)
  • Summary changed from Authorization for incoming SUBCRIBE in pjsua to Add callback to notify application about incoming SUBSCRIBE request, and add subscription state and termination reason in buddy info

Done in r2150

Changed 10 years ago by bennylp

Patch to pjsua_app.c to test the new callback functionality

comment:7 Changed 10 years ago by bennylp

Python implementation is done in r2156

comment:8 Changed 10 years ago by bennylp

r2157: crash when shutting down pjsua if buddy pool has been destroyed when presence subscription callback is called

Note: See TracTickets for help on using tickets.