summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-06-08 04:37:05 +0000
committerBenny Prijono <bennylp@teluu.com>2007-06-08 04:37:05 +0000
commit1839d1e61141663f678b1de1f5a04fb1a4fa97e0 (patch)
tree8ede4756bcde6f05bd8c55e22844881aaa4952a7 /pjsip/include/pjsua-lib
parentc76403cbc3eef052a3499d2ccf86a9ef9bb4ea33 (diff)
Fixed ticket #327: SIPS URI in Contact header generated by pjsua causing problems with OpenSER
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1353 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib')
-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 0b421046..b560fca1 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1744,6 +1744,16 @@ PJ_DECL(pj_status_t) pjsua_transport_close( pjsua_transport_id id,
/**
+ * This macro specifies the URI scheme to use in Contact header
+ * when secure transport such as TLS is used. Application can specify
+ * either "sip" or "sips".
+ */
+#ifndef PJSUA_SECURE_SCHEME
+# define PJSUA_SECURE_SCHEME "sips"
+#endif
+
+
+/**
* This structure describes account configuration to be specified when
* adding a new account with #pjsua_acc_add(). Application MUST initialize
* this structure first by calling #pjsua_acc_config_default().