Changeset 2371 for pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
- Timestamp:
- Nov 27, 2008 12:42:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
r2370 r2371 231 231 * @param inv The invite session. 232 232 * @param target The current target to be tried. 233 * @param cmd Action to be performed for the target. Set this 233 * @param e The event that caused this callback to be called. 234 * This could be the receipt of 3xx response, or 235 * 4xx/5xx response received for the INVITE sent to 236 * subsequent targets, or NULL if this callback is 237 * called from within #pjsip_inv_process_redirect() 238 * context. 239 * 240 * @return Action to be performed for the target. Set this 234 241 * parameter to one of the value below: 235 242 * - PJSIP_REDIRECT_ACCEPT: immediately accept the 236 * redirection (default value). When set, the243 * redirection to this target. When set, the 237 244 * session will immediately resend INVITE request 238 * to the target .245 * to the target after this callback returns. 239 246 * - PJSIP_REDIRECT_REJECT: immediately reject this 240 247 * target. The session will continue retrying with … … 252 259 * to either accept or reject the redirection upon 253 260 * getting user decision. 254 * @param e The event that caused this callback to be called. 255 * This could be the receipt of 3xx response, or 256 * 4xx/5xx response received for the INVITE sent to 257 * subsequent targets, or NULL if this callback is 258 * called from within #pjsip_inv_process_redirect() 259 * context. 260 */ 261 void (*on_redirected)(pjsip_inv_session *inv, const pjsip_uri *target, 262 pjsip_redirect_op *cmd, const pjsip_event *e); 261 */ 262 pjsip_redirect_op (*on_redirected)(pjsip_inv_session *inv, 263 const pjsip_uri *target, 264 const pjsip_event *e); 263 265 264 266 } pjsip_inv_callback;
Note: See TracChangeset
for help on using the changeset viewer.