- Timestamp:
- Feb 2, 2006 9:17:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_dialog.h
r127 r133 126 126 * local Contact to contact. If contact is not specified, the local contact 127 127 * is initialized from the URI in the To header in the request. 128 * 129 * This function will also create UAS transaction for the incoming request, 130 * and associate the transaction to the rdata. Application can query the 131 * transaction used to handle this request by calling #pjsip_rdata_get_tsx() 132 * after this function returns. 128 133 * 129 134 * Note that initially, the session count in the dialog will be initialized … … 301 306 302 307 308 /** 309 * This composite function sends response message statefully to an incoming 310 * request message. 311 * 312 * @param endpt The endpoint instance. 313 * @param rdata The incoming request message. 314 * @param st_code Status code of the response. 315 * @param st_text Optional status text of the response. 316 * @param hdr_list Optional header list to be added to the response. 317 * @param body Optional message body to be added to the response. 318 * 319 * @return PJ_SUCCESS if response message has successfully been 320 * sent. 321 */ 322 PJ_DECL(pj_status_t) pjsip_dlg_respond( pjsip_dialog *dlg, 323 pjsip_rx_data *rdata, 324 int st_code, 325 const pj_str_t *st_text); 326 327 /* 328 * Internal (called by sip_ua_layer.c) 329 */ 303 330 304 331 /* Receives transaction event (called by user_agent module) */
Note: See TracChangeset
for help on using the changeset viewer.