summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-09-20 12:16:56 +0000
committerBenny Prijono <bennylp@teluu.com>2008-09-20 12:16:56 +0000
commit643ea6e515fc75d19cd3f0a6dbdb00ac2b2fd167 (patch)
tree0d7508f215d2622f41a257040dcb63e1e64f2e57 /pjsip/include/pjsua-lib/pjsua.h
parent7542c4898053f6c15ac58f146f2852e59e592503 (diff)
Ticket #611: Configuration option to force the route URI to use loose routing
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2301 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index f8801776..e377e059 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1115,6 +1115,16 @@ typedef struct pjsua_config
pj_str_t nameserver[4];
/**
+ * Force loose-route to be used in all route/proxy URIs (outbound_proxy
+ * and account's proxy settings). When this setting is enabled, the
+ * library will check all the route/proxy URIs specified in the settings
+ * and append ";lr" parameter to the URI if the parameter is not present.
+ *
+ * Default: 1
+ */
+ pj_bool_t force_lr;
+
+ /**
* Number of outbound proxies in the \a outbound_proxy array.
*/
unsigned outbound_proxy_cnt;