~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-recvfrom/235_reg_good_tel_uri_enocredential.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: 235_reg_good_tel_uri_enocredential.py 3323 2010-09-28 07:43:18Z bennylp $
 
2
import inc_sip as sip
 
3
import inc_sdp as sdp
 
4
 
 
5
pjsua = "--null-audio --id=tel:+12345 --registrar sip:127.0.0.1:$PORT"
 
6
 
 
7
req1 = sip.RecvfromTransaction("", 401,
 
8
                                include=["REGISTER sip"], 
 
9
                                exclude=["Authorization"],
 
10
                                resp_hdr=["WWW-Authenticate: Digest realm=\"python\", nonce=\"1234\""],
 
11
                                expect="PJSIP_ENOCREDENTIAL"
 
12
                          )
 
13
 
 
14
recvfrom_cfg = sip.RecvfromCfg("Failed registration with tel: URI test",
 
15
                               pjsua, [req1])