From f3ab456a17af1c89a6e3be4d20c5944853df1cb0 Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Mon, 7 Jan 2013 14:24:28 -0600 Subject: Import pjproject-2.0.1 --- tests/pjsua/scripts-pres/200_publish.py | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 tests/pjsua/scripts-pres/200_publish.py (limited to 'tests/pjsua/scripts-pres/200_publish.py') 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=\"\""+ + " --registrar=sip:sip.pjsip.org" + + " --username=test1" + + " --password=test1" + + " --realm=*" + + " --proxy=\"sip:sip.pjsip.org;lr\"" + + " --publish", + uri="", + have_reg=True, + have_publish=True), + InstanceParam( "ua2", + "--null-audio"+ + " --id=\"\""+ + " --registrar=sip:sip.pjsip.org" + + " --username=test2" + + " --password=test2" + + " --realm=*" + + " --proxy=\"sip:sip.pjsip.org;lr\"" + + " --publish", + uri="", + have_reg=True, + have_publish=True), + ] + ) + -- cgit v1.2.3