Changeset 879 for pjproject/trunk/pjsip/include/pjsip/sip_dialog.h
- Timestamp:
- Jan 12, 2007 6:37:35 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_dialog.h
r729 r879 29 29 #include <pjsip/sip_auth.h> 30 30 #include <pjsip/sip_errno.h> 31 #include <pjsip/sip_transport.h> 31 32 #include <pj/sock.h> 32 33 #include <pj/assert.h> … … 135 136 int tsx_count; /**< Number of pending transactions. */ 136 137 138 /** Transport selector. */ 139 pjsip_tpselector tp_sel; 140 137 141 /* Dialog usages. */ 138 142 unsigned usage_cnt; /**< Number of registered usages. */ … … 225 229 226 230 /** 231 * Lock/bind dialog to a specific transport/listener. This is optional, 232 * as normally transport will be selected automatically based on the 233 * destination of requests upon resolver completion. When the dialog is 234 * explicitly bound to the specific transport/listener, all UAC transactions 235 * originated by this dialog will use the specified transport/listener 236 * when sending outgoing requests. 237 * 238 * Note that this doesn't affect the Contact header generated by this 239 * dialog. Application must manually update the Contact header if 240 * necessary, to adjust the address according to the transport being 241 * selected. 242 * 243 * @param dlg The dialog instance. 244 * @param sel Transport selector containing the specification of 245 * transport or listener to be used by this dialog 246 * to send requests. 247 * 248 * @return PJ_SUCCESS on success, or the appropriate error code. 249 */ 250 PJ_DECL(pj_status_t) pjsip_dlg_set_transport(pjsip_dialog *dlg, 251 const pjsip_tpselector *sel); 252 253 254 /** 227 255 * Create a new (forked) dialog on receipt on forked response in rdata. 228 256 * The new dialog will be created from original_dlg, except that it will have
Note: See TracChangeset
for help on using the changeset viewer.