summaryrefslogtreecommitdiffstats
path: root/src/user.h
diff options
context:
space:
mode:
authorGrzegorz Woźniak <grzegorz.wozniak@ailleron.com>2017-04-13 01:18:21 +0200
committerGrzegorz Woźniak <grzegorz.wozniak@ailleron.com>2017-04-13 01:18:21 +0200
commit02b644ee4779a46bb4224d61ecd908cd2f04b483 (patch)
tree85c2307a30294de27e5dd103c6e3e85b4c94b9f6 /src/user.h
parentc512a2a588a044b37782e43223b49093f998c6e8 (diff)
downloadtwinkle-02b644ee4779a46bb4224d61ecd908cd2f04b483.tar
twinkle-02b644ee4779a46bb4224d61ecd908cd2f04b483.tar.gz
twinkle-02b644ee4779a46bb4224d61ecd908cd2f04b483.tar.lz
twinkle-02b644ee4779a46bb4224d61ecd908cd2f04b483.tar.xz
twinkle-02b644ee4779a46bb4224d61ecd908cd2f04b483.zip
PAI Header option
Diffstat (limited to 'src/user.h')
-rw-r--r--src/user.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/user.h b/src/user.h
index df1fd0d..93921c4 100644
--- a/src/user.h
+++ b/src/user.h
@@ -359,6 +359,13 @@ private:
bool send_p_preferred_id;
//@}
+ /** @name Privacy options */
+ //@{
+ // Send P-Assrted-Identity header in initial INVITE when hiding
+ // user identity.
+ bool send_p_asserted_id;
+ //@}
+
/** @name Transport */
//@{
/** SIP transport protocol */
@@ -620,6 +627,7 @@ public:
bool get_attended_refer_to_aor(void) const;
bool get_allow_transfer_consultation_inprog(void) const;
bool get_send_p_preferred_id(void) const;
+ bool get_send_p_asserted_id(void) const;
t_sip_transport get_sip_transport(void) const;
unsigned short get_sip_transport_udp_threshold(void) const;
bool get_use_nat_public_ip(void) const;
@@ -738,6 +746,7 @@ public:
void set_attended_refer_to_aor(bool b);
void set_allow_transfer_consultation_inprog(bool b);
void set_send_p_preferred_id(bool b);
+ void set_send_p_asserted_id(bool b);
void set_sip_transport(t_sip_transport transport);
void set_sip_transport_udp_threshold(unsigned short threshold);
void set_use_nat_public_ip(bool b);