~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-pres/200_publish.py

  • Committer: Jackson Doak
  • Date: 2013-07-10 21:04:46 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: noskcaj@ubuntu.com-20130710210446-y8f587vza807icr9
Properly merged from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 200_publish.py 2028 2008-06-16 13:04:44Z bennylp $
 
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
                )