diff options
Diffstat (limited to 'pjsip/include/pjsip-ua/sip_regc.h')
-rw-r--r-- | pjsip/include/pjsip-ua/sip_regc.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pjsip/include/pjsip-ua/sip_regc.h b/pjsip/include/pjsip-ua/sip_regc.h index 99a08a48..12959916 100644 --- a/pjsip/include/pjsip-ua/sip_regc.h +++ b/pjsip/include/pjsip-ua/sip_regc.h @@ -141,7 +141,7 @@ PJ_DECL(pj_status_t) pjsip_regc_init(pjsip_regc *regc, /** * Set authentication credentials to use by this registration. * - * @param dlg The registration structure. + * @param regc The registration structure. * @param count Number of credentials in the array. * @param cred Array of credentials. * @@ -152,6 +152,17 @@ PJ_DECL(pj_status_t) pjsip_regc_set_credentials( pjsip_regc *regc, const pjsip_cred_info cred[] ); /** + * Set route set to be used for outgoing requests. + * + * @param regc The client registration structure. + * @param route_set List containing Route headers. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjsip_regc_set_route_set(pjsip_regc *regc, + const pjsip_route_hdr*route_set); + +/** * Create REGISTER request for the specified client registration structure. * * After successfull registration, application can inspect the contacts in |