mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
feat: add dial verb testcases (#231)
* feat: add dial verb testcases * feat: add dial verb testcases * feat: add dial verb testcases * feat: add dial verb testcases Co-authored-by: Quan HL <quanluuhoang8@gmail.com>
This commit is contained in:
@@ -24,13 +24,13 @@ obj.output = () => {
|
||||
return output;
|
||||
};
|
||||
|
||||
obj.sippUac = (file, bindAddress, from='sipp', to='16174000000') => {
|
||||
obj.sippUac = (file, bindAddress, from='sipp', to='16174000000', loop=1) => {
|
||||
const cmd = 'docker';
|
||||
const args = [
|
||||
'run', '-t', '--rm', '--net', `${network}`,
|
||||
'-v', `${__dirname}/scenarios:/tmp/scenarios`,
|
||||
'drachtio/sipp', 'sipp', '-sf', `/tmp/scenarios/${file}`,
|
||||
'-m', '1',
|
||||
'-m', loop,
|
||||
'-sleep', '250ms',
|
||||
'-nostdin',
|
||||
'-cid_str', `%u-%p@%s-${idx++}`,
|
||||
|
||||
Reference in New Issue
Block a user