Changeset 4212


Ignore:
Timestamp:
Jul 19, 2012 8:54:35 AM (7 years ago)
Author:
ming
Message:

Re #1559: Add doc about on_incoming_subscribe() to call pjsua_pres_notify() immediately after setting the code to 202

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4204 r4212  
    907907     *  - it may delay the processing of the request, for example to request 
    908908     *    user permission whether to accept or reject the request. In this  
    909      *    case, the application MUST set the \a code argument to 202, and  
    910      *    later calls #pjsua_pres_notify() to accept or reject the  
    911      *    subscription request. 
     909     *    case, the application MUST set the \a code argument to 202, then 
     910     *    IMMEDIATELY calls #pjsua_pres_notify() with state 
     911     *    PJSIP_EVSUB_STATE_PENDING and later calls #pjsua_pres_notify() 
     912     *    again to accept or reject the subscription request. 
    912913     * 
    913914     * Any \a code other than 200 and 202 will be treated as 200. 
Note: See TracChangeset for help on using the changeset viewer.