Changeset 283 for pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
- Timestamp:
- Mar 5, 2006 11:53:36 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
r223 r283 170 170 pj_pool_t *pool; /**< Dialog's pool. */ 171 171 pjsip_inv_state state; /**< Invite sess state. */ 172 pjsip_status_code cause; /**< Disconnect cause. */ 173 pj_bool_t notify; /**< Internal. */ 172 174 pjsip_dialog *dlg; /**< Underlying dialog. */ 173 175 pjsip_role_e role; /**< Invite role. */ … … 331 333 unsigned options, 332 334 pjsip_inv_session **p_inv); 335 336 337 /** 338 * Forcefully terminate and destroy INVITE session, regardless of 339 * the state of the session. Note that this function should only be used 340 * when there is failure in the INVITE session creation. After the 341 * invite session has been created and initialized, normally application 342 * SHOULD use #pjsip_inv_end_session() to end the INVITE session instead. 343 * 344 * Note also that this function may terminate the underlying dialog, if 345 * there are no other sessions in the dialog. 346 * 347 * @param inv The invite session. 348 * @param st_code Status code for the reason of the termination. 349 * @param notify If set to non-zero, then on_state_changed() 350 * callback will be called. 351 * 352 * @return PJ_SUCCESS if the INVITE session has been 353 * terminated. 354 */ 355 PJ_DECL(pj_status_t) pjsip_inv_terminate( pjsip_inv_session *inv, 356 int st_code, 357 pj_bool_t notify ); 333 358 334 359
Note: See TracChangeset
for help on using the changeset viewer.