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