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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-sendto/360_non_sip_uri.py

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: 360_non_sip_uri.py 2392 2008-12-22 18:54:58Z bennylp $
2
 
import inc_sip as sip
3
 
import inc_sdp as sdp
4
 
 
5
 
# Some non-SIP URI's in Contact header
6
 
#
7
 
complete_msg = \
8
 
"""INVITE sip:localhost SIP/2.0
9
 
Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
10
 
Max-Forwards: 70
11
 
From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
12
 
To: <sip:localhost>
13
 
Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
14
 
CSeq: 0 INVITE
15
 
Contact: mailto:dontspam@pjsip.org
16
 
Contact: <mailto:dontspam@pjsip.org>
17
 
Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
18
 
Contact: <sip:localhost>
19
 
User-Agent: PJSUA v0.9.0-trunk/win32
20
 
Content-Length: 0
21
 
"""
22
 
 
23
 
 
24
 
sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
25
 
                            "--null-audio --auto-answer 200",
26
 
                            "", 200, complete_msg=complete_msg)