~ubuntu-branches/debian/sid/sflphone/sid

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-02 18:04:11 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20130602180411-3rcpy8c1zdlo8y0s
Tags: 1.2.2-1
* New upstream release
* changeset_rb68857a4b485b7d43f92714cd5792595ff895f82.diff - fix QTest
* pjproject ./configure --disable-sound --disable-video

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: 124_sdp_with_unknown_static_unknown_transport.py 2081 2008-06-27 21:59:15Z bennylp $
2
 
import inc_sip as sip
3
 
import inc_sdp as sdp
4
 
 
5
 
sdp = \
6
 
"""
7
 
v=0
8
 
o=- 0 0 IN IP4 127.0.0.1
9
 
s=-
10
 
c=IN IP4 127.0.0.1
11
 
t=0 0
12
 
m=audio 5000 RTP/AVP 0
13
 
m=xapplicationx 4000 XRTPX/XAVPX 54
14
 
"""
15
 
 
16
 
pjsua_args = "--null-audio --auto-answer 200"
17
 
extra_headers = ""
18
 
include = ["Content-Type: application/sdp",     # response must include SDP
19
 
           "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 XRTPX/XAVPX "
20
 
           ]
21
 
exclude = []
22
 
 
23
 
sendto_cfg = sip.SendtoCfg("Mixed audio and unknown and with unknown transport", 
24
 
                           pjsua_args, sdp, 200,
25
 
                           extra_headers=extra_headers,
26
 
                           resp_inc=include, resp_exc=exclude) 
27