Ignore:
Timestamp:
Jun 11, 2007 6:22:54 PM (17 years ago)
Author:
bennylp
Message:

Ticket #334: Added on_pager_status2() callback to receive the full SIP message of IM delivery status (thanks Paul Levin)

File:
1 edited

Legend:

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

    r1362 r1363  
    799799    /** 
    800800     * Notify application about the delivery status of outgoing pager 
    801      * request. 
     801     * request. See also on_pager_status2() callback for the version with 
     802     * \a pjsip_rx_data in the argument list. 
    802803     * 
    803804     * @param call_id       Containts the ID of the call where the IM was 
     
    830831                            pjsip_status_code status, 
    831832                            const pj_str_t *reason); 
     833 
     834    /** 
     835     * Notify application about the delivery status of outgoing pager 
     836     * request. 
     837     * 
     838     * @param call_id       Containts the ID of the call where the IM was 
     839     *                      sent, or PJSUA_INVALID_ID if the IM was sent 
     840     *                      outside call context. 
     841     * @param to            Destination URI. 
     842     * @param body          Message body. 
     843     * @param user_data     Arbitrary data that was specified when sending 
     844     *                      IM message. 
     845     * @param status        Delivery status. 
     846     * @param reason        Delivery status reason. 
     847     * @param rdata         The incoming MESSAGE response, or NULL if the 
     848     *                      message transaction fails because of time out  
     849     *                      or transport error. 
     850     */ 
     851    void (*on_pager_status2)(pjsua_call_id call_id, 
     852                             const pj_str_t *to, 
     853                             const pj_str_t *body, 
     854                             void *user_data, 
     855                             pjsip_status_code status, 
     856                             const pj_str_t *reason, 
     857                             pjsip_rx_data *rdata); 
    832858 
    833859    /** 
Note: See TracChangeset for help on using the changeset viewer.