From d0c5ad00ee36fb9c0922734dbba059d69b9830dd Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Wed, 5 Aug 2009 18:41:23 +0000 Subject: Ticket #930: - Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI). - Updated docs related to above modifications. - Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2855 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pjsip/include/pjsua-lib/pjsua.h') diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 023acb6b..e06019d9 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -2163,11 +2163,11 @@ PJ_DECL(pj_status_t) pjsua_acc_create_request(pjsua_acc_id acc_id, /** - * Create a suitable URI to be put as Contact based on the specified - * target URI for the specified account. + * Create a suitable Contact header value, based on the specified target URI + * for the specified account. * * @param pool Pool to allocate memory for the string. - * @param contact The string where the Contact URI will be stored. + * @param contact The string where the Contact will be stored. * @param acc_id Account ID. * @param uri Destination URI of the request. * @@ -2181,11 +2181,11 @@ PJ_DECL(pj_status_t) pjsua_acc_create_uac_contact( pj_pool_t *pool, /** - * Create a suitable URI to be put as Contact based on the information - * in the incoming request. + * Create a suitable Contact header value, based on the information in the + * incoming request. * * @param pool Pool to allocate memory for the string. - * @param contact The string where the Contact URI will be stored. + * @param contact The string where the Contact will be stored. * @param acc_id Account ID. * @param rdata Incoming request. * -- cgit v1.2.3