From eb5756d2c401568e24c448776cc1a914b57b80b0 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 10 Dec 2008 16:54:16 +0000 Subject: Ticket #672: Option to add custom parameters in the account Contact URI git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2373 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pjsip/include') diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 74cbffec..c8073e70 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -2130,6 +2130,18 @@ typedef struct pjsua_acc_config */ pj_str_t force_contact; + /** + * Additional URI parameters that will be appended in the Contact header + * for this account. This will affect the Contact header in all SIP + * messages sent on behalf of this account, including but not limited to + * REGISTER, INVITE, and SUBCRIBE requests or responses. + * + * The parameters should be preceeded by semicolon, and all strings must + * be properly escaped. Example: + * ";my-param=X;another-param=Hi%20there" + */ + pj_str_t contact_params; + /** * Specify whether support for reliable provisional response (100rel and * PRACK) should be required for all sessions of this account. -- cgit v1.2.3