~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-sendto/001_torture_4475_3_1_1_4.py

  • Committer: Package Import Robot
  • Author(s): Francois Marier, Francois Marier, Mark Purcell
  • Date: 2014-10-18 15:08:50 UTC
  • mfrom: (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20141018150850-2exfk34ckb15pcwi
Tags: 1.4.1-0.1
[ Francois Marier ]
* Non-maintainer upload
* New upstream release (closes: #759576, #741130)
  - debian/rules +PJPROJECT_VERSION := 2.2.1
  - add upstream patch to fix broken TLS support
  - add patch to fix pjproject regression

[ Mark Purcell ]
* Build-Depends:
  - sflphone-daemon + libavformat-dev, libavcodec-dev, libswscale-dev,
  libavdevice-dev, libavutil-dev
  - sflphone-gnome + libclutter-gtk-1.0-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 001_torture_4475_3_1_1_4.py 3712 2011-08-18 17:34:29Z nanang $
 
2
import inc_sip as sip
 
3
import inc_sdp as sdp
 
4
 
 
5
# Torture message from RFC 4475
 
6
# 3.1.1.  Valid Messages
 
7
# 3.1.1.4. Escaped Nulls in URIs
 
8
complete_msg = \
 
9
"""REGISTER sip:example.com SIP/2.0
 
10
To: sip:null-%00-null@example.com
 
11
From: sip:null-%00-null@example.com;tag=839923423
 
12
Max-Forwards: 70
 
13
Call-ID: escnull.39203ndfvkjdasfkq3w4otrq0adsfdfnavd
 
14
CSeq: 14398234 REGISTER
 
15
Via: SIP/2.0/UDP host5.example.com;rport;branch=z9hG4bKkdjuw
 
16
Contact: <sip:%00@host5.example.com>
 
17
Contact: <sip:%00%00@host5.example.com>
 
18
L:0
 
19
"""
 
20
 
 
21
 
 
22
sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.4", 
 
23
                            "--null-audio --auto-answer 200", 
 
24
                            "", 200, complete_msg=complete_msg)
 
25