[asterisk-bugs] [JIRA] (ASTERISK-22287) chan_pjsip tests: Implement off-nominal outgoing call tests
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Aug 12 10:25:06 CDT 2013
Matt Jordan created ASTERISK-22287:
--------------------------------------
Summary: chan_pjsip tests: Implement off-nominal outgoing call tests
Key: ASTERISK-22287
URL: https://issues.asterisk.org/jira/browse/ASTERISK-22287
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Tests/testsuite
Affects Versions: 12
Reporter: Matt Jordan
h3. Off-nominal Tests
h4. Test 1: Bob does not exist
Procedure:
* Remove Bob from the network.
* Originate a call from Asterisk to Bob.
Pass Conditions:
* Ensure that Asterisk tears down the created session properly after timer B expires (32 seconds by default)
h4. Test 2: Bob does not answer
Procedure:
* Originate a call from Asterisk to Bob.
* Bob rings but never answers the phone.
Pass Conditions:
* Ensure that Asterisk cancels the outgoing call after the Dial timeout is reached.
h4. Test 3: Bob is busy
Procedure:
* Originate a call from Asterisk to Bob.
* Bob responds with a busy response.
Pass Conditions:
* Ensure that Asterisk receives the 486 from Bob and ACKs it.
* Ensure that this results in the outgoing session being destroyed.
h4. Test 4: Call abandoned
Procedure:
* Originate a call from Asterisk to Bob.
* Hang up the outbound call before Bob answers.
Pass Conditions:
* Ensure that Asterisk sends a CANCEL to Bob.
* Ensure that this results in the outgoing session being destroyed.
h4. Test 5: Bob is incompatible
Procedure:
* Originate a call from Asterisk to Bob.
* Bob answers the call but with codecs that are incompatible with what we offered.
Pass Conditions:
* Ensure that Asterisk sends an immediate BYE after ACKing the 200 OK from Bob.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list