Changes between Version 1 and Version 2 of Python_SIP/Presence
- Timestamp:
- Jul 23, 2008 9:16:31 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python_SIP/Presence
v1 v2 29 29 30 30 31 For more information please see [http://www.pjsip.org/python/pjsua.htm#Buddy Buddy class] and [http://www.pjsip.org/python/pjsua.htm#BuddyCallback BuddyCallback class] reference documentation. 32 33 31 34 == Responding to Presence Subscription Request == 32 35 36 By default, incoming presence subscription to an account will be accepted automatically. You will probably want to change this behavior, for example only to automatically accept subscription if it comes from one of the buddy in the buddy list, and for anything else prompt the user if he/she wants to accept the request. 33 37 38 This can be done by implementing the [http://www.pjsip.org/python/pjsua.htm#AccountCallback-on_incoming_subscribe on_incoming_subscribe()] method of the [http://www.pjsip.org/python/pjsua.htm#AccountCallback AccountCallback] class. 39