Add tx_data in the new on_pager_status2() callback

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1367 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2007-06-12 16:22:09 +00:00
parent 853ab8108e
commit 0a98200d0b
2 changed files with 3 additions and 0 deletions

View file

@ -844,6 +844,7 @@ typedef struct pjsua_callback
* IM message.
* @param status Delivery status.
* @param reason Delivery status reason.
* @param tdata The original MESSAGE request.
* @param rdata The incoming MESSAGE response, or NULL if the
* message transaction fails because of time out
* or transport error.
@ -854,6 +855,7 @@ typedef struct pjsua_callback
void *user_data,
pjsip_status_code status,
const pj_str_t *reason,
pjsip_tx_data *tdata,
pjsip_rx_data *rdata);
/**

View file

@ -377,6 +377,7 @@ static void im_callback(void *token, pjsip_event *e)
(pjsip_status_code)
tsx->status_code,
&tsx->status_text,
tsx->last_tx,
rdata);
}
}