Hello All,<div><br></div><div>I am using SIPPTest class to write my own test cases in the asterisk testsuite. In most of the cases, run-test looks as follows</div><div><br></div><div>&lt;&lt;&lt;&lt;&lt;&lt;</div><div><br>
</div><div><div>SIPP_SCENARIOS = [</div><div>    {&#39;scenario&#39; : &#39;uas.xml&#39;,},</div><div>    {&#39;scenario&#39; : &#39;uac.xml&#39;,},</div><div>    </div><div>]</div><div><br></div><div><br></div><div>def main():</div>
<div>    test = SIPpTest(WORKING_DIR, TEST_DIR, SIPP_SCENARIOS)</div><div>    reactor.run()</div><div>    if not test.passed:</div><div>        return 1</div><div><br></div><div>    return 0</div></div><div><br></div><div>
&gt;&gt;&gt;&gt;&gt;&gt;</div><div><br></div><div>All of my cases need Asterisk to go to the diaplan, but i have observed that somtimes, my SIPP test cases start running before asterisk has even loaded the dialplan, which causes testcas to fail.</div>
<div><br></div><div>Is there any work around for this situation.</div><div><br></div><div>Thanks in advance for your replies.</div><div><br></div><div>Regards,</div><div>Nitesh Bansal</div>