[Asterisk-code-review] pjsip/dtmf info fallback: Test fails when connected line upd... (testsuite[16])
Kevin Harwell
asteriskteam at digium.com
Tue Sep 11 16:36:04 CDT 2018
Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/10083
Change subject: pjsip/dtmf_info_fallback: Test fails when connected line update is sent
......................................................................
pjsip/dtmf_info_fallback: Test fails when connected line update is sent
If the timing was right then Asterisk would send an unexpected connected line
INVITE udpate, which would then fail the test.
This patch disables 'send_pai' since it's not needed for the test. Thus making
it so the connected line update will never be sent.
Change-Id: I1e11131e0200b073c22c9fe44bef49ba56d5d4e6
---
M tests/channels/pjsip/dtmf_info_fallback/configs/ast1/pjsip.conf
1 file changed, 6 insertions(+), 28 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/83/10083/1
diff --git a/tests/channels/pjsip/dtmf_info_fallback/configs/ast1/pjsip.conf b/tests/channels/pjsip/dtmf_info_fallback/configs/ast1/pjsip.conf
index 74719a5..344e2a5 100644
--- a/tests/channels/pjsip/dtmf_info_fallback/configs/ast1/pjsip.conf
+++ b/tests/channels/pjsip/dtmf_info_fallback/configs/ast1/pjsip.conf
@@ -7,41 +7,19 @@
protocol = udp
bind = 0.0.0.0:5060
-[alice]
+[endpoint](!)
type = endpoint
-context = default
dtmf_mode = auto_info
-disallow = all
-allow = alaw
-allow = ulaw
-allow = g729
-allow = h263p
-allow = h264
+allow = !all,ulaw
direct_media = no
-send_rpid = yes
-sdp_session = session
-t38_udptl = yes
-t38_udptl_ec = redundancy
+
+[alice](endpoint)
[bob]
type = aor
-max_contacts=1
+max_contacts = 1
contact = sip:127.0.0.1:5062
-[bob]
-type = endpoint
-context = default
-dtmf_mode = auto_info
-disallow = all
-allow = alaw
-allow = ulaw
-allow = g729
-allow = h263p
-allow = h264
-direct_media = no
-send_rpid = yes
-sdp_session = session
+[bob](endpoint)
aors = bob
-t38_udptl = yes
-t38_udptl_ec = redundancy
--
To view, visit https://gerrit.asterisk.org/10083
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e11131e0200b073c22c9fe44bef49ba56d5d4e6
Gerrit-Change-Number: 10083
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180911/2707734b/attachment.html>
More information about the asterisk-code-review
mailing list