~ubuntu-branches/ubuntu/saucy/sflphone/saucy-proposed

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-call/301_ice_public_a.py

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20130630114056-i0rz9ibang07g7qr
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 301_ice_public_a.py 2392 2008-12-22 18:54:58Z bennylp $
 
2
#
 
3
from inc_cfg import *
 
4
 
 
5
# Note:
 
6
#       - need --dis-codec to make INVITE packet less than typical MTU
 
7
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 --stun-srv stun.pjsip.org  --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g"
 
8
 
 
9
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 --stun-srv stun.pjsip.org --use-ice --use-compact-form --max-calls 1 --dis-codec=i --dis-codec=s --dis-codec=g"
 
10
 
 
11
test_param = TestParam(
 
12
                "ICE via public internet",
 
13
                [
 
14
                        InstanceParam(  "callee", uas_args,
 
15
                                        uri="<sip:test1@pjsip.org>",
 
16
                                        have_reg=True, have_publish=False),
 
17
                        InstanceParam(  "caller", uac_args,
 
18
                                        uri="<sip:test2@pjsip.org>",
 
19
                                        have_reg=True, have_publish=False),
 
20
                ]
 
21
                )