~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.2.1/tests/pjsua/scripts-call/301_ice_public_b.py

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 301_ice_public_b.py 2392 2008-12-22 18:54:58Z bennylp $
 
2
#
 
3
from inc_cfg import *
 
4
 
 
5
# This test:
 
6
#   to make call with ICE but without STUN.
 
7
 
 
8
# Note:
 
9
#       - need --dis-codec to make INVITE packet less than typical MTU
 
10
uas_args = "--null-audio --id=\"<sip:test1@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test1 --password=test1  --realm=pjsip.org  --proxy=\"sip:sip.pjsip.org;lr\"  --rtp-port 0 --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g --log-file callee.log"
 
11
 
 
12
uac_args = "--null-audio --id=\"<sip:test2@pjsip.org>\" --registrar=sip:sip.pjsip.org --username=test2 --password=test2 --realm=pjsip.org --proxy=\"sip:sip.pjsip.org;lr\" --rtp-port 0 --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g --log-file caller.log"
 
13
 
 
14
test_param = TestParam(
 
15
                "ICE via public internet with no STUN",
 
16
                [
 
17
                        InstanceParam(  "callee", uas_args, 
 
18
                                        uri="<sip:test1@pjsip.org>",
 
19
                                        have_reg=True, have_publish=False),
 
20
                        InstanceParam(  "caller", uac_args,
 
21
                                        uri="<sip:test2@pjsip.org>",
 
22
                                        have_reg=True, have_publish=False),
 
23
                ]
 
24
                )
 
25