Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

#192 closed enhancement (fixed)

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)

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 (1)

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

Download all attachments as: .zip

Change History (9)

comment:1 Changed 18 years ago by bennylp

  • Milestone changed from release-0.7.0-rc2 to unassigned

comment:2 Changed 17 years ago by bennylp

  • Milestone changed from unassigned to release-0.9.0

comment:3 Changed 17 years ago by bennylp

  • Priority changed from normal to trivial

comment:4 Changed 16 years ago by bennylp

  • Milestone changed from release-0.9.0 to Known-Issues

comment:5 Changed 16 years ago by bennylp

  • Milestone changed from Known-Issues to release-0.9.5

comment:6 Changed 16 years ago by bennylp

  • Description modified (diff)
  • Priority changed from trivial to normal
  • Resolution set to fixed
  • Status changed from new to closed
  • 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 16 years ago by bennylp

Patch to pjsua_app.c to test the new callback functionality

comment:7 Changed 16 years ago by bennylp

Python implementation is done in r2156

comment:8 Changed 16 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.