summaryrefslogtreecommitdiffstats
path: root/src/gui
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/gui
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/gui')
-rw-r--r--src/gui/userprofileform.cpp2
-rw-r--r--src/gui/userprofileform.ui14
2 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp
index f20a0d9..28700a6 100644
--- a/src/gui/userprofileform.cpp
+++ b/src/gui/userprofileform.cpp
@@ -542,6 +542,7 @@ void UserProfileForm::populate()
transferConsultInprogCheckBox->setChecked(
current_profile->get_allow_transfer_consultation_inprog());
pPreferredIdCheckBox->setChecked(current_profile->get_send_p_preferred_id());
+ pAssertedIdCheckBox->setChecked(current_profile->get_send_p_asserted_id());
// Transport/NAT
switch (current_profile->get_sip_transport()) {
@@ -1163,6 +1164,7 @@ bool UserProfileForm::validateValues()
current_profile->set_allow_transfer_consultation_inprog(
transferConsultInprogCheckBox->isChecked());
current_profile->set_send_p_preferred_id(pPreferredIdCheckBox->isChecked());
+ current_profile->set_send_p_asserted_id(pAssertedIdCheckBox->isChecked());
// Transport/NAT
switch (sipTransportComboBox->currentIndex()) {
diff --git a/src/gui/userprofileform.ui b/src/gui/userprofileform.ui
index 61fe2da..4a11efa 100644
--- a/src/gui/userprofileform.ui
+++ b/src/gui/userprofileform.ui
@@ -2647,6 +2647,19 @@ This format is what most SIP phones use.
</property>
</widget>
</item>
+ <item>
+ <widget class="QCheckBox" name="pAssertedIdCheckBox">
+ <property name="whatsThis">
+ <string>Include a P-Asserted-Identity header with your identity in an INVITE request for a call with identity hiding.</string>
+ </property>
+ <property name="text">
+ <string>&amp;Send P-Asserted-Identity header when hiding user identity</string>
+ </property>
+ <property name="shortcut">
+ <string>Alt+A</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
@@ -4761,6 +4774,7 @@ Sollicited message waiting indication as specified by RFC 3842.
<tabstop>refreshReferSubCheckBox</tabstop>
<tabstop>referAorCheckBox</tabstop>
<tabstop>pPreferredIdCheckBox</tabstop>
+ <tabstop>pAssertedIdCheckBox</tabstop>
<tabstop>sipTransportComboBox</tabstop>
<tabstop>udpThresholdSpinBox</tabstop>
<tabstop>displayTelUserCheckBox</tabstop>