[Asterisk-code-review] user_eq_phone: Add privacy headers to test (testsuite[16])

Michael Bradeen asteriskteam at digium.com
Mon Aug 15 14:31:27 CDT 2022


Michael Bradeen has uploaded this change for review. ( https://gerrit.asterisk.org/c/testsuite/+/18972 )


Change subject: user_eq_phone: Add privacy headers to test
......................................................................

user_eq_phone: Add privacy headers to test

In order to test that the user=phone flag is being added correctly, we
need to send a non-anonymous invite with send privacy flags enabled.

ASTERISK-30178

Change-Id: I0f3cff8f6a443229718b635d20c53273c06797a4
---
M tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf
M tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf
2 files changed, 4 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/72/18972/1

diff --git a/tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf b/tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf
index e857f91..0ee8e0f 100644
--- a/tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf
+++ b/tests/channels/pjsip/user_eq_phone/configs/ast1/extensions.conf
@@ -1,5 +1,7 @@
 [default]
 
 exten => s,1,NoOp()
+ same => n,Set(CALLERID(num)=5550113)
+ same => n,Set(CALLERID(name)=Homer)
  same => n,Dial(PJSIP/+12568675309 at jenny)
  same => n,Hangup()
diff --git a/tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf b/tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf
index f810a59..1e77193 100644
--- a/tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf
+++ b/tests/channels/pjsip/user_eq_phone/configs/ast1/pjsip.conf
@@ -14,6 +14,8 @@
 allow=!all,ulaw,alaw,g722
 user_eq_phone=yes
 aors=jenny
+send_pai=yes
+send_rpid=yes
 
 [jenny]
 type=aor

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/18972
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I0f3cff8f6a443229718b635d20c53273c06797a4
Gerrit-Change-Number: 18972
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220815/d7c1a2c2/attachment.html>


More information about the asterisk-code-review mailing list