| 1 |
|
| 2 |
from inc_cfg import * |
| 3 |
|
| 4 |
|
| 5 |
test_param = TestParam( |
| 6 |
"Presence with PUBLISH", |
| 7 |
[ |
| 8 |
InstanceParam( "ua1", |
| 9 |
"--null-audio"+ |
| 10 |
" --id=\"<sip:[email protected]>\""+ |
| 11 |
" --registrar=sip:sip.pjsip.org" + |
| 12 |
" --username=test1" + |
| 13 |
" --password=test1" + |
| 14 |
" --realm=*" + |
| 15 |
" --proxy=\"sip:sip.pjsip.org;lr\"" + |
| 16 |
" --publish", |
| 17 |
uri="<sip:[email protected]>", |
| 18 |
have_reg=True, |
| 19 |
have_publish=True), |
| 20 |
InstanceParam( "ua2", |
| 21 |
"--null-audio"+ |
| 22 |
" --id=\"<sip:[email protected]>\""+ |
| 23 |
" --registrar=sip:sip.pjsip.org" + |
| 24 |
" --username=test2" + |
| 25 |
" --password=test2" + |
| 26 |
" --realm=*" + |
| 27 |
" --proxy=\"sip:sip.pjsip.org;lr\"" + |
| 28 |
" --publish", |
| 29 |
uri="<sip:[email protected]>", |
| 30 |
have_reg=True, |
| 31 |
have_publish=True), |
| 32 |
] |
| 33 |
) |
| 34 |
|