Changes between Version 1 and Version 2 of Python_SIP/Presence


Ignore:
Timestamp:
Jul 23, 2008 9:16:31 PM (11 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python_SIP/Presence

    v1 v2  
    2929 
    3030 
     31For 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 
    3134== Responding to Presence Subscription Request == 
    3235 
     36By 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. 
    3337 
     38This 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