[asterisk-commits] mnicholson: testsuite/asterisk/trunk r247 - /asterisk/trunk/tests/originate-c...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 23 11:13:35 CDT 2010
Author: mnicholson
Date: Fri Apr 23 11:13:32 2010
New Revision: 247
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=247
Log:
Sleep 1 second after starting sipp
Modified:
asterisk/trunk/tests/originate-cdr-disposition/test.lua
Modified: asterisk/trunk/tests/originate-cdr-disposition/test.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/originate-cdr-disposition/test.lua?view=diff&rev=247&r1=246&r2=247
==============================================================================
--- asterisk/trunk/tests/originate-cdr-disposition/test.lua (original)
+++ asterisk/trunk/tests/originate-cdr-disposition/test.lua Fri Apr 23 11:13:32 2010
@@ -18,7 +18,7 @@
host = host or "127.0.0.1"
port = port or "5060"
local inf = "data.csv"
- return proc.exec_io("sipp",
+ local p = proc.exec_io("sipp",
"127.0.0.1",
"-m", "1",
"-sf", scenario,
@@ -31,6 +31,9 @@
"-set", "user", name,
"-set", "file", inf
)
+
+ posix.sleep(1)
+ return p
end
function sipp_exec_and_wait(scenario, name, host, port)
More information about the asterisk-commits
mailing list