<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/9788">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Benjamin Keith Ford: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fax/pjsip/t38_fast_reject: Fix logs left in testsuite tree<br><br>We don't need to pollute the testsuite tree with log files that are not<br>needed.<br><br>In run-test:<br>* Don't generate log files that are not needed.<br>* Fix to use a temp file out of the testsuite tree on the only SIPp log<br>file needed so it is not left in the testsuite tree.<br>* Fixed PEP8 errors<br><br>In A_PARTY.xml<br>* Removed extra optional recv 100 msgs.<br>* Fixed indention<br><br>In B_PARTY.xml<br>* Fix <CR><LF> line endings to <LF>.<br>* Fixed indention<br><br>In check_reinvite_rtt.py:<br>* Fixed type mismatch error when a slow 488 T.38 rejection is detected.<br>* Fixed PEP8 errors<br><br>Change-Id: Ic8e4d71f841627479c943c3b8a25e4776534258d<br>---<br>M tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py<br>M tests/fax/pjsip/t38_fast_reject/run-test<br>M tests/fax/pjsip/t38_fast_reject/sipp/A_PARTY.xml<br>M tests/fax/pjsip/t38_fast_reject/sipp/B_PARTY.xml<br>M tests/fax/pjsip/t38_fast_reject/test-config.yaml<br>5 files changed, 236 insertions(+), 261 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py b/tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py</span><br><span>index c67da51..3cd087a 100755</span><br><span>--- a/tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py</span><br><span>+++ b/tests/fax/pjsip/t38_fast_reject/check_reinvite_rtt.py</span><br><span>@@ -8,17 +8,17 @@</span><br><span> with open(sys.argv[1]) as csvfile:</span><br><span> reader = csv.DictReader(csvfile, delimiter=';')</span><br><span> for row in reader:</span><br><span style="color: hsl(0, 100%, 40%);">- if not row.has_key('ResponseTimereinvite(P)'):</span><br><span style="color: hsl(120, 100%, 40%);">+ if 'ResponseTimereinvite(P)' not in row:</span><br><span> print "column not found! make sure scenario is correct!\n"</span><br><span style="color: hsl(0, 100%, 40%);">- exit(-1);</span><br><span style="color: hsl(120, 100%, 40%);">+ exit(-1)</span><br><span> parts = regex.match(row['ResponseTimereinvite(P)'])</span><br><span> hours = int(parts.group(1))</span><br><span> minutes = (hours * 60) + int(parts.group(2))</span><br><span> seconds = (minutes * 60) + int(parts.group(3))</span><br><span> milliseconds = (seconds * 1000) + int(parts.group(4))</span><br><span> if (milliseconds > 500):</span><br><span style="color: hsl(0, 100%, 40%);">- print "Slow 488 Rejection detected (" + milliseconds + ")!\n";</span><br><span style="color: hsl(120, 100%, 40%);">+ print "Slow 488 Rejection detected (" + str(milliseconds) + " ms)!\n"</span><br><span> exit(-2)</span><br><span> </span><br><span> csvfile.close()</span><br><span style="color: hsl(0, 100%, 40%);">-exit(0)</span><br><span>\ No newline at end of file</span><br><span style="color: hsl(120, 100%, 40%);">+exit(0)</span><br><span>diff --git a/tests/fax/pjsip/t38_fast_reject/run-test b/tests/fax/pjsip/t38_fast_reject/run-test</span><br><span>index 7db6898..72e9693 100755</span><br><span>--- a/tests/fax/pjsip/t38_fast_reject/run-test</span><br><span>+++ b/tests/fax/pjsip/t38_fast_reject/run-test</span><br><span>@@ -21,6 +21,7 @@</span><br><span> </span><br><span> sys.path.append("lib/python")</span><br><span> sys.path.append("utils")</span><br><span style="color: hsl(120, 100%, 40%);">+from tempfile import NamedTemporaryFile</span><br><span> from asterisk.asterisk import Asterisk</span><br><span> from asterisk.sipp import SIPpTest</span><br><span> </span><br><span>@@ -29,53 +30,42 @@</span><br><span> TEST_DIR = os.path.dirname(os.path.realpath(__file__))</span><br><span> </span><br><span> e164 = "3200000000"</span><br><span style="color: hsl(0, 100%, 40%);">-sippA_logfile = WORKING_DIR + "/A_PARTY.log"</span><br><span style="color: hsl(0, 100%, 40%);">-sippA_errfile = WORKING_DIR + "/A_PARTY_ERR.log"</span><br><span style="color: hsl(0, 100%, 40%);">-sippA_statfile = WORKING_DIR + "/A_PARTY_STAT.log"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-sippB_logfile = WORKING_DIR + "/B_PARTY.log"</span><br><span style="color: hsl(0, 100%, 40%);">-sippB_errfile = WORKING_DIR + "/B_PARTY_ERR.log"</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-SIPP_SCENARIOS = [</span><br><span style="color: hsl(0, 100%, 40%);">- {</span><br><span style="color: hsl(0, 100%, 40%);">- 'scenario' : 'B_PARTY.xml',</span><br><span style="color: hsl(0, 100%, 40%);">- '-i' : '127.0.0.1',</span><br><span style="color: hsl(0, 100%, 40%);">- '-p' : '5700',</span><br><span style="color: hsl(0, 100%, 40%);">- '-message_file' : sippB_logfile,</span><br><span style="color: hsl(0, 100%, 40%);">- '-error_file' : sippB_errfile,</span><br><span style="color: hsl(0, 100%, 40%);">- '-trace_msg' : '-trace_err',</span><br><span style="color: hsl(0, 100%, 40%);">- },</span><br><span style="color: hsl(0, 100%, 40%);">- {</span><br><span style="color: hsl(0, 100%, 40%);">- 'scenario' : 'A_PARTY.xml',</span><br><span style="color: hsl(0, 100%, 40%);">- '-i' : '127.0.0.1',</span><br><span style="color: hsl(0, 100%, 40%);">- '-p' : '5061',</span><br><span style="color: hsl(0, 100%, 40%);">- '-m' : '1',</span><br><span style="color: hsl(0, 100%, 40%);">- '-s' : e164,</span><br><span style="color: hsl(0, 100%, 40%);">- '-message_file' : sippA_logfile,</span><br><span style="color: hsl(0, 100%, 40%);">- '-error_file' : sippA_errfile,</span><br><span style="color: hsl(0, 100%, 40%);">- '-trace_msg' : '-trace_err',</span><br><span style="color: hsl(0, 100%, 40%);">- '-trace_stat' : '-trace_stat',</span><br><span style="color: hsl(0, 100%, 40%);">- '-stf' : sippA_statfile,</span><br><span style="color: hsl(0, 100%, 40%);">- }</span><br><span style="color: hsl(0, 100%, 40%);">-]</span><br><span> </span><br><span> def main():</span><br><span style="color: hsl(120, 100%, 40%);">+ sippA_statfile = NamedTemporaryFile(delete=True)</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIPP_SCENARIOS = [</span><br><span style="color: hsl(120, 100%, 40%);">+ {</span><br><span style="color: hsl(120, 100%, 40%);">+ 'scenario': 'B_PARTY.xml',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-i': '127.0.0.1',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-p': '5700',</span><br><span style="color: hsl(120, 100%, 40%);">+ },</span><br><span style="color: hsl(120, 100%, 40%);">+ {</span><br><span style="color: hsl(120, 100%, 40%);">+ 'scenario': 'A_PARTY.xml',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-i': '127.0.0.1',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-p': '5061',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-m': '1',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-s': e164,</span><br><span style="color: hsl(120, 100%, 40%);">+ '-trace_stat': '-trace_stat',</span><br><span style="color: hsl(120, 100%, 40%);">+ '-stf': sippA_statfile.name,</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span style="color: hsl(120, 100%, 40%);">+ ]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> test = SIPpTest(WORKING_DIR, TEST_DIR, SIPP_SCENARIOS)</span><br><span style="color: hsl(0, 100%, 40%);">- test.reactor_timeout = 100;</span><br><span style="color: hsl(120, 100%, 40%);">+ test.reactor_timeout = 100</span><br><span> </span><br><span> reactor.run()</span><br><span> </span><br><span> if not test.passed:</span><br><span> return 1</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ret_A = subprocess.call([WORKING_DIR + "/check_reinvite_rtt.py", WORKING_DIR+"/A_PARTY_STAT.log"])</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+ ret_A = subprocess.call([WORKING_DIR + "/check_reinvite_rtt.py", sippA_statfile.name])</span><br><span> if (ret_A != 0):</span><br><span style="color: hsl(0, 100%, 40%);">- logger.debug("Slow ReInvite Detected!")</span><br><span style="color: hsl(0, 100%, 40%);">- return 1</span><br><span style="color: hsl(120, 100%, 40%);">+ logger.debug("Slow ReInvite Detected!")</span><br><span style="color: hsl(120, 100%, 40%);">+ return 1</span><br><span> </span><br><span> return 0</span><br><span> </span><br><span> if __name__ == "__main__":</span><br><span> sys.exit(main() or 0)</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>diff --git a/tests/fax/pjsip/t38_fast_reject/sipp/A_PARTY.xml b/tests/fax/pjsip/t38_fast_reject/sipp/A_PARTY.xml</span><br><span>index 118d2f9..4c350b8 100644</span><br><span>--- a/tests/fax/pjsip/t38_fast_reject/sipp/A_PARTY.xml</span><br><span>+++ b/tests/fax/pjsip/t38_fast_reject/sipp/A_PARTY.xml</span><br><span>@@ -1,153 +1,136 @@</span><br><span> <?xml version="1.0" encoding="ISO-8859-1" ?></span><br><span> <!DOCTYPE scenario SYSTEM "sipp.dtd"></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-<scenario name="T38 REINVTE"></span><br><span style="color: hsl(0, 100%, 40%);">- <send retrans="500"></span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+<scenario name="T38 REINVITE UAC"></span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: <sip:390415094280@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: <sip:[service]@[remote_ip]:[remote_port]></span><br><span style="color: hsl(120, 100%, 40%);">+ Call-ID: [call_id]</span><br><span style="color: hsl(120, 100%, 40%);">+ Supported: rel1xx,timer,replaces</span><br><span style="color: hsl(120, 100%, 40%);">+ Min-SE: 181</span><br><span style="color: hsl(120, 100%, 40%);">+ User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(120, 100%, 40%);">+ Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 101 INVITE</span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forwards: 69</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:390415094280@[local_ip]:[local_port]></span><br><span style="color: hsl(120, 100%, 40%);">+ Expires: 180</span><br><span style="color: hsl(120, 100%, 40%);">+ Allow-Events: telephone-event</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Type: application/sdp</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0</span><br><span style="color: hsl(0, 100%, 40%);">- Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(0, 100%, 40%);">- From: <sip:390415094280@[local_ip]:[local_port]>;tag=[pid]SIPpTag00[call_number]</span><br><span style="color: hsl(0, 100%, 40%);">- To: <sip:[service]@[remote_ip]:[remote_port]></span><br><span style="color: hsl(0, 100%, 40%);">- Call-ID: [call_id]</span><br><span style="color: hsl(0, 100%, 40%);">- Supported: rel1xx,timer,replaces</span><br><span style="color: hsl(0, 100%, 40%);">- Min-SE: 181</span><br><span style="color: hsl(0, 100%, 40%);">- User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(0, 100%, 40%);">- Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER</span><br><span style="color: hsl(0, 100%, 40%);">- CSeq: 101 INVITE</span><br><span style="color: hsl(0, 100%, 40%);">- Max-Forwards: 69</span><br><span style="color: hsl(0, 100%, 40%);">- Contact: <sip:390415094280@[local_ip]:[local_port]></span><br><span style="color: hsl(0, 100%, 40%);">- Expires: 180</span><br><span style="color: hsl(0, 100%, 40%);">- Allow-Events: telephone-event</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Type: application/sdp</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: [len]</span><br><span style="color: hsl(0, 100%, 40%);">- </span><br><span style="color: hsl(0, 100%, 40%);">- v=0</span><br><span style="color: hsl(0, 100%, 40%);">- o=CiscoSystemsSIP-GW-UserAgent 9624 5279 IN IP4 [local_ip]</span><br><span style="color: hsl(0, 100%, 40%);">- s=SIP Call</span><br><span style="color: hsl(0, 100%, 40%);">- c=IN IP4 [media_ip]</span><br><span style="color: hsl(0, 100%, 40%);">- t=0 0</span><br><span style="color: hsl(0, 100%, 40%);">- m=audio 9000 RTP/AVP 0 18 101</span><br><span style="color: hsl(0, 100%, 40%);">- c=IN IP[local_ip_type] [local_ip]</span><br><span style="color: hsl(0, 100%, 40%);">- a=rtpmap:101 telephone-event/101</span><br><span style="color: hsl(120, 100%, 40%);">+ v=0</span><br><span style="color: hsl(120, 100%, 40%);">+ o=CiscoSystemsSIP-GW-UserAgent 9624 5279 IN IP4 [local_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ s=SIP Call</span><br><span style="color: hsl(120, 100%, 40%);">+ c=IN IP4 [media_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ t=0 0</span><br><span style="color: hsl(120, 100%, 40%);">+ m=audio 9000 RTP/AVP 0 18 101</span><br><span style="color: hsl(120, 100%, 40%);">+ c=IN IP[local_ip_type] [local_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ a=rtpmap:101 telephone-event/101</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ]]></span><br><span style="color: hsl(0, 100%, 40%);">- </send></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="100" optional="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="100"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="180" optional="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="183" optional="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="100" optional="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="200" rrs="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ <action></span><br><span style="color: hsl(120, 100%, 40%);">+ <ereg regexp="[[:punct:]](.*)[[:punct:]]" search_in="hdr" header="Contact:" check_it="true" assign_to="6,1" /></span><br><span style="color: hsl(120, 100%, 40%);">+ <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="2" /></span><br><span style="color: hsl(120, 100%, 40%);">+ <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="3" /></span><br><span style="color: hsl(120, 100%, 40%);">+ <log message="Log to avoid the problem of not using $6 [$6]"/></span><br><span style="color: hsl(120, 100%, 40%);">+ </action></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="100" optional="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="180" optional="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="183" optional="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="200" rrs="true"></span><br><span style="color: hsl(0, 100%, 40%);">- <action></span><br><span style="color: hsl(0, 100%, 40%);">- <ereg regexp="[[:punct:]](.*)[[:punct:]]" search_in="hdr" header="Contact:" check_it="true" assign_to="6,1" /></span><br><span style="color: hsl(0, 100%, 40%);">- <ereg regexp=".*" search_in="hdr" header="From:" check_it="true" assign_to="2" /></span><br><span style="color: hsl(0, 100%, 40%);">- <ereg regexp=".*" search_in="hdr" header="To:" check_it="true" assign_to="3" /></span><br><span style="color: hsl(0, 100%, 40%);">- <log message="Log to avoid the problem of not using $6 [$6]"/></span><br><span style="color: hsl(0, 100%, 40%);">- </action></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <send></span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ACK [next_url] SIP/2.0</span><br><span style="color: hsl(0, 100%, 40%);">- [routes]</span><br><span style="color: hsl(0, 100%, 40%);">- Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(0, 100%, 40%);">- From: [$2]</span><br><span style="color: hsl(0, 100%, 40%);">- To: [$3]</span><br><span style="color: hsl(0, 100%, 40%);">- Call-ID: [call_id]</span><br><span style="color: hsl(0, 100%, 40%);">- Max-Forwards: 69</span><br><span style="color: hsl(0, 100%, 40%);">- CSeq: 101 ACK</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: [len]</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ]]></span><br><span style="color: hsl(0, 100%, 40%);">- </send></span><br><span style="color: hsl(120, 100%, 40%);">+ <send crlf="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ ACK [next_url] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ [routes]</span><br><span style="color: hsl(120, 100%, 40%);">+ Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: [$2]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: [$3]</span><br><span style="color: hsl(120, 100%, 40%);">+ Call-ID: [call_id]</span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forwards: 69</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 101 ACK</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span> </span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <!--Send the T38 REINVITE --></span><br><span style="color: hsl(0, 100%, 40%);">- <send retrans="500" start_rtd="reinvite"></span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ <!--Send the T38 REINVITE --></span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500" start_rtd="reinvite"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ INVITE [$1] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: [$2]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: [$3]</span><br><span style="color: hsl(120, 100%, 40%);">+ Call-ID: [call_id]</span><br><span style="color: hsl(120, 100%, 40%);">+ User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 102 INVITE</span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forwards: 69</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:390415094280@[local_ip]:[local_port]></span><br><span style="color: hsl(120, 100%, 40%);">+ Allow-Events: telephone-event</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Type: application/sdp</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- INVITE [$1] SIP/2.0</span><br><span style="color: hsl(0, 100%, 40%);">- Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(0, 100%, 40%);">- From: [$2]</span><br><span style="color: hsl(0, 100%, 40%);">- To: [$3]</span><br><span style="color: hsl(0, 100%, 40%);">- Call-ID: [call_id]</span><br><span style="color: hsl(0, 100%, 40%);">- User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(0, 100%, 40%);">- CSeq: 102 INVITE</span><br><span style="color: hsl(0, 100%, 40%);">- Max-Forwards: 69</span><br><span style="color: hsl(0, 100%, 40%);">- Contact: <sip:390415094280@[local_ip]:[local_port]></span><br><span style="color: hsl(0, 100%, 40%);">- Allow-Events: telephone-event</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Type: application/sdp</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: [len]</span><br><span style="color: hsl(0, 100%, 40%);">- </span><br><span style="color: hsl(0, 100%, 40%);">- v=0</span><br><span style="color: hsl(0, 100%, 40%);">- o=CiscoSystemsSIP-GW-UserAgent 9624 5280 IN IP4 [local_ip]</span><br><span style="color: hsl(0, 100%, 40%);">- s=Asterisk PBX 1.6.2.0</span><br><span style="color: hsl(0, 100%, 40%);">- c=IN IP[local_ip_type] [local_ip]</span><br><span style="color: hsl(0, 100%, 40%);">- t=0 0</span><br><span style="color: hsl(0, 100%, 40%);">- m=image 4389 udptl t38</span><br><span style="color: hsl(0, 100%, 40%);">- a=T38FaxVersion:0</span><br><span style="color: hsl(0, 100%, 40%);">- a=T38MaxBitRate:14400</span><br><span style="color: hsl(0, 100%, 40%);">- a=T38FaxRateManagement:transferredTCF</span><br><span style="color: hsl(0, 100%, 40%);">- a=T38FaxMaxDatagram:1400</span><br><span style="color: hsl(0, 100%, 40%);">- a=T38FaxUdpEC:t38UDPRedundancy</span><br><span style="color: hsl(120, 100%, 40%);">+ v=0</span><br><span style="color: hsl(120, 100%, 40%);">+ o=CiscoSystemsSIP-GW-UserAgent 9624 5280 IN IP4 [local_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ s=Asterisk PBX 1.6.2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ c=IN IP[local_ip_type] [local_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ t=0 0</span><br><span style="color: hsl(120, 100%, 40%);">+ m=image 4389 udptl t38</span><br><span style="color: hsl(120, 100%, 40%);">+ a=T38FaxVersion:0</span><br><span style="color: hsl(120, 100%, 40%);">+ a=T38MaxBitRate:14400</span><br><span style="color: hsl(120, 100%, 40%);">+ a=T38FaxRateManagement:transferredTCF</span><br><span style="color: hsl(120, 100%, 40%);">+ a=T38FaxMaxDatagram:1400</span><br><span style="color: hsl(120, 100%, 40%);">+ a=T38FaxUdpEC:t38UDPRedundancy</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ]]></span><br><span style="color: hsl(0, 100%, 40%);">- </send></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="100" optional="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="100" optional="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="488" rtd="reinvite"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="488" rtd="reinvite" crlf="true"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(120, 100%, 40%);">+ <send crlf="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ ACK [$1] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: [$2]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: [$3]</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 102 ACK</span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forwards: 69</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: 0</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- <send></span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ <!-- Wait to see if Asterisk drops the call after rejecting the T.38 request --></span><br><span style="color: hsl(120, 100%, 40%);">+ <pause milliseconds="50000" crlf="true" /></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ACK [$1] SIP/2.0</span><br><span style="color: hsl(0, 100%, 40%);">- Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(0, 100%, 40%);">- [last_Call-ID:]</span><br><span style="color: hsl(0, 100%, 40%);">- From: [$2]</span><br><span style="color: hsl(0, 100%, 40%);">- To: [$3]</span><br><span style="color: hsl(0, 100%, 40%);">- CSeq: 102 ACK</span><br><span style="color: hsl(0, 100%, 40%);">- Max-Forwards: 69</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: 0</span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+ BYE [$1] SIP/2.0</span><br><span style="color: hsl(120, 100%, 40%);">+ Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(120, 100%, 40%);">+ From: [$2]</span><br><span style="color: hsl(120, 100%, 40%);">+ To: [$3]</span><br><span style="color: hsl(120, 100%, 40%);">+ Call-ID: [call_id]</span><br><span style="color: hsl(120, 100%, 40%);">+ User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(120, 100%, 40%);">+ Max-Forwards: 69</span><br><span style="color: hsl(120, 100%, 40%);">+ CSeq: 104 BYE</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: 0</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- ]]></span><br><span style="color: hsl(0, 100%, 40%);">- </send></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <pause milliseconds="50000" /></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <send retrans="500"></span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- BYE [$1] SIP/2.0</span><br><span style="color: hsl(0, 100%, 40%);">- Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch]</span><br><span style="color: hsl(0, 100%, 40%);">- From: [$2]</span><br><span style="color: hsl(0, 100%, 40%);">- To: [$3]</span><br><span style="color: hsl(0, 100%, 40%);">- Call-ID: [call_id]</span><br><span style="color: hsl(0, 100%, 40%);">- User-Agent: Cisco-SIPGateway/IOS-12.x</span><br><span style="color: hsl(0, 100%, 40%);">- Max-Forwards: 69</span><br><span style="color: hsl(0, 100%, 40%);">- CSeq: 104 BYE</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: 0</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- ]]></span><br><span style="color: hsl(0, 100%, 40%);">- </send></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">- <recv response="200"></span><br><span style="color: hsl(0, 100%, 40%);">- </recv></span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+ <recv response="200"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span> </scenario></span><br><span> </span><br><span>diff --git a/tests/fax/pjsip/t38_fast_reject/sipp/B_PARTY.xml b/tests/fax/pjsip/t38_fast_reject/sipp/B_PARTY.xml</span><br><span>index 3262911..eb84efd 100644</span><br><span>--- a/tests/fax/pjsip/t38_fast_reject/sipp/B_PARTY.xml</span><br><span>+++ b/tests/fax/pjsip/t38_fast_reject/sipp/B_PARTY.xml</span><br><span>@@ -1,87 +1,79 @@</span><br><span style="color: hsl(0, 100%, 40%);">-<?xml version="1.0" encoding="ISO-8859-1" ?>
</span><br><span style="color: hsl(0, 100%, 40%);">-<!DOCTYPE scenario SYSTEM "sipp.dtd">
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<scenario name="T38 REINVITE">
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<recv request="INVITE" crlf="true" rrs="true">
</span><br><span style="color: hsl(0, 100%, 40%);">-</recv>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<send>
</span><br><span style="color: hsl(0, 100%, 40%);">-<![CDATA[
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-SIP/2.0 100 Trying
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_Via:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_Call-ID:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_From:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_To:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_CSeq:]
</span><br><span style="color: hsl(0, 100%, 40%);">-Content-Length: 0
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-]]>
</span><br><span style="color: hsl(0, 100%, 40%);">-</send>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<send retrans="500">
</span><br><span style="color: hsl(0, 100%, 40%);">-<![CDATA[
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-SIP/2.0 200 OK
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_Via:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_Call-ID:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_From:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_To:];tag=[call_number]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_CSeq:]
</span><br><span style="color: hsl(0, 100%, 40%);">-[last_Record-Route]
</span><br><span style="color: hsl(0, 100%, 40%);">-Contact: <sip:bansallaptop@[local_ip]:[local_port];user=phone>
</span><br><span style="color: hsl(0, 100%, 40%);">-Content-Type: application/sdp
</span><br><span style="color: hsl(0, 100%, 40%);">-Content-Length: [len]
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-v=0
</span><br><span style="color: hsl(0, 100%, 40%);">-o=HuaweiSoftX3000 6644052 6644052 IN IP[local_ip_type] [local_ip]
</span><br><span style="color: hsl(0, 100%, 40%);">-s=Sip Call
</span><br><span style="color: hsl(0, 100%, 40%);">-c=IN IP[media_ip_type] [media_ip]
</span><br><span style="color: hsl(0, 100%, 40%);">-t=0 0
</span><br><span style="color: hsl(0, 100%, 40%);">-m=audio 8000 RTP/AVP 0 100 101
</span><br><span style="color: hsl(0, 100%, 40%);">-a=rtpmap:0 PCMU/8000
</span><br><span style="color: hsl(0, 100%, 40%);">-a=rtpmap:100 NSE/8000
</span><br><span style="color: hsl(0, 100%, 40%);">-a=rtpmap:101 telephone-event/101
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-]]>
</span><br><span style="color: hsl(0, 100%, 40%);">-</send>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<recv request="ACK"
</span><br><span style="color: hsl(0, 100%, 40%);">- rtd="true"
</span><br><span style="color: hsl(0, 100%, 40%);">- crlf="true">
</span><br><span style="color: hsl(0, 100%, 40%);">-</recv>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<recv request="BYE">
</span><br><span style="color: hsl(0, 100%, 40%);">-</recv>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<send>
</span><br><span style="color: hsl(0, 100%, 40%);">- <![CDATA[
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">- SIP/2.0 200 OK
</span><br><span style="color: hsl(0, 100%, 40%);">- [last_Via:]
</span><br><span style="color: hsl(0, 100%, 40%);">- [last_From:]
</span><br><span style="color: hsl(0, 100%, 40%);">- [last_To:]
</span><br><span style="color: hsl(0, 100%, 40%);">- [last_Call-ID:]
</span><br><span style="color: hsl(0, 100%, 40%);">- [last_CSeq:]
</span><br><span style="color: hsl(0, 100%, 40%);">- Contact: <sip:[local_ip]:[local_port];transport=[transport]>
</span><br><span style="color: hsl(0, 100%, 40%);">- Content-Length: 0
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">- ]]>
</span><br><span style="color: hsl(0, 100%, 40%);">-</send>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<!-- Keep the call open for a while in case the 200 is lost to be -->
</span><br><span style="color: hsl(0, 100%, 40%);">-<!-- able to retransmit it if we receive the BYE again. -->
</span><br><span style="color: hsl(0, 100%, 40%);">-<pause milliseconds="4000"/>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<!-- definition of the response time repartition table (unit is ms) -->
</span><br><span style="color: hsl(0, 100%, 40%);">-<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-<!-- definition of the call length repartition table (unit is ms) -->
</span><br><span style="color: hsl(0, 100%, 40%);">-<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(0, 100%, 40%);">-</scenario>
</span><br><span style="color: hsl(0, 100%, 40%);">-
</span><br><span style="color: hsl(120, 100%, 40%);">+<?xml version="1.0" encoding="ISO-8859-1" ?></span><br><span style="color: hsl(120, 100%, 40%);">+<!DOCTYPE scenario SYSTEM "sipp.dtd"></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+<scenario name="T38 REINVITE UAS"></span><br><span style="color: hsl(120, 100%, 40%);">+ <recv request="INVITE"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <send></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIP/2.0 100 Trying</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Via:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_From:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_To:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_CSeq:]</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: 0</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <send retrans="500"></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIP/2.0 200 OK</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Via:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_From:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_To:];tag=[call_number]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_CSeq:]</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:bansallaptop@[local_ip]:[local_port];user=phone></span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Type: application/sdp</span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: [len]</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ v=0</span><br><span style="color: hsl(120, 100%, 40%);">+ o=HuaweiSoftX3000 6644052 6644052 IN IP[local_ip_type] [local_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ s=Sip Call</span><br><span style="color: hsl(120, 100%, 40%);">+ c=IN IP[media_ip_type] [media_ip]</span><br><span style="color: hsl(120, 100%, 40%);">+ t=0 0</span><br><span style="color: hsl(120, 100%, 40%);">+ m=audio 8000 RTP/AVP 0 100 101</span><br><span style="color: hsl(120, 100%, 40%);">+ a=rtpmap:0 PCMU/8000</span><br><span style="color: hsl(120, 100%, 40%);">+ a=rtpmap:100 NSE/8000</span><br><span style="color: hsl(120, 100%, 40%);">+ a=rtpmap:101 telephone-event/101</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <recv request="ACK" crlf="true"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <recv request="BYE"></span><br><span style="color: hsl(120, 100%, 40%);">+ </recv></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <send></span><br><span style="color: hsl(120, 100%, 40%);">+ <![CDATA[</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ SIP/2.0 200 OK</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Via:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_From:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_To:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_Call-ID:]</span><br><span style="color: hsl(120, 100%, 40%);">+ [last_CSeq:]</span><br><span style="color: hsl(120, 100%, 40%);">+ Contact: <sip:[local_ip]:[local_port];transport=[transport]></span><br><span style="color: hsl(120, 100%, 40%);">+ Content-Length: 0</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ ]]></span><br><span style="color: hsl(120, 100%, 40%);">+ </send></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <!-- Keep the call open for a while in case the 200 is lost to be --></span><br><span style="color: hsl(120, 100%, 40%);">+ <!-- able to retransmit it if we receive the BYE again. --></span><br><span style="color: hsl(120, 100%, 40%);">+ <pause milliseconds="4000"/></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <!-- definition of the response time repartition table (unit is ms) --></span><br><span style="color: hsl(120, 100%, 40%);">+ <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+ <!-- definition of the call length repartition table (unit is ms) --></span><br><span style="color: hsl(120, 100%, 40%);">+ <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/></span><br><span style="color: hsl(120, 100%, 40%);">+</scenario></span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>diff --git a/tests/fax/pjsip/t38_fast_reject/test-config.yaml b/tests/fax/pjsip/t38_fast_reject/test-config.yaml</span><br><span>index 90eddc0..22db7fd 100644</span><br><span>--- a/tests/fax/pjsip/t38_fast_reject/test-config.yaml</span><br><span>+++ b/tests/fax/pjsip/t38_fast_reject/test-config.yaml</span><br><span>@@ -1,12 +1,22 @@</span><br><span> testinfo:</span><br><span style="color: hsl(0, 100%, 40%);">- summary: 'Test that asterisk does not drop the call after it rejects the T38 reinvite from the carrier side because customer does not suport it. It also makes sure that the rejection happends quickly'</span><br><span style="color: hsl(120, 100%, 40%);">+ summary: 'Do not drop call after T38 rejected because callee does not suport it. Checks the rejection happends quickly'</span><br><span> description: |</span><br><span style="color: hsl(0, 100%, 40%);">- 'Test that asterisk does not drop the call after it rejects the T38 reinvite from the carrier side because customer does not suport it. I also measures the 488 response time and make sure it happends quckly'</span><br><span style="color: hsl(120, 100%, 40%);">+ 'Test that asterisk does not drop the call after it rejects the T38</span><br><span style="color: hsl(120, 100%, 40%);">+ reinvite from the carrier side because customer does not suport it.</span><br><span style="color: hsl(120, 100%, 40%);">+ The 488 response time is measured to make sure it happends quckly.'</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+# You might think that this test can easily be converted to a sipp.SIPpTestCase</span><br><span style="color: hsl(120, 100%, 40%);">+# pluggable test. After all, SIPp has this timeout attribute feature to required</span><br><span style="color: hsl(120, 100%, 40%);">+# <recv> messages. Unfortunately it didn't abort the call and exit with an error</span><br><span style="color: hsl(120, 100%, 40%);">+# code when the 488 came in after the timeout. In fact it didn't seem to make</span><br><span style="color: hsl(120, 100%, 40%);">+# any difference in the SIPp scenario behavior.</span><br><span> </span><br><span> properties:</span><br><span> dependencies:</span><br><span> - python : 'twisted'</span><br><span> - python : 'starpy'</span><br><span style="color: hsl(120, 100%, 40%);">+ - asterisk : 'chan_pjsip'</span><br><span style="color: hsl(120, 100%, 40%);">+ - asterisk : 'app_dial'</span><br><span> </span><br><span> tags:</span><br><span> - PJSIP</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9788">change 9788</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/9788"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: testsuite </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ic8e4d71f841627479c943c3b8a25e4776534258d </div>
<div style="display:none"> Gerrit-Change-Number: 9788 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>