Ignore:
Timestamp:
May 21, 2007 1:48:35 PM (17 years ago)
Author:
bennylp
Message:

Ticket #283: Added another pjsua IM callback with the message passed as argument (thanks Paul Levin)

File:
1 edited

Legend:

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

    r1210 r1285  
    749749     * existing call. 
    750750     * 
     751     * See also \a on_pager2() callback for the version with \a pjsip_rx_data 
     752     * passed as one of the argument. 
     753     * 
    751754     * @param call_id       Containts the ID of the call where the IM was 
    752755     *                      sent, or PJSUA_INVALID_ID if the IM was sent 
     
    774777                     const pj_str_t *to, const pj_str_t *contact, 
    775778                     const pj_str_t *mime_type, const pj_str_t *body); 
     779 
     780    /** 
     781     * This is the alternative version of the \a on_pager() callback with 
     782     * \a pjsip_rx_data argument. 
     783     * 
     784     * @param call_id       Containts the ID of the call where the IM was 
     785     *                      sent, or PJSUA_INVALID_ID if the IM was sent 
     786     *                      outside call context. 
     787     * @param from          URI of the sender. 
     788     * @param to            URI of the destination message. 
     789     * @param contact       The Contact URI of the sender, if present. 
     790     * @param mime_type     MIME type of the message. 
     791     * @param body          The message content. 
     792     * @param rdata         The incoming MESSAGE request. 
     793     */ 
     794    void (*on_pager2)(pjsua_call_id call_id, const pj_str_t *from, 
     795                      const pj_str_t *to, const pj_str_t *contact, 
     796                      const pj_str_t *mime_type, const pj_str_t *body, 
     797                      pjsip_rx_data *rdata); 
    776798 
    777799    /** 
Note: See TracChangeset for help on using the changeset viewer.