summaryrefslogtreecommitdiff
path: root/tests/pjsua/scripts-sendto/155_err_sdp_bad_syntax.py
blob: d32ef3d6d7edb5cd98ba0e567833f74d5d747d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id$
import inc_sip as sip
import inc_sdp as sdp

sdp = \
"""
v=
o=
s=
c=
t=
a=
"""

pjsua_args = "--null-audio --auto-answer 200"
extra_headers = ""
include = [ "Warning: " ]	# better have Warning header
exclude = []

sendto_cfg = sip.SendtoCfg("Bad SDP syntax", pjsua_args, sdp, 400,
			   extra_headers=extra_headers,
			   resp_inc=include, resp_exc=exclude)