Nanang Izzuddin | acb3e32 | 2008-06-25 18:18:32 +0000 | [diff] [blame^] | 1 | # $Id$ |
| 2 | # |
| 3 | from inc_cfg import * |
| 4 | from config_site import * |
| 5 | |
| 6 | ADD_PARAM = "" |
| 7 | |
| 8 | if (HAS_SND_DEV == 0): |
| 9 | ADD_PARAM += "--null-audio" |
| 10 | |
| 11 | # Simple call |
| 12 | test_param = TestParam( |
| 13 | "PESQ codec Speex WB", |
| 14 | [ |
| 15 | InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --auto-play-hangup"), |
| 16 | InstanceParam("UA2", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file wavs/tmp.16.wav --auto-answer 200 --auto-rec") |
| 17 | ] |
| 18 | ) |