~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/500_pres_subscribe_with_bad_event.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: 500_pres_subscribe_with_bad_event.py 2273 2008-09-11 10:25:51Z bennylp $
2
 
import inc_sip as sip
3
 
import inc_sdp as sdp
4
 
 
5
 
# Ticket http://trac.pjsip.org/repos/ticket/623, based on
6
 
# http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-September/004709.html:
7
 
#
8
 
# Assertion when receiving SUBSCRIBE with non-presence Event.
9
 
complete_msg = \
10
 
"""SUBSCRIBE sip:localhost;transport=UDP SIP/2.0
11
 
Call-ID: f20e8783e764cae325dba17be4b8fe19@10.0.2.15
12
 
CSeq: 1 SUBSCRIBE
13
 
From: <sip:localhost>;tag=1710895
14
 
To: <sip:localhost>
15
 
Via: SIP/2.0/UDP localhost;rport;branch=z9hG4bKd88a.18c427d2.0
16
 
Max-Forwards: 69
17
 
Event:  message-summary
18
 
Contact: <sip:localhost>
19
 
Allow: NOTIFY, SUBSCRIBE
20
 
Content-Length: 0
21
 
 
22
 
"""
23
 
 
24
 
 
25
 
sendto_cfg = sip.SendtoCfg( "Incoming SUBSCRIBE with non presence",
26
 
                            "--null-audio",
27
 
                            "", 489, complete_msg=complete_msg)