summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
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>