diff options
author | David M. Lee <dlee@digium.com> | 2013-01-07 14:24:28 -0600 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-01-07 14:24:28 -0600 |
commit | f3ab456a17af1c89a6e3be4d20c5944853df1cb0 (patch) | |
tree | d00e1a332cd038a6d906a1ea0ac91e1a4458e617 /tests/pjsua/scripts-pres/200_publish.py |
Import pjproject-2.0.1
Diffstat (limited to 'tests/pjsua/scripts-pres/200_publish.py')
-rw-r--r-- | tests/pjsua/scripts-pres/200_publish.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/pjsua/scripts-pres/200_publish.py b/tests/pjsua/scripts-pres/200_publish.py new file mode 100644 index 0000000..d06b190 --- /dev/null +++ b/tests/pjsua/scripts-pres/200_publish.py @@ -0,0 +1,35 @@ +# $Id: 200_publish.py 2028 2008-06-16 13:04:44Z bennylp $ +# +from inc_cfg import * + +# Basic registration +test_param = TestParam( + "Presence with PUBLISH", + [ + InstanceParam( "ua1", + "--null-audio"+ + " --id=\"<sip:test1@pjsip.org>\""+ + " --registrar=sip:sip.pjsip.org" + + " --username=test1" + + " --password=test1" + + " --realm=*" + + " --proxy=\"sip:sip.pjsip.org;lr\"" + + " --publish", + uri="<sip:test1@pjsip.org>", + have_reg=True, + have_publish=True), + InstanceParam( "ua2", + "--null-audio"+ + " --id=\"<sip:test2@pjsip.org>\""+ + " --registrar=sip:sip.pjsip.org" + + " --username=test2" + + " --password=test2" + + " --realm=*" + + " --proxy=\"sip:sip.pjsip.org;lr\"" + + " --publish", + uri="<sip:test2@pjsip.org>", + have_reg=True, + have_publish=True), + ] + ) + |