[Asterisk-code-review] bob does not exist: Set originate timeout to longer than SIP... (testsuite[master])
Richard Mudgett
asteriskteam at digium.com
Tue Oct 13 18:00:14 CDT 2015
Richard Mudgett has uploaded a new change for review.
https://gerrit.asterisk.org/1436
Change subject: bob_does_not_exist: Set originate timeout to longer than SIP Timer B.
......................................................................
bob_does_not_exist: Set originate timeout to longer than SIP Timer B.
Fix the test to actually test that cleanup happens when SIP Timer B
expires.
Change-Id: I15c3e533adbc84e1c422c394fb5049e6d1496313
---
M tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
1 file changed, 19 insertions(+), 5 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/36/1436/1
diff --git a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
index 3cc01c3..3ce58d7 100644
--- a/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
+++ b/tests/channels/pjsip/basic_calls/outgoing/off-nominal/bob_does_not_exist/test-config.yaml
@@ -4,7 +4,7 @@
'Run one instance of Asterisk ("UUT") and originate an outgoing call to
SIPp ("Bob"). Bob does not respond to the INVITE. This ensures that
Asterisk tears down the calls after the default value of timer B
- expires. This is performed using ipv4/ipv6 & udp/tcp.'
+ (32 seconds) expires. This is performed using ipv4/ipv6 & udp/tcp.'
test-modules:
test-object:
@@ -47,6 +47,7 @@
context: 'default'
exten: 'playback'
priority: '1'
+ timeout: 40
async: 'True'
originator-config-ipv4-tcp:
@@ -58,6 +59,7 @@
context: 'default'
exten: 'playback'
priority: '1'
+ timeout: 40
async: 'True'
originator-config-ipv6-udp:
@@ -69,6 +71,7 @@
context: 'default'
exten: 'playback'
priority: '1'
+ timeout: 40
async: 'True'
originator-config-ipv6-tcp:
@@ -80,6 +83,7 @@
context: 'default'
exten: 'playback'
priority: '1'
+ timeout: 40
async: 'True'
ami-config:
@@ -92,7 +96,7 @@
UserEvent: 'DIALSTATUS'
requirements:
match:
- Result: 'CANCEL'
+ Result: 'CHANUNAVAIL'
count: '4'
-
ami-events:
@@ -122,18 +126,28 @@
Channel: 'PJSIP/bob-*'
requirements:
match:
- Cause: '0'
+ Cause: '18'
count: '4'
-
ami-events:
conditions:
match:
Event: 'Hangup'
- Channel: 'Local/bob-*'
+ Channel: 'Local/bob-.*;2'
+ requirements:
+ match:
+ Cause: '34'
+ count: '4'
+ -
+ ami-events:
+ conditions:
+ match:
+ Event: 'Hangup'
+ Channel: 'Local/bob-.*;1'
requirements:
match:
Cause: '0'
- count: '8'
+ count: '4'
stop_test:
properties:
--
To view, visit https://gerrit.asterisk.org/1436
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I15c3e533adbc84e1c422c394fb5049e6d1496313
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list