Changeset 1285 for pjproject/trunk
- Timestamp:
- May 21, 2007 1:48:35 PM (18 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1210 r1285 749 749 * existing call. 750 750 * 751 * See also \a on_pager2() callback for the version with \a pjsip_rx_data 752 * passed as one of the argument. 753 * 751 754 * @param call_id Containts the ID of the call where the IM was 752 755 * sent, or PJSUA_INVALID_ID if the IM was sent … … 774 777 const pj_str_t *to, const pj_str_t *contact, 775 778 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); 776 798 777 799 /** -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
r1276 r1285 210 210 &mime_type, &text_body); 211 211 } 212 } 213 212 213 if (pjsua_var.ua_cfg.cb.on_pager2) { 214 (*pjsua_var.ua_cfg.cb.on_pager2)(call_id, from, to, &contact, 215 &mime_type, &text_body, rdata); 216 } 217 } 214 218 } 215 219
Note: See TracChangeset
for help on using the changeset viewer.