Summary: | ASTERISK-22284: chan_pjsip tests: Implement off-nominal outgoing call tests | ||
Reporter: | Matt Jordan (mjordan) | Labels: | Asterisk12 |
Date Opened: | 2013-08-12 10:21:16 | Date Closed: | 2013-09-09 17:19:48 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Tests/testsuite |
Versions: | 12 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. | ||
Comments: | By: John Bigelow (jbigelow) 2013-09-09 17:19:38.221-0500 Committed in revision 4137 |