summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2017-11-26 12:03:06 +0100
committerGitHub <noreply@github.com>2017-11-26 12:03:06 +0100
commita00e899482c630bf489fe5692a1168ead20965bb (patch)
treeebc1a94f401a558a5f8c49aee5cf0f958d53a039 /src/gui
parentab0b77821543b5b35d65792fbf44cd7acb4f8475 (diff)
parent02b644ee4779a46bb4224d61ecd908cd2f04b483 (diff)
downloadtwinkle-a00e899482c630bf489fe5692a1168ead20965bb.tar
twinkle-a00e899482c630bf489fe5692a1168ead20965bb.tar.gz
twinkle-a00e899482c630bf489fe5692a1168ead20965bb.tar.lz
twinkle-a00e899482c630bf489fe5692a1168ead20965bb.tar.xz
twinkle-a00e899482c630bf489fe5692a1168ead20965bb.zip
Merge pull request #94 from gwozniak/master
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>